1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/print/lprps/Makefile
Emanuel Haupt 3bb3caea80 - Support staging
- Define DOCS option
- New LIB_DEPENDS definition
2014-02-28 12:29:05 +00:00

35 lines
1.1 KiB
Makefile

# Created by: David O'Brien <obrien@FreeBSD.org>
# $FreeBSD$
PORTNAME= lprps
PORTVERSION= 2.5
CATEGORIES= print
MASTER_SITES= ftp://ftp.jclark.com/pub/lprps/
EXTRACT_SUFX= .tar.Z
MAINTAINER= hrs@FreeBSD.org
COMMENT= PostScript printer filter supporting a bidirectional serial channel
LIB_DEPENDS= libpaper.so:${PORTSDIR}/print/libpaper
PORTDOCS= INSTALL
OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC} && \
${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>