1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- 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)
This commit is contained in:
Jason E. Hale 2014-06-27 10:10:43 +00:00
parent 896ba05de0
commit 7912eb61a9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359491
3 changed files with 25 additions and 19 deletions

View File

@ -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}
CONFIGURE_ARGS= --with-libdnet=${PREFIX}
MAN8= etrace.8
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -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

View File

@ -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%%