1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/net/libnetdude/Makefile
Mathieu Arnold 8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00

40 lines
1.1 KiB
Makefile

# Created by: Yann Berthier <yb@sainte-barbe.org>
# $FreeBSD$
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 <bsd.port.mk>