Date: Tue, 11 Feb 1997 02:56:27 -0800 (PST) From: asami@vader.cs.berkeley.edu (Satoshi Asami) To: jmz@cabri.obs-besancon.fr Cc: roberto@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-ports@freefall.freebsd.org Subject: Re: cvs commit: ports/misc/ispell Makefile Message-ID: <199702111056.CAA25785@silvia.HIP.Berkeley.EDU> In-Reply-To: <9702101635.AA11296@cabri.obs-besancon.fr> (message from Jean-Marc Zucconi on Mon, 10 Feb 97 17:35:18 %2B0100)
next in thread | previous in thread | raw e-mail | index | archive | help
* > and do the appropriate dance (see print/psutils/Makefile) to create * > language-specific packages. * * This not so easy, because the PLIST will be different for the 3 * packages. This means 3 (slightly) different ports unless you want to * make the packages 'by hand'. Hmm. Will the following patch help? You can define PLIST to be something other than "${PKGDIR}/PLIST" for non-default cases. Satoshi ======= Index: bsd.port.mk =================================================================== RCS file: /usr/cvs/src/share/mk/bsd.port.mk,v retrieving revision 1.249 diff -u -r1.249 bsd.port.mk --- bsd.port.mk 1997/01/25 02:45:09 1.249 +++ bsd.port.mk 1997/02/11 10:52:53 @@ -415,9 +415,11 @@ .undef NO_PACKAGE .endif +PLIST?= ${PKGDIR}/PLIST + PKG_CMD?= /usr/sbin/pkg_create .if !defined(PKG_ARGS) -PKG_ARGS= -v -c ${PKGDIR}/COMMENT -d ${PKGDIR}/DESCR -f ${PKGDIR}/PLIST -p ${PREFIX} -P "`${MAKE} package-depends|sort -u`" +PKG_ARGS= -v -c ${PKGDIR}/COMMENT -d ${PKGDIR}/DESCR -f ${PLIST} -p ${PREFIX} -P "`${MAKE} package-depends|sort -u`" .if exists(${PKGDIR}/INSTALL) PKG_ARGS+= -i ${PKGDIR}/INSTALL .endif @@ -964,7 +966,7 @@ .if !target(do-package) do-package: - @if [ -e ${PKGDIR}/PLIST ]; then \ + @if [ -e ${PLIST} ]; then \ ${ECHO_MSG} "===> Building package for ${PKGNAME}"; \ if [ -d ${PACKAGES} ]; then \ if [ ! -d ${PKGREPOSITORY} ]; then \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702111056.CAA25785>