Support stage

This commit is contained in:
Baptiste Daroussin 2014-05-09 00:20:52 +00:00
parent 5249c5505a
commit a76f8b9744
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353378
2 changed files with 11 additions and 11 deletions

View File

@ -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>

View File

@ -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