1997-06-18 04:36:41 -04:00
|
|
|
# New ports collection makefile for: LPRng
|
1997-10-28 17:24:24 -05:00
|
|
|
# Version required: 3.3.3
|
1997-06-18 04:36:41 -04:00
|
|
|
# Date created: 2 Apr 1997
|
|
|
|
# Whom: desmo@bandwidth.org
|
|
|
|
#
|
1998-01-22 03:19:45 -05:00
|
|
|
# $Id: Makefile,v 1.2 1997/10/28 22:23:43 jseger Exp $
|
1997-06-18 04:36:41 -04:00
|
|
|
#
|
|
|
|
|
1998-01-22 03:19:45 -05:00
|
|
|
DISTNAME= LPRng-3.4.1
|
1997-06-18 04:36:41 -04:00
|
|
|
CATEGORIES= sysutils print
|
1998-01-22 03:19:45 -05:00
|
|
|
MASTER_SITES= ftp://ftp.astart.com/pub/LPRng/LPRng/
|
1997-06-18 04:36:41 -04:00
|
|
|
EXTRACT_SUFX= .tgz
|
1998-01-22 03:19:45 -05:00
|
|
|
EXTRA_FILES= LPRng_DOC-3.4.1.tgz
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${EXTRA_FILES}
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
1997-06-18 04:36:41 -04:00
|
|
|
|
|
|
|
MAINTAINER= desmo@bandwidth.org
|
|
|
|
|
|
|
|
MAKEFILE= Makefile.bsd
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
pre-build:
|
|
|
|
(cd ${WRKSRC}/po ; ln -s Makefile ${MAKEFILE})
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
(cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} default)
|
|
|
|
${LDCONFIG} -m ${PREFIX}/lib
|
|
|
|
@cat ${FILESDIR}/lprng.sh | \
|
|
|
|
${SED} -e "s|@@PREFIX@@|${PREFIX}|g" > ${PREFIX}/etc/rc.d/lprng.sh
|
|
|
|
@chmod +x ${PREFIX}/etc/rc.d/lprng.sh
|
1998-01-22 03:19:45 -05:00
|
|
|
${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
|
1997-06-18 04:36:41 -04:00
|
|
|
@cat ${PKGDIR}/MESSAGE
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|