2004-05-09 22:45:20 +02:00
|
|
|
# New ports collection makefile for: libnetdude
|
2004-05-04 09:35:47 +02:00
|
|
|
# Date created: 2004-04-23
|
|
|
|
# Whom: Yann Berthier <yb@sainte-barbe.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libnetdude
|
2007-01-07 22:42:09 +01:00
|
|
|
PORTVERSION= 0.9
|
2004-05-04 09:35:47 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= netdude
|
|
|
|
|
2006-08-19 18:49:49 +02:00
|
|
|
MAINTAINER= wxs@atarininja.org
|
2004-05-04 09:35:47 +02:00
|
|
|
COMMENT= A library for manipulating libpcap/tcpdump trace files
|
|
|
|
|
|
|
|
LIB_DEPENDS= pcapnav.0:${PORTSDIR}/net/libpcapnav
|
|
|
|
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2004-05-04 09:35:47 +02:00
|
|
|
USE_GNOME= glib12
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2004-05-04 09:35:47 +02:00
|
|
|
CONFIGURE_ARGS= --disable-gtk-doc --with-html-dir=${DOCSDIR}
|
2007-01-07 22:42:09 +01:00
|
|
|
USE_LDCONFIG= yes
|
2006-04-29 11:45:42 +02:00
|
|
|
|
|
|
|
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
2004-05-04 09:35:47 +02:00
|
|
|
|
2004-05-09 19:15:08 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-05-04 09:35:47 +02:00
|
|
|
post-patch:
|
2004-05-09 19:15:08 +02:00
|
|
|
.if ${OSVERSION} >= 500000
|
2004-05-04 09:35:47 +02:00
|
|
|
@${REINPLACE_CMD} -e "s|netinet/if_fddi.h|net/fddi.h|g" \
|
|
|
|
${WRKSRC}/protocols/fddi/libnd_fddi.h
|
2004-05-09 19:15:08 +02:00
|
|
|
.endif
|
2004-05-04 09:35:47 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|DOC_MODULE = libnetdude|DOC_MODULE =|' \
|
|
|
|
${WRKSRC}/docs/Makefile.in
|
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
@${REINPLACE_CMD} -e 's|docs||' ${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
|
|
|
|
2004-05-09 19:15:08 +02:00
|
|
|
.include <bsd.port.post.mk>
|