From owner-freebsd-questions Sun May 10 09:51:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA09163 for freebsd-questions-outgoing; Sun, 10 May 1998 09:51:13 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from peloton.physics.montana.edu (peloton.physics.montana.edu [153.90.192.177]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA09155 for ; Sun, 10 May 1998 09:51:09 -0700 (PDT) (envelope-from brett@peloton.physics.montana.edu) Received: from localhost (brett@localhost) by peloton.physics.montana.edu (8.8.8/8.8.7) with SMTP id KAA11704; Sun, 10 May 1998 10:50:46 -0600 (MDT) (envelope-from brett@peloton.physics.montana.edu) Date: Sun, 10 May 1998 10:50:46 -0600 (MDT) From: Brett Taylor To: "Jason C. Wells" cc: FreeBSD-questions Subject: Re: Ports: Easy way to make PLIST In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I can't quite get what the docs mean when they say use pkg_create to > create a PLIST. I was looking at 'pkg_create -O' and 'pkg_create -f' > real close and tried a couple incantations but I came up with nothing I > could make sense of. Yeah this can be difficult, especially for big ports with LOTS of files installed. Here's what I do - YMMV: - make up the port, wo/ a PLIST - touch the Makefile to make sure it is up to date - make install (pkg_registration won't be done but ....) - "find /usr/X11R6/ -newer Makefile -print > PLIST" obviously change /usr/X11R6/ to /usr/local/ if you're not doing an X based port - edit the PLIST to remove all the /usr/local/ or /usr/X11R6/ stuff, remove the directory listings (/usr/local/lib/glut) etc, add in any ldconfig's, and at the bottom add in @dirrm's to remove any newly created directories - move PLIST to pkg - make reinstall - continue testing > FWIW: 'make makesum' was a breeze. I expect making a PLIST to be this easy > too. (wishful thinking?) Yeah. :-) ********************************************************* Brett Taylor brett@peloton.physics.montana.edu http://peloton.physics.montana.edu/brett/ But Master, does not the fire need water too? Does not the mountain need the storm? - Beavis To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message