From owner-cvs-ports Tue Feb 11 02:57:44 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA14665 for cvs-ports-outgoing; Tue, 11 Feb 1997 02:57:44 -0800 (PST) Received: from dfw-ix2.ix.netcom.com (dfw-ix2.ix.netcom.com [206.214.98.2]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id CAA14650; Tue, 11 Feb 1997 02:57:17 -0800 (PST) Received: from silvia.HIP.Berkeley.EDU (wck-ca11-11.ix.netcom.com [204.31.231.171]) by dfw-ix2.ix.netcom.com (8.6.13/8.6.12) with ESMTP id CAA04474; Tue, 11 Feb 1997 02:56:42 -0800 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.8.5/8.6.9) id CAA25785; Tue, 11 Feb 1997 02:56:27 -0800 (PST) Date: Tue, 11 Feb 1997 02:56:27 -0800 (PST) Message-Id: <199702111056.CAA25785@silvia.HIP.Berkeley.EDU> 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 In-reply-to: <9702101635.AA11296@cabri.obs-besancon.fr> (message from Jean-Marc Zucconi on Mon, 10 Feb 97 17:35:18 +0100) Subject: Re: cvs commit: ports/misc/ispell Makefile From: asami@vader.cs.berkeley.edu (Satoshi Asami) Sender: owner-cvs-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk * > 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 \