mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
37b585d190
Reported by: -fetch-original pointyhat run
43 lines
1.2 KiB
Makefile
43 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
|
|
PORTREVISION= 4
|
|
PORTEPOCH= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.packetfactory.net/libnet/dist/deprecated/
|
|
PKGNAMESUFFIX= 10
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A C library for creating IP packets
|
|
|
|
CFLAGS+= -fPIC
|
|
|
|
USE_AUTOTOOLS= autoconf:262
|
|
WRKSRC= ${WRKDIR}/Libnet-${PORTVERSION}
|
|
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
|
|
MAN3= libnet${PKGNAMESUFFIX}.3
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/doc/libnet.3 \
|
|
${MANPREFIX}/man/man3/libnet${PKGNAMESUFFIX}.3
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}/ancillary ${DOCSDIR}/examples
|
|
.for i in CHANGELOG CHANGELOG-NEWFUNCTIONS COPYING README TODO-1.0 TODO-1.1
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR}
|
|
.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} ${DOCSDIR}/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} ${DOCSDIR}/examples
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|