aboutsummaryrefslogtreecommitdiffstats
path: root/net/etrace
diff options
context:
space:
mode:
authorjhale <jhale@FreeBSD.org>2014-06-27 18:10:43 +0800
committerjhale <jhale@FreeBSD.org>2014-06-27 18:10:43 +0800
commitb299d2f3a75e1b6c8f9303159744f4f4a48615a3 (patch)
tree288deb4e98b4c227e648cb7dd6de074ab6e09f41 /net/etrace
parent1fcbec95a5c0ddba857500f7495a81a1e73b1bac (diff)
downloadfreebsd-ports-gnome-b299d2f3a75e1b6c8f9303159744f4f4a48615a3.tar.gz
freebsd-ports-gnome-b299d2f3a75e1b6c8f9303159744f4f4a48615a3.tar.zst
freebsd-ports-gnome-b299d2f3a75e1b6c8f9303159744f4f4a48615a3.zip
- Support staging
- Add LICENSE - Remove indefinite article from COMMENT - EXTRACT_SUFX -> USES=tar:tgz - Use @sample in pkg-plist - Bump PORTREVISION Approved by: portmgr (blanket approval)
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%%