svn commit: r353378 - head/print/apsfilter
Baptiste Daroussin
bapt at FreeBSD.org
Fri May 9 00:20:55 UTC 2014
Author: bapt
Date: Fri May 9 00:20:52 2014
New Revision: 353378
URL: http://svnweb.freebsd.org/changeset/ports/353378
QAT: https://qat.redports.org/buildarchive/r353378/
Log:
Support stage
Modified:
head/print/apsfilter/Makefile
head/print/apsfilter/pkg-plist
Modified: head/print/apsfilter/Makefile
==============================================================================
--- head/print/apsfilter/Makefile Fri May 9 00:20:48 2014 (r353377)
+++ head/print/apsfilter/Makefile Fri May 9 00:20:52 2014 (r353378)
@@ -19,7 +19,7 @@ LICENSE_PERMS= dist-mirror dist-sell pkg
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
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>
Modified: head/print/apsfilter/pkg-plist
==============================================================================
--- head/print/apsfilter/pkg-plist Fri May 9 00:20:48 2014 (r353377)
+++ head/print/apsfilter/pkg-plist Fri May 9 00:20:52 2014 (r353378)
@@ -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
More information about the svn-ports-head
mailing list