diff options
author | andreas <andreas@FreeBSD.org> | 2000-05-25 21:31:53 +0000 |
---|---|---|
committer | andreas <andreas@FreeBSD.org> | 2000-05-25 21:31:53 +0000 |
commit | fe56db2859d246b1b16d23461b09beb2ff191b90 (patch) | |
tree | 61bdcb264b090e62e5842e741766df22eaf40564 /print | |
parent | e2e24e0a444efa376b2b16b9a67d473a6727c28d (diff) | |
download | FreeBSD-ports-fe56db2859d246b1b16d23461b09beb2ff191b90.zip FreeBSD-ports-fe56db2859d246b1b16d23461b09beb2ff191b90.tar.gz |
use new SCRIPTS_ENV variable
latest diff
Diffstat (limited to 'print')
-rw-r--r-- | print/apsfilter/Makefile | 16 | ||||
-rw-r--r-- | print/apsfilter6/Makefile | 16 |
2 files changed, 4 insertions, 28 deletions
diff --git a/print/apsfilter/Makefile b/print/apsfilter/Makefile index e2194ba..364531b 100644 --- a/print/apsfilter/Makefile +++ b/print/apsfilter/Makefile @@ -27,6 +27,7 @@ RUN_DEPENDS+= smbclient:${PORTSDIR}/net/samba USE_BZIP2= yes WRKSRC= ${WRKDIR}/apsfilter +SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" # make a2ps port happy in this early stage PAPERSIZE?=letter @@ -35,20 +36,7 @@ PAPERSIZE?=letter pre-configure: @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc -# This was copied from bsd.port.mk because a missing post-clean target -# is needed -clean: -.if !defined(NOCLEANDEPENDS) - @${MAKE} clean-depends -.endif - @${ECHO_MSG} "===> Cleaning for ${PKGNAME}" - @if [ -d ${WRKDIR} ]; then \ - if [ -w ${WRKDIR} ]; then \ - ${RM} -rf ${WRKDIR}; \ - else \ - ${ECHO_MSG} "===> ${WRKDIR} not writable, skipping"; \ - fi; \ - fi +post-clean: @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc .if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc) diff --git a/print/apsfilter6/Makefile b/print/apsfilter6/Makefile index e2194ba..364531b 100644 --- a/print/apsfilter6/Makefile +++ b/print/apsfilter6/Makefile @@ -27,6 +27,7 @@ RUN_DEPENDS+= smbclient:${PORTSDIR}/net/samba USE_BZIP2= yes WRKSRC= ${WRKDIR}/apsfilter +SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" # make a2ps port happy in this early stage PAPERSIZE?=letter @@ -35,20 +36,7 @@ PAPERSIZE?=letter pre-configure: @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc -# This was copied from bsd.port.mk because a missing post-clean target -# is needed -clean: -.if !defined(NOCLEANDEPENDS) - @${MAKE} clean-depends -.endif - @${ECHO_MSG} "===> Cleaning for ${PKGNAME}" - @if [ -d ${WRKDIR} ]; then \ - if [ -w ${WRKDIR} ]; then \ - ${RM} -rf ${WRKDIR}; \ - else \ - ${ECHO_MSG} "===> ${WRKDIR} not writable, skipping"; \ - fi; \ - fi +post-clean: @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc .if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc) |