1997-06-18 08:36:41 +00:00
|
|
|
# New ports collection makefile for: LPRng
|
1999-09-27 01:50:06 +00:00
|
|
|
# Version required: 3.6.8
|
1997-06-18 08:36:41 +00:00
|
|
|
# Date created: 2 Apr 1997
|
|
|
|
# Whom: desmo@bandwidth.org
|
|
|
|
#
|
1999-08-31 02:00:46 +00:00
|
|
|
# $FreeBSD$
|
1997-06-18 08:36:41 +00:00
|
|
|
#
|
|
|
|
|
1999-09-27 01:50:06 +00:00
|
|
|
DISTNAME= LPRng-${LPRNG_VER}
|
1997-06-18 08:36:41 +00:00
|
|
|
CATEGORIES= sysutils print
|
1998-01-22 08:19:45 +00:00
|
|
|
MASTER_SITES= ftp://ftp.astart.com/pub/LPRng/LPRng/
|
1997-06-18 08:36:41 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
1999-09-27 01:50:06 +00:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${LPRNG_DOC}
|
1997-06-18 08:36:41 +00:00
|
|
|
|
|
|
|
MAINTAINER= desmo@bandwidth.org
|
|
|
|
|
1999-09-27 01:50:06 +00:00
|
|
|
LPRNG_VER= 3.6.8
|
|
|
|
PLIST_SUB+= LPRNG_VER=${LPRNG_VER}
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
LPRNG_DOC= LPRng_DOC-${LPRNG_VER}.tgz
|
|
|
|
|
1997-06-18 08:36:41 +00:00
|
|
|
MAKEFILE= Makefile.bsd
|
1998-06-04 23:59:17 +00:00
|
|
|
HAS_CONFIGURE= yes
|
1999-09-27 01:50:06 +00:00
|
|
|
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
|
1997-06-18 08:36:41 +00:00
|
|
|
|
1999-09-27 01:50:06 +00:00
|
|
|
MAN1= cancel.1 lp.1 lpbanner.1 lpc.1 lpf.1 \
|
|
|
|
lpq.1 lpr.1 lpraccnt.1 lprm.1 lpstat.1 monitor.1
|
1998-10-21 00:57:42 +00:00
|
|
|
MAN5= lpd.conf.5 lpd.perms.5 printcap.5
|
|
|
|
MAN8= checkpc.8 lpd.8
|
|
|
|
MANCOMPRESSED= yes
|
|
|
|
|
1997-06-18 08:36:41 +00:00
|
|
|
post-install:
|
1999-09-27 01:50:06 +00:00
|
|
|
${CAT} ${FILESDIR}/lprng.sh | \
|
1997-06-18 08:36:41 +00:00
|
|
|
${SED} -e "s|@@PREFIX@@|${PREFIX}|g" > ${PREFIX}/etc/rc.d/lprng.sh
|
1999-09-27 01:50:06 +00:00
|
|
|
${CHMOD} +x ${PREFIX}/etc/rc.d/lprng.sh
|
1998-01-22 08:19:45 +00:00
|
|
|
${INSTALL} -d -g bin -o bin -m 0555 ${PREFIX}/share/doc/LPRng
|
1999-09-27 01:50:06 +00:00
|
|
|
cd ${PREFIX}/share/doc/LPRng; \
|
|
|
|
tar xvfz ${DISTDIR}/${LPRNG_DOC}
|
|
|
|
@${CAT} ${PKGDIR}/MESSAGE | \
|
|
|
|
${SED} -e "s|@@PREFIX@@|${PREFIX}|g"
|
1997-06-18 08:36:41 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|