summaryrefslogtreecommitdiff
path: root/net/iplog
diff options
context:
space:
mode:
authoradam <adam>2004-04-13 13:33:27 +0000
committeradam <adam>2004-04-13 13:33:27 +0000
commitd44df190355d4911d88ad3ac430914dcd012b5f8 (patch)
tree8fb8d61f5e90af626520aa04c9ac37ed6671a020 /net/iplog
parent3ecb1e8b2bb578f84da7e9818aa474063beec63e (diff)
downloadpkgsrc-d44df190355d4911d88ad3ac430914dcd012b5f8.tar.gz
Cleaned up, use buildlink3
Diffstat (limited to 'net/iplog')
-rw-r--r--net/iplog/Makefile26
1 files changed, 6 insertions, 20 deletions
diff --git a/net/iplog/Makefile b/net/iplog/Makefile
index 109ba463301..c4573452880 100644
--- a/net/iplog/Makefile
+++ b/net/iplog/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2004/01/27 14:13:49 grant Exp $
+# $NetBSD: Makefile,v 1.7 2004/04/13 13:33:27 adam Exp $
#
DISTNAME= iplog-2.2.3
@@ -10,14 +10,10 @@ MAINTAINER= gremlin@portal-to-web.de
HOMEPAGE= http://ojnk.sourceforge.net/
COMMENT= Iplog is a tool using pcap to log IP traffic
-USE_BUILDLINK2= YES
-USE_GNU_TOOLS+= make
-USE_PKGINSTALL= YES
-GNU_CONFIGURE= YES
-
-CFLAGSTMP= "-I${PREFIX}/include -Wall"
-LDFLAGSTMP= "-L${PREFIX}/lib -Wl,-R${PREFIX}/lib"
-LIBSTMP= "-lpthread"
+USE_BUILDLINK3= YES
+USE_GNU_TOOLS+= make
+USE_PKGINSTALL= YES
+GNU_CONFIGURE= YES
RCD_SCRIPTS= iplog
@@ -27,19 +23,9 @@ post-patch:
cd ${WRKSRC}/src && ${SED} s,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g \
< iplog.h > iplog.h.patched && ${MV} iplog.h.patched iplog.h
-do-configure:
- cd ${WRKSRC} && CFLAGS=${CFLAGSTMP} \
- LDFLAGS=${LDFLAGSTMP} \
- LIBS=${LIBSTMP} \
- MAKE=${GMAKE} \
- ${SH} ./configure --prefix=${PREFIX} --prefix=${GNU_CONFIGURE_PREFIX}
-
-do-build:
- cd ${WRKSRC} && ${GMAKE} all
-
post-install:
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/example-iplog.conf ${EGDIR}/iplog.conf
-.include "../../mk/pthread.buildlink2.mk"
+.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"