diff options
author | Steve Price <steve@FreeBSD.org> | 1999-09-27 01:50:06 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1999-09-27 01:50:06 +0000 |
commit | 56ff3c354a9c954820b521c37319105d898a7f11 (patch) | |
tree | c7c28efcc3b326cf9d25af98c48e149d299bb3be /sysutils/LPRng/Makefile | |
parent | b0936d024f0307cd4ece30f715b8830619615d78 (diff) | |
download | ports-56ff3c354a9c954820b521c37319105d898a7f11.tar.gz ports-56ff3c354a9c954820b521c37319105d898a7f11.zip |
Notes
Diffstat (limited to 'sysutils/LPRng/Makefile')
-rw-r--r-- | sysutils/LPRng/Makefile | 41 |
1 files changed, 22 insertions, 19 deletions
diff --git a/sysutils/LPRng/Makefile b/sysutils/LPRng/Makefile index a62f41ae2230..6dd33b4ec623 100644 --- a/sysutils/LPRng/Makefile +++ b/sysutils/LPRng/Makefile @@ -1,44 +1,47 @@ # New ports collection makefile for: LPRng -# Version required: 3.5.1 +# Version required: 3.6.8 # Date created: 2 Apr 1997 # Whom: desmo@bandwidth.org # # $FreeBSD$ # -DISTNAME= LPRng-3.5.1 +DISTNAME= LPRng-${LPRNG_VER} CATEGORIES= sysutils print MASTER_SITES= ftp://ftp.astart.com/pub/LPRng/LPRng/ EXTRACT_SUFX= .tgz -EXTRA_FILES= LPRng_DOC-3.5.1.tgz -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${EXTRA_FILES} -EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${LPRNG_DOC} MAINTAINER= desmo@bandwidth.org +LPRNG_VER= 3.6.8 +PLIST_SUB+= LPRNG_VER=${LPRNG_VER} +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} +LPRNG_DOC= LPRng_DOC-${LPRNG_VER}.tgz + MAKEFILE= Makefile.bsd HAS_CONFIGURE= yes -CONFIGURE_ARGS= --with-lpddir=/usr/local/sbin +CONFIGURE_ARGS= \ + --with-sbindir=${PREFIX}/sbin \ + --with-filterdir=${PREFIX}/libexec/filters \ + --with-lpd_conf_path=/etc/lpd.conf \ + --with-lpd_perms_path=/etc/lpd.perms \ + --with-printcap_path=/etc/printcap -MAN1= authenticate_pgp.1 cancel.1 lp.1 lpbanner.1 lpc.1 lpf.1 \ - lpq.1 lpr.1 lpraccnt.1 lprm.1 lpstat.1 monitor.1 \ - readfilecount.1 +MAN1= cancel.1 lp.1 lpbanner.1 lpc.1 lpf.1 \ + lpq.1 lpr.1 lpraccnt.1 lprm.1 lpstat.1 monitor.1 MAN5= lpd.conf.5 lpd.perms.5 printcap.5 MAN8= checkpc.8 lpd.8 MANCOMPRESSED= yes post-install: - (cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} default) - @${CAT} ${FILESDIR}/lprng.sh | \ + ${CAT} ${FILESDIR}/lprng.sh | \ ${SED} -e "s|@@PREFIX@@|${PREFIX}|g" > ${PREFIX}/etc/rc.d/lprng.sh - @${CHMOD} +x ${PREFIX}/etc/rc.d/lprng.sh + ${CHMOD} +x ${PREFIX}/etc/rc.d/lprng.sh ${INSTALL} -d -g bin -o bin -m 0555 ${PREFIX}/share/doc/LPRng - @for file in ${EXTRA_FILES}; do \ - ${CP} ${DISTDIR}/$$file ${PREFIX}/share/doc/LPRng; \ - cd ${PREFIX}/share/doc/LPRng; \ - tar xvfz $$file; \ - ${RM} ${PREFIX}/share/doc/LPRng/$$file; \ - done - @${CAT} ${PKGDIR}/MESSAGE + cd ${PREFIX}/share/doc/LPRng; \ + tar xvfz ${DISTDIR}/${LPRNG_DOC} + @${CAT} ${PKGDIR}/MESSAGE | \ + ${SED} -e "s|@@PREFIX@@|${PREFIX}|g" .include <bsd.port.mk> |