2005-01-29 00:35:59 +01:00
|
|
|
# $NetBSD: Makefile,v 1.14 2005/01/28 23:35:59 adrianp Exp $
|
1999-11-15 03:29:51 +01:00
|
|
|
#
|
|
|
|
|
1999-12-24 03:58:31 +01:00
|
|
|
DISTNAME= xipdump-1.5.4
|
1999-11-15 03:29:51 +01:00
|
|
|
CATEGORIES= net
|
2004-06-01 19:51:28 +02:00
|
|
|
MASTER_SITES= http://www.lse.epita.fr/devel/xipdump/
|
1999-11-15 03:29:51 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= sakamoto@NetBSD.org
|
2004-06-01 19:51:28 +02:00
|
|
|
#HOMEPAGE= http://www.epita.fr/~lse/xipdump/
|
2003-07-21 19:10:16 +02:00
|
|
|
COMMENT= Displays IP packets using X Window System
|
1999-11-15 03:29:51 +01:00
|
|
|
|
2004-12-04 15:55:59 +01:00
|
|
|
USE_BUILDLINK3= YES
|
1999-11-15 03:29:51 +01:00
|
|
|
|
2005-01-29 00:35:59 +01:00
|
|
|
BUILDLINK_DEPENDS.libnet+= libnet<=1.0.1b
|
|
|
|
|
1999-11-15 03:29:51 +01:00
|
|
|
LIBNET_CONFIG= ${LOCALBASE}/bin/libnet-config
|
|
|
|
|
|
|
|
PLIST_SRC= ${WRKDIR}/PLIST
|
|
|
|
|
|
|
|
USE_X11BASE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2004-12-04 15:55:59 +01:00
|
|
|
CFLAGS+= -I${PREFIX}/include `${LIBNET_CONFIG} --defines`
|
|
|
|
LIBS= -L${PREFIX}/lib -Wl,-R${PREFIX}/lib -lnet
|
1999-11-15 03:29:51 +01:00
|
|
|
|
|
|
|
post-build:
|
|
|
|
@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
|
2004-01-27 01:53:10 +01:00
|
|
|
@(cd ${WRKSRC}/data; ${FIND} pkc pkt ! -type d -print | \
|
1999-11-15 03:29:51 +01:00
|
|
|
${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}
|
|
|
|
|
2004-12-04 15:55:59 +01:00
|
|
|
.include "../../devel/libnet/buildlink3.mk"
|
1999-11-15 03:29:51 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|