blob: f6df8b9615ef4697d50dd97b0b6f003e43b3806b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# New ports collection makefile for: apsfilter
# Version required: 4.9.3
# Date created: Tue Nov 14 18:29:48 MET 1995
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
# $FreeBSD$
#
DISTNAME= apsfilter-5.1.3
CATEGORIES= print
MASTER_SITES= http://www.FreeBSD.ORG/~andreas/apsfilter/download/
MAINTAINER= andreas@FreeBSD.ORG
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript55 \
html2ps:${PORTSDIR}/print/html2ps \
transfig:${PORTSDIR}/print/transfig \
cjpeg:${PORTSDIR}/graphics/jpeg \
anytopnm:${PORTSDIR}/graphics/netpbm \
bunzip2:${PORTSDIR}/archivers/bzip2 \
recode:${PORTSDIR}/converters/recode \
a2ps:${PORTSDIR}/print/a2ps-letter \
psnup:${PORTSDIR}/print/psutils-letter
USE_BZIP2= yes
WRKSRC= ${WRKDIR}/apsfilter
# make a2ps port happy in this early stage
PAPERSIZE?= letter
.if ${PAPERSIZE} != a4 && ${PAPERSIZE} != letter && ${PAPERSIZE} != letterdj
.BEGIN:
@${ECHO}
@${ECHO} "PAPERSIZE incorrect value: ${PAPERSIZE}."
@${ECHO}
@${ECHO} "Must specify PAPERSIZE as one of a4, letter, or letterdj."
@${ECHO} "letterdj allows a slightly larger margins for DeskJets."
@${FALSE}
.endif
post-install:
@${MKDIR} ${PREFIX}/apsfilter/filter
@touch ${PREFIX}/apsfilter/filter/.keep_me
@${ECHO} ">>>>> Post installation task: <<<<<"
@${ECHO} "Printer installation:"
@${ECHO} " cd ${PREFIX}/apsfilter; ./SETUP"
.include <bsd.port.mk>
|