freebsd-ports/sysutils/LPRngTool/Makefile
Koop Mast 68f883edfc Convert code in bsd.port.mk for USE_GHOSTSCRIPT* to USES=ghostscript.
Add GHOSTSCRIPT_DEFAULT to bsd.default-versions.mk for easy version selection.
Arguments supported: <empty>, build, run, nox11 and agpl

PR:		201201 (exp-run)
Approved by:	portmgr (mat@)
Exp run by:	antione@ (previous patch)
Differential Revision:	https://reviews.freebsd.org/D2938
2015-07-16 20:53:28 +00:00

31 lines
732 B
Makefile

# Created by: papowell@lprng.com
# $FreeBSD$
PORTNAME= LPRngTool
PORTVERSION= 1.3.2
PORTREVISION= 8
CATEGORIES= sysutils print
MASTER_SITES= SF/lprng/lprngtool/LRPngTool-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Configuration Tool for LPRng
LICENSE= GPLv2
BUILD_DEPENDS= a2ps:${PORTSDIR}/print/a2ps \
mpage:${PORTSDIR}/print/mpage
USES= ghostscript:build tar:tgz tk
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_path_WISH=${WISH}
CONFIGURE_ARGS= --with-spool_directory=/var/spool/lpd
USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} -e \
's|=freebsd|=generic|' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e \
'/cp $$p.sample $$p;/d ; \
/chmod 644 $$p;/d' ${WRKSRC}/postinstall.generic.sh
.include <bsd.port.mk>