3e474a90d8
around at either build-time or at run-time is: USE_TOOLS+= perl # build-time USE_TOOLS+= perl:run # run-time Also remove some places where perl5/buildlink3.mk was being included by a package Makefile, but all that the package wanted was the Perl executable.
30 lines
816 B
Makefile
30 lines
816 B
Makefile
# $NetBSD: Makefile,v 1.17 2005/07/16 01:19:18 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= if-psprint-1.7
|
|
PKGREVISION= 1
|
|
CATEGORIES= print
|
|
MASTER_SITES= http://www.mono.org/abs/tools/if-psprint/
|
|
|
|
MAINTAINER= abs@NetBSD.org
|
|
HOMEPAGE= http://www.mono.org/abs/tools/if-psprint/
|
|
COMMENT= Print text or postscript to arbitrary printer, can use smb
|
|
|
|
DEPENDS+= enscript>=1.6.3nb1:../../print/enscript
|
|
|
|
USE_TOOLS+= perl:run
|
|
|
|
INSTALLATION_DIRS= libexec man/man1
|
|
|
|
do-build:
|
|
${SED} -e 's|/usr/local|${PREFIX}|g' \
|
|
< ${WRKSRC}/if-psprint.pl \
|
|
> ${WRKSRC}/if-psprint
|
|
pod2man ${WRKSRC}/if-psprint > ${WRKSRC}/if-psprint.1
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/if-psprint ${PREFIX}/libexec/if-psprint
|
|
${INSTALL_MAN} ${WRKSRC}/if-psprint.1 ${PREFIX}/man/man1/if-psprint.1
|
|
|
|
.include "../../mk/ghostscript.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|