3f651573ad
Begin autotools sanitization sequence by requiring ports to explicitly specify which version of {libtool,autoconf,automake} they need, erasing the concept of a "system default". For ports-in-waiting: USE_LIBTOOL=YES -> USE_LIBTOOL_VER=13 USE_AUTOCONF=YES -> USE_AUTOCONF_VER=213 USE_AUTOMAKE=YES -> USE_AUTOMAKE_VER=14 Ports attempting to use the old style system after June 1st 2004 will be sorely disappointed.
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
# Ports collection makefile for: libnet
|
|
# Date created: Sun Feb 3, 1999
|
|
# Whom: shipley@dis.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libnet
|
|
PORTVERSION= 1.0.2a
|
|
PORTEPOCH= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.packetfactory.net/libnet/dist/
|
|
|
|
MAINTAINER= shipley@dis.org
|
|
COMMENT= A C library for creating IP packets
|
|
|
|
CONFLICTS= libnet-devel-1.1.*
|
|
|
|
USE_AUTOCONF_VER= 213
|
|
|
|
WRKSRC= ${WRKDIR}/Libnet-${PORTVERSION}
|
|
MAN3= libnet.3
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/doc/libnet.3 ${PREFIX}/man/man3
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${PREFIX}/share/doc/libnet
|
|
@${MKDIR} ${PREFIX}/share/doc/libnet/examples
|
|
@${MKDIR} ${PREFIX}/share/doc/libnet/ancillary
|
|
.for i in CHANGELOG CHANGELOG-NEWFUNCTIONS COPYING README TODO-1.0 TODO-1.1
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${PREFIX}/share/doc/libnet
|
|
.endfor
|
|
.for i in README.asn.1 README.bpf README.legacy-applications README.libnet-config README.linux README.rawsockets
|
|
${INSTALL_DATA} ${WRKSRC}/doc/Ancillary/${i} ${PREFIX}/share/doc/libnet/ancillary
|
|
.endfor
|
|
.for i in libnet-example-1.c libnet-example-2.c libnet-example-3.c libnet-example-4.c
|
|
${INSTALL_DATA} ${WRKSRC}/example/${i} ${PREFIX}/share/doc/libnet/examples
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|