blob: 504a2a82dbfc693e1b3569721e151bf10f9bf2c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# $NetBSD: Makefile,v 1.15 2004/02/10 09:06:55 grant 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= IRIX-*-* Darwin-*-* SunOS-*-* Linux-*-* # in NetBSD base system
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= yes
USE_LIBTOOL= yes
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
ALL_TARGET= netbsd
.elif ${OPSYS} == "SunOS"
ALL_TARGET= sunos5
.elif ${OPSYS} == "IRIX"
ALL_TARGET= ${LOWER_OPSYS:C|\..*||}
.elif ${OPSYS} == "Linux"
ALL_TARGET= ${LOWER_OPSYS}
.else
ALL_TARGET= generic # good luck!
.endif
.if defined(USE_INET6) && ${USE_INET6} == "YES" && ${OPSYS} != "Linux"
MAKE_ENV+= IPV6=-DHAVE_IPV6
.endif
do-install:
cd ${WRKSRC}; ${LIBTOOL} ${INSTALL_DATA} libwrap.la ${PREFIX}/lib
cd ${WRKSRC}; ${LIBTOOL} ${INSTALL_PROGRAM} \
tcpdmatch try-from safe_finger tcpdchk ${PREFIX}/bin
cd ${WRKSRC}; ${INSTALL_DATA} tcpd.h ${PREFIX}/include
cd ${WRKSRC}; ${LIBTOOL} ${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"
|