freebsd-ports/sysutils/LPRngTool/Makefile
John Marino 6a43188709 Stage sysutils/LPRngTool
PR:		187976
Submitted by:	Ports Fury
2014-07-30 20:59:56 +00:00

32 lines
741 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= tar:tgz tk
USE_GHOSTSCRIPT_BUILD= yes
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>