aboutsummaryrefslogtreecommitdiff
path: root/net/etrace
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2014-06-27 10:10:43 +0000
committerJason E. Hale <jhale@FreeBSD.org>2014-06-27 10:10:43 +0000
commit7912eb61a948ac418355ad57a4c44a312e50f830 (patch)
tree288deb4e98b4c227e648cb7dd6de074ab6e09f41 /net/etrace
parent896ba05de05bf6a1e96905c1154c416ba7e60332 (diff)
downloadports-7912eb61a948ac418355ad57a4c44a312e50f830.tar.gz
ports-7912eb61a948ac418355ad57a4c44a312e50f830.zip
Notes
Diffstat (limited to 'net/etrace')
-rw-r--r--net/etrace/Makefile13
-rw-r--r--net/etrace/files/patch-Makefile.in24
-rw-r--r--net/etrace/pkg-plist7
3 files changed, 25 insertions, 19 deletions
diff --git a/net/etrace/Makefile b/net/etrace/Makefile
index 96d7442db72c..60b2780ed279 100644
--- a/net/etrace/Makefile
+++ b/net/etrace/Makefile
@@ -3,23 +3,22 @@
PORTNAME= etrace
PORTVERSION= 1.1
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.bindshell.net/tools/etrace/
DISTNAME= ${PORTNAME}.${PORTVERSION}
-EXTRACT_SUFX= .tgz
MAINTAINER= dave.ryan@gmail.com
-COMMENT= A configurable static port network tracing tool
+COMMENT= Configurable static port network tracing tool
+
+LICENSE= BSD3CLAUSE
BUILD_DEPENDS= ${LOCALBASE}/lib/libdnet.a:${PORTSDIR}/net/libdnet \
${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
+USES= tar:tgz
WRKSRC= ${WRKDIR}/etrace
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-libdnet=${PREFIX}
-
-MAN8= etrace.8
+CONFIGURE_ARGS= --with-libdnet=${PREFIX}
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/net/etrace/files/patch-Makefile.in b/net/etrace/files/patch-Makefile.in
index 6429753594a3..02776fe9ff82 100644
--- a/net/etrace/files/patch-Makefile.in
+++ b/net/etrace/files/patch-Makefile.in
@@ -1,11 +1,19 @@
---- ./Makefile.in.orig Sat Jul 29 18:02:28 2006
-+++ ./Makefile.in Sat Jul 29 18:02:54 2006
-@@ -25,7 +25,7 @@
- mkdir -p -m 755 ${bindir} ${mandir}/man8 ${datadir}/etrace
- @INSTALL_PROGRAM@ etrace ${bindir}
- @INSTALL_DATA@ etrace.8 ${mandir}/man8
+--- ./Makefile.in.orig 2006-07-08 12:31:44.000000000 -0400
++++ ./Makefile.in 2014-06-27 05:55:58.000000000 -0400
+@@ -22,11 +22,11 @@
+ ${CC} ${CFLAGS} ${LDFLAGS} $< ${LDLIBS} -o $@
+
+ install:
+- mkdir -p -m 755 ${bindir} ${mandir}/man8 ${datadir}/etrace
+- @INSTALL_PROGRAM@ etrace ${bindir}
+- @INSTALL_DATA@ etrace.8 ${mandir}/man8
- @INSTALL_DATA@ default.profile ${datadir}/etrace/profile
-+ @INSTALL_DATA@ default.profile ${datadir}/etrace/default.profile
- @INSTALL_DATA@ ${PROBE_DATA} ${datadir}/etrace/
+- @INSTALL_DATA@ ${PROBE_DATA} ${datadir}/etrace/
++ mkdir -p -m 755 ${DESTDIR}${bindir} ${DESTDIR}${mandir}/man8 ${DESTDIR}${datadir}/etrace
++ @INSTALL_PROGRAM@ etrace ${DESTDIR}${bindir}
++ @INSTALL_DATA@ etrace.8 ${DESTDIR}${mandir}/man8
++ @INSTALL_DATA@ default.profile ${DESTDIR}${datadir}/etrace/profile.sample
++ @INSTALL_DATA@ ${PROBE_DATA} ${DESTDIR}${datadir}/etrace/
clean:
+ rm -f ${EXES} ${OBJS} core *.core
diff --git a/net/etrace/pkg-plist b/net/etrace/pkg-plist
index c83a13582296..9504b6e90ea1 100644
--- a/net/etrace/pkg-plist
+++ b/net/etrace/pkg-plist
@@ -1,7 +1,6 @@
bin/etrace
%%DATADIR%%/dns
%%DATADIR%%/ike
-@unexec if cmp -s %D/share/etrace/profile %D/share/etrace/default.profile; then rm -f %D/share/etrace/profile; fi
-%%DATADIR%%/default.profile
-@exec if [ ! -f %D/share/etrace/profile ]; then cp %D/share/etrace/default.profile %D/share/etrace/profile; fi
-@unexec rm -r %D/%%DATADIR%% || echo "etrace: if you're finished with this port, clean up %D/share/etrace"
+@sample %%DATADIR%%/profile.sample
+man/man8/etrace.8.gz
+@dirrmtry %%DATADIR%%