blob: 24784118f72b0106c88449d8b894dd1cce0e4ef0 (
plain) (
blame)
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
48
|
# 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>
#
# $Id: Makefile,v 1.26 1999/05/23 16:16:21 andreas Exp $
#
DISTNAME= apsfilter-5.1.0
CATEGORIES= print
MASTER_SITES= http://www.FreeBSD.ORG/~andreas/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
USE_BZIP2= yes
WRKSRC= ${WRKDIR}/apsfilter
# make a2ps port happy in this early stage
.if defined(BATCH)
@${SETENV} PAPERSIZE=letter
.endif
.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>
|