pkgsrc/security/tcp_wrappers/Makefile
jlam e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00

37 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.7 2002/08/25 18:39:57 jlam Exp $
DISTNAME= tcp_wrappers_7.6-ipv6.1
PKGNAME= tcp_wrappers-7.6.1
PKGREVISION= 1
CATEGORIES= security net
MASTER_SITES= ftp://ftp.porcupine.org/pub/security/
MAINTAINER= tron@netbsd.org
HOMEPAGE= ftp://ftp.porcupine.org/pub/security/index.html
COMMENT= Monitor and filter incoming requests for network services
ONLY_FOR_PLATFORM= SunOS-*-* # in NetBSD base system
USE_BUILDLINK2= # defined
USE_LIBTOOL= # defined
ALL_TARGET= sunos5
.if exists(/usr/include/netinet/ip6.h)
MAKE_ENV+= IPV6=-DHAVE_IPV6
.endif
do-install:
cd ${WRKSRC}; ${PKGLIBTOOL} ${INSTALL_DATA} libwrap.la ${PREFIX}/lib
cd ${WRKSRC}; ${PKGLIBTOOL} ${INSTALL_PROGRAM} \
tcpdmatch try-from safe_finger tcpdchk ${PREFIX}/bin
cd ${WRKSRC}; ${INSTALL_DATA} tcpd.h ${PREFIX}/include
cd ${WRKSRC}; ${PKGLIBTOOL} ${INSTALL_PROGRAM} tcpd ${PREFIX}/libexec
cd ${WRKSRC}; ${INSTALL_DATA} *.3 ${PREFIX}/man/man3
cd ${WRKSRC}; ${INSTALL_DATA} *.5 ${PREFIX}/man/man5
cd ${WRKSRC}; ${INSTALL_DATA} *.8 ${PREFIX}/man/man8
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tcp_wrappers
cd ${WRKSRC}; ${INSTALL_DATA} README README.NIS README.ipv6 \
${PREFIX}/share/doc/tcp_wrappers
.include "../../mk/bsd.pkg.mk"