diff options
author | joerg <joerg> | 2010-02-11 21:33:29 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-02-11 21:33:29 +0000 |
commit | c946b5caed9d9dac0b9591d60270918ab3d1125f (patch) | |
tree | bc07d0214d409774e49eaf3de5f775c4a607a401 /net/iplog/Makefile | |
parent | 339f4b1bddcd1f0ba224495914c147376340a452 (diff) | |
download | pkgsrc-c946b5caed9d9dac0b9591d60270918ab3d1125f.tar.gz |
DESTDIR support
Diffstat (limited to 'net/iplog/Makefile')
-rw-r--r-- | net/iplog/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/net/iplog/Makefile b/net/iplog/Makefile index da9d9737028..cfb21350c9d 100644 --- a/net/iplog/Makefile +++ b/net/iplog/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2006/02/05 23:10:25 joerg Exp $ +# $NetBSD: Makefile,v 1.14 2010/02/11 21:36:18 joerg Exp $ # DISTNAME= iplog-2.2.3 @@ -10,6 +10,8 @@ MAINTAINER= gremlin@portal-to-web.de HOMEPAGE= http://ojnk.sourceforge.net/ COMMENT= Iplog is a tool using pcap to log IP traffic +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake GNU_CONFIGURE= YES @@ -17,13 +19,14 @@ RCD_SCRIPTS= iplog EGDIR= ${PREFIX}/share/examples/iplog +INSTALLATION_DIRS+= ${EGDIR} + post-patch: cd ${WRKSRC}/src && ${SED} s,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g \ < iplog.h > iplog.h.patched && ${MV} iplog.h.patched iplog.h post-install: - ${INSTALL_DATA_DIR} ${EGDIR} - ${INSTALL_DATA} ${WRKSRC}/example-iplog.conf ${EGDIR}/iplog.conf + ${INSTALL_DATA} ${WRKSRC}/example-iplog.conf ${DESTDIR}${EGDIR}/iplog.conf .include "../../net/libpcap/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" |