diff options
Diffstat (limited to 'security/tcp_wrappers/Makefile')
-rw-r--r-- | security/tcp_wrappers/Makefile | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/security/tcp_wrappers/Makefile b/security/tcp_wrappers/Makefile index df2293a3551..ce926efc74c 100644 --- a/security/tcp_wrappers/Makefile +++ b/security/tcp_wrappers/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.35 2012/06/12 15:46:03 wiz Exp $ +# $NetBSD: Makefile,v 1.36 2012/07/20 09:58:36 adam Exp $ -DISTNAME= tcp_wrappers_7.6-ipv6.1 -PKGNAME= tcp_wrappers-7.6.1 -PKGREVISION= 4 +DISTNAME= tcp_wrappers_7.6-ipv6.4 +PKGNAME= ${DISTNAME:S/_7.6-ipv6/-7.6/} CATEGORIES= security net MASTER_SITES= ftp://ftp.porcupine.org/pub/security/ @@ -45,12 +44,12 @@ MAKE_ENV+= IPV6=-DHAVE_IPV6 # PKG_SYSCONFDIR.tcp_wrappers to a different value in /etc/mk.conf. # PKG_SYSCONFDIR.tcp_wrappers?= /etc -MAKE_ENV+= PKGSYSCONFDIR=${PKG_SYSCONFDIR:Q} +MAKE_ENV+= PKGSYSCONFDIR=${PKG_SYSCONFDIR} INSTALLATION_DIRS= bin include lib libexec ${PKGMANDIR}/man3 ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 post-build: - cd ${WRKSRC}; for file in *.[0-9]; do \ + set -e; cd ${WRKSRC}; for file in *.[0-9]; do \ ${MV} -f $$file $$file.BAK; \ ${SED} -e "s|/etc/hosts\.|${PKG_SYSCONFDIR}/hosts.|g" \ $$file.BAK > $$file; \ @@ -60,18 +59,18 @@ DOCDIR= ${PREFIX}/share/doc/tcp_wrappers INSTALLATION_DIRS+= ${DOCDIR} do-install: - cd ${WRKSRC}; ${LIBTOOL} --mode=install \ - ${INSTALL_LIB} libwrap.la ${DESTDIR}${PREFIX}/lib - cd ${WRKSRC}; ${LIBTOOL} --mode=install \ - ${INSTALL_PROGRAM} \ - tcpdmatch try-from safe_finger tcpdchk ${DESTDIR}${PREFIX}/bin - cd ${WRKSRC}; ${INSTALL_DATA} tcpd.h ${DESTDIR}${PREFIX}/include - cd ${WRKSRC}; ${LIBTOOL} --mode=install \ - ${INSTALL_PROGRAM} tcpd ${DESTDIR}${PREFIX}/libexec - cd ${WRKSRC}; ${INSTALL_DATA} *.3 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3 - cd ${WRKSRC}; ${INSTALL_DATA} *.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5 - cd ${WRKSRC}; ${INSTALL_DATA} *.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 - cd ${WRKSRC}; ${INSTALL_DATA} README README.NIS README.ipv6 \ - ${DESTDIR}${DOCDIR} + ${LIBTOOL} --mode=install ${INSTALL_LIB} \ + ${WRKSRC}/libwrap.la ${DESTDIR}${PREFIX}/lib + ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \ + ${WRKSRC}/tcpdchk ${WRKSRC}/tcpdmatch ${WRKSRC}/try-from \ + ${WRKSRC}/safe_finger ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/tcpd.h ${DESTDIR}${PREFIX}/include + ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \ + ${WRKSRC}/tcpd ${DESTDIR}${PREFIX}/libexec + ${INSTALL_DATA} ${WRKSRC}/*.3 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3 + ${INSTALL_DATA} ${WRKSRC}/*.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5 + ${INSTALL_DATA} ${WRKSRC}/*.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 + ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/README.NIS \ + ${WRKSRC}/README.ipv6 ${DESTDIR}${DOCDIR} .include "../../mk/bsd.pkg.mk" |