# New ports collection makefile for: apsfilter # Version required: 4.9.3 # Date created: Tue Nov 14 18:29:48 MET 1995 # Whom: Andreas Klemm # # $FreeBSD$ # DISTNAME= apsfilter-5.1.3 CATEGORIES= print MASTER_SITES= http://www.FreeBSD.org/~andreas/apsfilter/download/ MAINTAINER= andreas@FreeBSD.org RUN_DEPENDS= recode:${PORTSDIR}/converters/recode USE_BZIP2= yes WRKSRC= ${WRKDIR}/apsfilter # make a2ps port happy in this early stage 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 @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc .if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc) .include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc" .endif .include