diff options
Diffstat (limited to 'sysutils/LPRng/Makefile')
-rw-r--r-- | sysutils/LPRng/Makefile | 47 |
1 files changed, 13 insertions, 34 deletions
diff --git a/sysutils/LPRng/Makefile b/sysutils/LPRng/Makefile index d8a93da208c4..8d9b8c86cd06 100644 --- a/sysutils/LPRng/Makefile +++ b/sysutils/LPRng/Makefile @@ -3,59 +3,38 @@ # Date created: 2 Apr 1997 # Whom: desmo@bandwidth.org # -# $Id: Makefile,v 1.1.1.1 1997/06/18 08:36:41 tg Exp $ +# $Id: Makefile,v 1.2 1997/10/28 22:23:43 jseger Exp $ # -DISTNAME= LPRng-3.3.3 +DISTNAME= LPRng-3.4.1 CATEGORIES= sysutils print -MASTER_SITES= ftp://ftp.astart.com/pub/LPRng/ +MASTER_SITES= ftp://ftp.astart.com/pub/LPRng/LPRng/ EXTRACT_SUFX= .tgz +EXTRA_FILES= LPRng_DOC-3.4.1.tgz +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${EXTRA_FILES} +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= desmo@bandwidth.org MAKEFILE= Makefile.bsd GNU_CONFIGURE= yes -post-patch: - @mv ${WRKSRC}/src/common/default.c ${WRKSRC}/src/common/default.c.tmp - @${SED} -e "s|@@PREFIX@@|${PREFIX}|g" \ - <${WRKSRC}/src/common/default.c.tmp >${WRKSRC}/src/common/default.c - 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 - ${INSTALL} -d -g bin -o bin -m 0555 ${PREFIX}/share/doc/LPRng - (cd ${WRKSRC} ; ${INSTALL_DATA} \ - README \ - README.1st \ - README.LPRng_to_lpr_spooling \ - README.accounting \ - README.authentication \ - README.banner \ - README.bouncequeues \ - README.deskjet \ - README.install \ - README.kerberos_authentication \ - README.logger \ - README.lp_Malformed_from_address \ - README.lp_emulation \ - README.lpd.conf \ - README.lpd.perms \ - README.nis \ - README.pgp_authentication \ - README.ports \ - README.printcap \ - README.routing \ - README.solaris \ - README.solaris.newsprint \ - README.statusdisplays \ - ${PREFIX}/share/doc/LPRng ) @cat ${FILESDIR}/lprng.sh | \ ${SED} -e "s|@@PREFIX@@|${PREFIX}|g" > ${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 .include <bsd.port.mk> |