summaryrefslogtreecommitdiff
path: root/print/apsfilter/Makefile
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>2000-12-23 18:58:28 +0000
committerAndreas Klemm <andreas@FreeBSD.org>2000-12-23 18:58:28 +0000
commitf88d06dd405769b3961f4ef4a6216a08c1683141 (patch)
tree096d033ca4724e8d98eac58a8cc884416d8996f9 /print/apsfilter/Makefile
parentReturn to PORTS at F-R-E-E-B-S-D dot O-R-G. (diff)
Update old apsfilter-stable with V 6.0.0 from new stable-branch.
Notes
Notes: svn path=/head/; revision=36281
Diffstat (limited to 'print/apsfilter/Makefile')
-rw-r--r--print/apsfilter/Makefile63
1 files changed, 63 insertions, 0 deletions
diff --git a/print/apsfilter/Makefile b/print/apsfilter/Makefile
new file mode 100644
index 000000000000..e58042163a68
--- /dev/null
+++ b/print/apsfilter/Makefile
@@ -0,0 +1,63 @@
+# New ports collection makefile for: apsfilter
+# Date created: Tue Nov 14 18:29:48 MET 1995
+# Whom: Andreas Klemm <andreas@klemm.gtn.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= apsfilter
+PORTVERSION= 6.0.0
+PORTREVISION= 2
+CATEGORIES= print
+MASTER_SITES= http://www.apsfilter.org/download/
+
+MAINTAINER= andreas@FreeBSD.org
+
+.if defined(BATCH) && defined(APSFILTER_ALL)
+# Please note: this might be needed only in rare cases or for testing
+# all of apsfilters capabilities
+# ps emulator
+RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript6
+# all needed decompression utilities
+RUN_DEPENDS+= bunzip2:${PORTSDIR}/archivers/bzip2
+RUN_DEPENDS+= melt:${PORTSDIR}/archivers/freeze
+# all needed "xxx to ps" filter utilities
+RUN_DEPENDS+= a2ps:${PORTSDIR}/print/a2ps-letter
+RUN_DEPENDS+= acroread4:${PORTSDIR}/print/acroread4
+RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick
+RUN_DEPENDS+= dvips:${PORTSDIR}/print/teTeX
+RUN_DEPENDS+= html2ps:${PORTSDIR}/print/html2ps-letter
+RUN_DEPENDS+= psnup:${PORTSDIR}/print/psutils-letter
+RUN_DEPENDS+= transfig:${PORTSDIR}/print/transfig
+# all possible remote printing support
+RUN_DEPENDS+= pap:${PORTSDIR}/net/netatalk
+RUN_DEPENDS+= smbclient:${PORTSDIR}/net/samba
+.elif defined(BATCH)
+# ps emulator
+RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript6
+# most important "xxx to ps" filter utilities
+RUN_DEPENDS+= a2ps:${PORTSDIR}/print/a2ps-letter
+RUN_DEPENDS+= psnup:${PORTSDIR}/print/psutils-letter
+RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick
+.endif
+
+USE_BZIP2= yes
+WRKSRC= ${WRKDIR}/apsfilter
+SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}"
+
+# make a2ps port happy in this early stage
+PAPERSIZE?=letter
+
+.if !defined(BATCH)
+pre-configure:
+ @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
+
+post-clean:
+ @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
+
+.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
+.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
+.endif
+.endif
+
+.include <bsd.port.mk>