2003-01-18 18:42:59 +01:00
|
|
|
# Ports collection makefile for: libnet-devel
|
2003-01-07 21:50:07 +01:00
|
|
|
# Date created: Jan 7, 2003
|
|
|
|
# Whom: smace@freebsd.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2003-12-16 23:21:57 +01:00
|
|
|
PORTNAME= libnet
|
2004-04-14 11:55:44 +02:00
|
|
|
PORTVERSION= 1.1.2.1
|
2003-01-07 21:50:07 +01:00
|
|
|
CATEGORIES= net
|
2004-08-17 13:04:57 +02:00
|
|
|
MASTER_SITES= http://voodoo.oberon.net/download/
|
2003-12-16 23:21:57 +01:00
|
|
|
PKGNAMESUFFIX= -devel
|
2003-01-07 21:50:07 +01:00
|
|
|
|
2004-01-23 09:50:58 +01:00
|
|
|
MAINTAINER= krion@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A C library for creating IP packets (development version)
|
2003-01-07 21:50:07 +01:00
|
|
|
|
2003-12-16 23:21:57 +01:00
|
|
|
CONFLICTS= libnet-1.*
|
2003-01-07 21:50:07 +01:00
|
|
|
|
2003-12-16 23:21:57 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2003-01-07 21:50:07 +01:00
|
|
|
|
2003-12-16 23:21:57 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
|
|
|
DOCS= README doc/BUGS doc/CHANGELOG doc/CONTRIB doc/COPYING \
|
|
|
|
doc/DESIGN_NOTES doc/MIGRATION doc/PACKET_BUILDING doc/PORTED \
|
|
|
|
doc/RAWSOCKET_NON_SEQUITUR doc/TODO doc/html/*
|
|
|
|
EXAMPLES= sample/*.c
|
2003-01-07 21:50:07 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/libnet-config ${PREFIX}/bin
|
2003-12-16 23:21:57 +01:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
|
|
.endif
|
2003-01-07 21:50:07 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|