summaryrefslogtreecommitdiff
path: root/security/tcp_wrappers/Makefile
blob: 930aebd8d2d053803e7cff2494554b0e3e5b6b7b (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
# $NetBSD: Makefile,v 1.4 2001/02/25 04:18:14 hubertf Exp $

DISTNAME= 	tcp_wrappers_7.6-ipv6.1
PKGNAME=	tcp_wrappers-7.6.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

ALL_TARGET=	sunos5

.if exists(/usr/include/netinet/ip6.h)
MAKE_ENV+=	IPV6=-DHAVE_IPV6
.endif

do-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tcp_wrappers
	cd ${WRKSRC} && \
	${INSTALL_PROGRAM} tcpdmatch try-from safe_finger tcpdchk \
	  ${PREFIX}/bin && \
	${INSTALL_DATA} tcpd.h ${PREFIX}/include && \
	${INSTALL_DATA} libwrap.a ${PREFIX}/lib && \
	${INSTALL_PROGRAM} tcpd ${PREFIX}/libexec && \
	${INSTALL_DATA} *.3 ${PREFIX}/man/man3 && \
	${INSTALL_DATA} *.5 ${PREFIX}/man/man5 && \
	${INSTALL_DATA} *.8 ${PREFIX}/man/man8 && \
	${INSTALL_DATA} README README.NIS README.ipv6 \
	  ${PREFIX}/share/doc/tcp_wrappers

.include "../../mk/bsd.pkg.mk"