aboutsummaryrefslogtreecommitdiffstats
path: root/net/libnet/Makefile
blob: ece5815d24eb465453329d676e46f0b5a4b1d400 (plain) (blame)
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
# Ports collection makefile for:  libnet
# Version required:     0.9
# Date created:         Sun Feb 3, 1999
# Whom:             shipley@dis.org
#
# $Id: Makefile,v 1.1.1.1 1999/05/09 01:16:34 steve Exp $
#

DISTNAME=   libnet-0.99b
PKGNAME=    libnet-0.9.3
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.99b

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.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>