# Created by: Yann Berthier # $FreeBSD: head/net/libnetdude/Makefile 412348 2016-04-01 14:17:44Z mat $ PORTNAME= libnetdude PORTVERSION= 0.12 PORTREVISION= 3 CATEGORIES= net MASTER_SITES= SF/netdude/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Library for manipulating libpcap/tcpdump trace files LIB_DEPENDS= libltdl.so:devel/libltdl \ libpcapnav.so:net/libpcapnav USES= libtool GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-gtk-doc --disable-static --with-html-dir=${DOCSDIR} CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib USE_GNOME= glib12 USE_LDCONFIG= yes INSTALL_TARGET= install-strip PLIST_SUB= PORTVERSION=${PORTVERSION} post-patch: @${REINPLACE_CMD} -e "s|netinet/if_fddi.h|net/fddi.h|g" \ ${WRKSRC}/protocols/fddi/libnd_fddi.h @${REINPLACE_CMD} -e 's|DOC_MODULE = libnetdude|DOC_MODULE =|' \ ${WRKSRC}/docs/Makefile.in @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \ -e 's,-I$$(top_srcdir)/libltdl,@INCLTDL@,' \ -e '/LIBADD/s,$$(top_builddir)/libltdl/libltdlc.la,@LIBLTDL@,' post-install: @${RMDIR} ${STAGEDIR}${DOCSDIR}/images ${STAGEDIR}${DOCSDIR} .include