Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Feb 97 16:35:38 +0100
From:      Jean-Marc Zucconi <jmz@cabri.obs-besancon.fr>
To:        asami@vader.cs.berkeley.edu
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:  <9702111535.AA02648@cabri.obs-besancon.fr>
In-Reply-To: <199702111056.CAA25785@silvia.HIP.Berkeley.EDU> (asami@vader.cs.berkeley.edu)

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> Satoshi Asami writes:

 >  *  > 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.

Looks good. I will try it and then update the ispell port if it
works. 

 > 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 \

Jean-Marc
 _____________________________________________________________________________
 Jean-Marc Zucconi       Observatoire de Besancon       F 25010 Besancon cedex
                   PGP Key: finger jmz@cabri.obs-besancon.fr
 =============================================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9702111535.AA02648>