blob: d5b0cd6b96aa74cabfe9f172feb71e031b94c813 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $NetBSD: Makefile,v 1.21 2005/12/05 20:50:50 rillig Exp $
#
DISTNAME= xipdump-1.5.4
CATEGORIES= net
MASTER_SITES= http://www.lse.epita.fr/twiki/pub/Projects/XipDump/
EXTRACT_SUFX= .tgz
MAINTAINER= sakamoto@NetBSD.org
HOMEPAGE= http://www.lse.epita.fr/twiki/bin/view/Projects/XipDump
COMMENT= Displays IP packets using X Window System
BUILDLINK_DEPENDS.libnet+= libnet-1.0.*
PLIST_SRC= ${WRKDIR}/PLIST
USE_X11BASE= yes
GNU_CONFIGURE= yes
CFLAGS+= -I${PREFIX}/include ${LIBNET_CFLAGS_CMD:sh}
LIBS+= -L${PREFIX}/lib -Wl,-R${PREFIX}/lib -lnet
LIBNET_CFLAGS_CMD= ${BUILDLINK_PREFIX.libnet}/bin/libnet-config --defines
post-build:
@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
@(cd ${WRKSRC}/data; ${FIND} pkc pkt ! -type d -print | \
${SED} -e 's|^|share/xipdump/|' >> ${PLIST_SRC})
@${ECHO} "@dirrm share/xipdump/pkt" >> ${PLIST_SRC}
@${ECHO} "@dirrm share/xipdump/pkc" >> ${PLIST_SRC}
@${ECHO} "@dirrm share/xipdump" >> ${PLIST_SRC}
.include "../../devel/libnet/buildlink3.mk"
.include "../../mk/x11.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|