From 462a1b979ba0534b1877faa9f5afa483e301eaae Mon Sep 17 00:00:00 2001 From: Andreas Klemm Date: Thu, 25 May 2000 21:31:53 +0000 Subject: use new SCRIPTS_ENV variable latest diff --- print/apsfilter6/Makefile | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'print/apsfilter6') diff --git a/print/apsfilter6/Makefile b/print/apsfilter6/Makefile index e2194ba789c2..364531bc47fe 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) -- cgit v1.2.3