freebsd-ports/sysutils/LPRngTool/Makefile

32 lines
709 B
Makefile
Raw Normal View History

# Created by: papowell@lprng.com
# $FreeBSD$
PORTNAME= LPRngTool
PORTVERSION= 1.3.2
PORTREVISION= 10
CATEGORIES= sysutils print
MASTER_SITES= SF/lprng/lprngtool/LRPngTool-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
2003-02-21 14:28:59 +01:00
COMMENT= Configuration Tool for LPRng
LICENSE= GPLv2
BUILD_DEPENDS= a2ps:print/a2ps \
mpage: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>