summaryrefslogtreecommitdiff
path: root/print/apsfilter
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-05-09 00:20:52 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-05-09 00:20:52 +0000
commita76f8b97449ce2c77c2419a5a38cf6b38c663fb5 (patch)
tree1e4c6f4cbded1225d557be609706bdef3e19bc91 /print/apsfilter
parentSupport stage (diff)
Support stage
Notes
Notes: svn path=/head/; revision=353378
Diffstat (limited to 'print/apsfilter')
-rw-r--r--print/apsfilter/Makefile17
-rw-r--r--print/apsfilter/pkg-plist5
2 files changed, 11 insertions, 11 deletions
diff --git a/print/apsfilter/Makefile b/print/apsfilter/Makefile
index 2d98ff280b8e..721ddc880383 100644
--- a/print/apsfilter/Makefile
+++ b/print/apsfilter/Makefile
@@ -19,7 +19,7 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \
hpijs:${PORTSDIR}/print/hpijs
-USE_BZIP2= yes
+USES= tar:bzip2
USE_SUBMAKE= yes
WRKSRC= ${WRKDIR}/apsfilter
HAS_CONFIGURE= yes
@@ -47,14 +47,11 @@ ATALK_DESC= remote printing on AppleTalk remote printer
SAMBA_DESC= remote printing on Windows remote printer
COMPRESS_DESC= print compressed documents
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
-MAKE_ARGS= -DDOCS
+DOCS_MAKE_ARGS= -DDOCS
PORTDOCS= ANNOUNCE FAQ HOWTO-BUGREPORTS apsfilter4.png \
README.BSD handbook.html README.TeX paper
-.endif
+
+.include <bsd.port.options.mk>
.if empty(PORT_OPTIONS:MX11)
# XXX Hack. If you've done something like "-DWITHOUT_X11" on the command line
@@ -129,10 +126,8 @@ RUN_DEPENDS+= ${_DEPENDS_$D}
RUN_DEPENDS+= ${_DEPENDS_CONVERT}
.endif
-MAN1= apsfilter.1 aps2file.1 apsfilter-bug.1 apspreview.1
-MAN5= apsfilterrc.5
-
post-install:
- @${CAT} ${PKGMESSAGE}
+ ${RM} -f ${STAGEDIR}${PREFIX}/etc/apsfilter/basedir
+ ${LN} -sfn ${PREFIX}/share/apsfilter ${STAGEDIR}${PREFIX}/etc/apsfilter/basedir
.include <bsd.port.mk>
diff --git a/print/apsfilter/pkg-plist b/print/apsfilter/pkg-plist
index 4341ea0d22d3..f48f7cdf39ab 100644
--- a/print/apsfilter/pkg-plist
+++ b/print/apsfilter/pkg-plist
@@ -2,6 +2,11 @@ bin/aps2file
bin/apsfilter-bug
bin/apspreview
etc/apsfilter/basedir
+man/man1/aps2file.1.gz
+man/man1/apsfilter-bug.1.gz
+man/man1/apsfilter.1.gz
+man/man1/apspreview.1.gz
+man/man5/apsfilterrc.5.gz
%%DATADIR%%/SETUP
%%DATADIR%%/bin/apsfilter
%%DATADIR%%/bin/setup_dvips.sh