mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
50130fcfc6
PR: ports/102230 Submitted by: Wesley Shields <wxs(at)atarininja.org> Approved by: krion (mentor)
41 lines
1014 B
Makefile
41 lines
1014 B
Makefile
# New ports collection makefile for: libnetdude
|
|
# Date created: 2004-04-23
|
|
# Whom: Yann Berthier <yb@sainte-barbe.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libnetdude
|
|
PORTVERSION= 0.8
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= netdude
|
|
|
|
MAINTAINER= wxs@atarininja.org
|
|
COMMENT= A library for manipulating libpcap/tcpdump trace files
|
|
|
|
LIB_DEPENDS= pcapnav.0:${PORTSDIR}/net/libpcapnav
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GNOME= glib12
|
|
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ARGS= --disable-gtk-doc --with-html-dir=${DOCSDIR}
|
|
INSTALLS_SHLIB= yes
|
|
|
|
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
.if ${OSVERSION} >= 500000
|
|
@${REINPLACE_CMD} -e "s|netinet/if_fddi.h|net/fddi.h|g" \
|
|
${WRKSRC}/protocols/fddi/libnd_fddi.h
|
|
.endif
|
|
@${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
|
|
|
|
.include <bsd.port.post.mk>
|