summaryrefslogtreecommitdiffstats
path: root/net/libnet/Makefile
blob: 6fdeef13f47b439c2f7336963988bd68bfe3db0f (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
# Ports collection makefile for:  libnet
# Version required:		0.99g
# Date created:			Sun Feb 3, 1999
# Whom:				shipley@dis.org
#
# $FreeBSD$
#

DISTNAME=	libnet-0.99g
CATEGORIES=     net
MASTER_SITES=	http://www.packetfactory.net/libnet/dist/
EXTRACT_SUFX=	.tgz

MAINTAINER=	shipley@dis.org

MAN3=		libnet.3

GNU_CONFIGURE=	yes

#NOPROFILE=	true

.include <bsd.port.pre.mk>
.if ${OSVERSION} <= 300000
BROKEN=         does not build
.endif

WRKSRC=         ${WRKDIR}/Libnet-0.99g

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/libnet
	${INSTALL_MAN} ${WRKSRC}/doc/PORTS ${PREFIX}/share/doc/libnet
	${INSTALL_MAN} ${WRKSRC}/doc/README ${PREFIX}/share/doc/libnet
	${INSTALL_MAN} ${WRKSRC}/doc/README.bpf ${PREFIX}/share/doc/libnet
	${INSTALL_MAN} ${WRKSRC}/doc/README.asn.1 ${PREFIX}/share/doc/libnet
	${INSTALL_MAN} ${WRKSRC}/doc/README.bpf ${PREFIX}/share/doc/libnet
	${INSTALL_MAN} ${WRKSRC}/doc/README.examples ${PREFIX}/share/doc/libnet
	${INSTALL_MAN} ${WRKSRC}/doc/README.linux ${PREFIX}/share/doc/libnet
	${INSTALL_MAN} ${WRKSRC}/doc/README.rawsockets ${PREFIX}/share/doc/libnet
	${INSTALL_MAN} ${WRKSRC}/doc/README.stubs ${PREFIX}/share/doc/libnet
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud