freebsd-ports/net/libnetdude/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

39 lines
1,004 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.6
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= netdude
MAINTAINER= yb@bashibuzuk.net
COMMENT= A library for manipulating libpcap/tcpdump trace files
LIB_DEPENDS= pcapnav.0:${PORTSDIR}/net/libpcapnav
USE_AUTOTOOLS= libtool:13:inc
USE_GNOME= glib12
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --disable-gtk-doc --with-html-dir=${DOCSDIR}
INSTALLS_SHLIB= yes
USE_REINPLACE= yes
.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>