summaryrefslogtreecommitdiff
path: root/security/tcp_wrappers/Makefile
blob: 6970cbbbcce2dd02a02bd76d5415602dd0bebd02 (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
# $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"