# 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 .if defined(BATCH) RUN_DEPENDS+= gs:${PORTSDIR}/print/ghostscript55 RUN_DEPENDS+= html2ps:${PORTSDIR}/print/html2ps-letter RUN_DEPENDS+= transfig:${PORTSDIR}/print/transfig RUN_DEPENDS+= cjpeg:${PORTSDIR}/graphics/jpeg RUN_DEPENDS+= anytopnm:${PORTSDIR}/graphics/netpbm RUN_DEPENDS+= bunzip2:${PORTSDIR}/archivers/bzip2 RUN_DEPENDS+= a2ps:${PORTSDIR}/print/a2ps-letter RUN_DEPENDS+= psnup:${PORTSDIR}/print/psutils-letter .endif USE_BZIP2= yes WRKSRC= ${WRKDIR}/apsfilter # make a2ps port happy in this early stage PAPERSIZE?=letter .if !defined(BATCH) 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 .endif .include