return category for a port?

Jonathan Glaschke no-html at jonathan-glaschke.de
Sun Jul 24 21:27:28 GMT 2005


Hello,

On Sun, Jul 24, 2005 at 11:01:06PM +0200, maarfree wrote:
> Hi,
> 
> I have just build /usr/ports/packages/All packages for all ports
> installed on my system with some awk and bash. Does anyone know a way to
> return the category for an installed port? I can't find any option in
> pkg_info. I would like to create the symlinks in /usr/ports/packages as
> well.
> 
> Maarten
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

Ever tried pkg_info -v?

jogla# pkg_info -v gimp-print-4.2.7_1 | grep Package\ origin
        Package origin: print/gimp-print

Why do you want to create these symlinks? FreeBSD does it for you if you tell it
to build a package. Like "portupgrade -p packagename" or "make install package
clean".

Jonathan

-- 
 | /"\   ASCII Ribbon   | Jonathan Glaschke - Lorenz-Görtz-Straße 71,
 | \ / Campaign Against | 41238 Mönchengladbach, Tel: 02166-265876
 |  X    HTML In Mail   | Mobil: 0162-3390789, ICQ: 231021883
 | / \     And News     | http://jonathan-glaschke.de/


More information about the freebsd-questions mailing list