Alien:...:ports(3pm)

πŸ“¦ version 0.003, in fedora 43

✨ NAME ✨

okay bestie, gather round, because this is Alien::Packages::Pkg_Info::ports β€” a little Perl module whose whole entire job is dealing with FreeBSD's Ports. that's it, that's the vibe. it's the Alien:...:ports(3pm) page from the User Contributed Perl Documentation corner of the universe and it is, lowkey, iconic. πŸ’…


πŸ¦‹ ISA πŸ¦‹

the ancestry check, the nepo baby lineage, the family tree:

Alien::Packages::Pkg_Info::ports
ISA Alien::Packages::Base

so like, it is Alien::Packages::Pkg_Info::ports and it inherits from Alien::Packages::Base. periodt. πŸ‘‘


πŸŽ€ SUBROUTINES/METHODS πŸŽ€

here's where the actual slay happens. three methods, all of them doing exactly what it says on the tin, no cap. ✨

🌸 usable 🌸

returns true when the command pkg_info could be found in the path and pkg_info -qP returns a valid release date.

so basically: is pkg_info even here, and does it actually answer back with a real release date? both boxes checked = true. that's the vibe check. 🫢

🌈 list_packages 🌈

returns the list of installed FreeBSD ports.

just... all of them. the whole collection. your port haul. πŸ’–

⭐ list_fileowners ⭐

returns the names of the ports which have installed the requested files.

you give it files, it tells you which ports own them. like a detective but make it ports. πŸ•΅οΈβ€β™€οΈβœ¨


πŸ’œ AUTHOR πŸ’œ

Jens Rehsack, "<rehsack at cpan.org>"

shoutout to the author, we love a legend. 🫢


Copyright 2010 Jens Rehsack.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

bestie this is free software β€” remix it, share it, redistribute it, just respect the terms, mwah πŸ’‹

and that's the whole page, fr fr. this was Alien:...:ports(3pm) from perl v5.42.0, dated 2025-07-25 β€” thanks for scrolling with me, ily, go install some ports πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from