pkgsrc/net/xipdump/Makefile

43 lines
1.3 KiB
Makefile
Raw Normal View History

2010-02-11 23:57:40 +01:00
# $NetBSD: Makefile,v 1.33 2010/02/11 23:18:29 joerg Exp $
#
DISTNAME= xipdump-1.5.4
PKGREVISION= 4
CATEGORIES= net
MASTER_SITES= http://www.lse.epita.fr/twiki/pub/Projects/XipDump/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.lse.epita.fr/twiki/bin/view/Projects/XipDump
COMMENT= Displays IP packets using X Window System
2010-02-11 23:57:40 +01:00
PKG_DESTDIR_SUPPORT= user-destdir
PLIST_SRC= ${WRKDIR}/PLIST
USE_X11BASE= yes
GNU_CONFIGURE= yes
2007-10-09 21:19:08 +02:00
CFLAGS+= -I${PREFIX}/include
LIBS+= -L${PREFIX}/lib ${COMPILER_RPATH_FLAG}${PREFIX}/lib -lnet
2007-03-24 20:21:18 +01:00
INSTALLATION_DIRS= bin lib/X11/app-defaults ${PKGMANDIR}/man8
2010-02-11 23:57:40 +01:00
INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
2007-03-24 20:21:18 +01:00
post-build:
@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
@(cd ${WRKSRC}/data; ${FIND} pkc pkt ! -type d -print | \
${SED} -e 's|^|share/xipdump/|' >> ${PLIST_SRC})
post-install:
2010-02-11 23:57:40 +01:00
${FIND} ${DESTDIR}${PREFIX}/share/xipdump -name *.pkc | \
${XARGS} ${CHMOD} ${DOCMODE}
2010-02-11 23:57:40 +01:00
${FIND} ${DESTDIR}${PREFIX}/share/xipdump -name *.pkt | \
${XARGS} ${CHMOD} ${DOCMODE}
2010-02-11 23:57:40 +01:00
${CHMOD} ${MANMODE} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/xipdump.8
${CHMOD} ${SHAREMODE} ${DESTDIR}${PREFIX}/lib/X11/app-defaults/Xipdump
.include "../../devel/libnet10/buildlink3.mk"
2007-02-19 21:04:24 +01:00
.include "../../x11/libXaw/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"