aboutsummaryrefslogtreecommitdiffstats
path: root/print/lprps
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-28 20:29:05 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-28 20:29:05 +0800
commitab5ab9b63136c4e1fe900841dcf815cdeb40115f (patch)
tree7b0011a3d7c9d9cec79f4f1d4ccc65de8f46be02 /print/lprps
parent86b1a3fc1fa0e024ddbac6bf708e1bab6243ed09 (diff)
downloadfreebsd-ports-gnome-ab5ab9b63136c4e1fe900841dcf815cdeb40115f.tar.gz
freebsd-ports-gnome-ab5ab9b63136c4e1fe900841dcf815cdeb40115f.tar.zst
freebsd-ports-gnome-ab5ab9b63136c4e1fe900841dcf815cdeb40115f.zip
- Support staging
- Define DOCS option - New LIB_DEPENDS definition
Diffstat (limited to 'print/lprps')
-rw-r--r--print/lprps/Makefile35
-rw-r--r--print/lprps/pkg-plist5
2 files changed, 20 insertions, 20 deletions
diff --git a/print/lprps/Makefile b/print/lprps/Makefile
index 26cf5688fcbf..db049b3c411d 100644
--- a/print/lprps/Makefile
+++ b/print/lprps/Makefile
@@ -10,30 +10,25 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= hrs@FreeBSD.org
COMMENT= PostScript printer filter supporting a bidirectional serial channel
-LIB_DEPENDS= paper:${PORTSDIR}/print/libpaper
+LIB_DEPENDS= libpaper.so:${PORTSDIR}/print/libpaper
PORTDOCS= INSTALL
-MAN1= psrev.1 textps.1
-MAN8= lprps.8 psif.8 psof.8
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
do-install:
- ${MKDIR} ${DATADIR}
+ @${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC} && \
- ${INSTALL_PROGRAM} textps psrev ${PREFIX}/bin && \
- ${INSTALL_PROGRAM} psif lprps psof ${PREFIX}/libexec && \
- ${INSTALL_SCRIPT} psif-text psif-ps ${PREFIX}/libexec && \
- ${INSTALL_DATA} banner.ps ${DATADIR} && \
- ${INSTALL_MAN} textps.n ${PREFIX}/man/man1/textps.1 && \
- ${INSTALL_MAN} psrev.n ${PREFIX}/man/man1/psrev.1 && \
- ${INSTALL_MAN} lprps.n ${PREFIX}/man/man8/lprps.8 && \
- ${INSTALL_MAN} psif.n ${PREFIX}/man/man8/psif.8 && \
- ${INSTALL_MAN} psof.n ${PREFIX}/man/man8/psof.8
-
-post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} textps psrev ${STAGEDIR}${PREFIX}/bin && \
+ ${INSTALL_PROGRAM} psif lprps psof ${STAGEDIR}${PREFIX}/libexec && \
+ ${INSTALL_SCRIPT} psif-text psif-ps ${STAGEDIR}${PREFIX}/libexec && \
+ ${INSTALL_DATA} banner.ps ${STAGEDIR}${DATADIR} && \
+ ${INSTALL_MAN} textps.n ${STAGEDIR}${PREFIX}/man/man1/textps.1 && \
+ ${INSTALL_MAN} psrev.n ${STAGEDIR}${PREFIX}/man/man1/psrev.1 && \
+ ${INSTALL_MAN} lprps.n ${STAGEDIR}${PREFIX}/man/man8/lprps.8 && \
+ ${INSTALL_MAN} psif.n ${STAGEDIR}${PREFIX}/man/man8/psif.8 && \
+ ${INSTALL_MAN} psof.n ${STAGEDIR}${PREFIX}/man/man8/psof.8
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/print/lprps/pkg-plist b/print/lprps/pkg-plist
index f2fd6bf97486..9a09a0d669f3 100644
--- a/print/lprps/pkg-plist
+++ b/print/lprps/pkg-plist
@@ -1,3 +1,8 @@
+man/man1/psrev.1.gz
+man/man1/textps.1.gz
+man/man8/lprps.8.gz
+man/man8/psif.8.gz
+man/man8/psof.8.gz
libexec/psif
libexec/lprps
libexec/psof