Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 May 1998 10:50:46 -0600 (MDT)
From:      Brett Taylor <brett@peloton.physics.montana.edu>
To:        "Jason C. Wells" <jcwells@u.washington.edu>
Cc:        FreeBSD-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Ports: Easy way to make PLIST
Message-ID:  <Pine.BSF.3.96.980510104356.11665A-100000@peloton.physics.montana.edu>
In-Reply-To: <Pine.BSF.3.96.980509175524.7165A-100000@s8-37-26.student.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980510104356.11665A-100000>