From a76f8b97449ce2c77c2419a5a38cf6b38c663fb5 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Fri, 9 May 2014 00:20:52 +0000 Subject: Support stage --- print/apsfilter/Makefile | 17 ++++++----------- print/apsfilter/pkg-plist | 5 +++++ 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'print') 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 - -.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 .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 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 -- cgit v1.2.3