Date: Mon, 9 Jun 2014 04:07:15 +0000 (UTC) From: "Vanilla I. Shu" <vanilla@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r357101 - in head/net-mgmt/netleak: . files Message-ID: <201406090407.s5947FWi054844@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: vanilla Date: Mon Jun 9 04:07:14 2014 New Revision: 357101 URL: http://svnweb.freebsd.org/changeset/ports/357101 QAT: https://qat.redports.org/buildarchive/r357101/ Log: 1: Stagify. 2: use @sample on pkg-plist. 3: bump version. Added: head/net-mgmt/netleak/pkg-plist (contents, props changed) Modified: head/net-mgmt/netleak/Makefile head/net-mgmt/netleak/files/patch-Makefile Modified: head/net-mgmt/netleak/Makefile ============================================================================== --- head/net-mgmt/netleak/Makefile Mon Jun 9 03:59:09 2014 (r357100) +++ head/net-mgmt/netleak/Makefile Mon Jun 9 04:07:14 2014 (r357101) @@ -3,7 +3,7 @@ PORTNAME= netleak PORTVERSION= 0.1a -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-devel/${PORTNAME}-${PORTVERSION} EXTRACT_SUFX= .tgz @@ -21,18 +21,16 @@ RUN_DEPENDS= p5-Net-PcapUtils>=0:${PORTS NO_BUILD= yes WRKSRC= ${WRKDIR}/${PORTNAME} -USES= perl5 +USES= perl5 shebangfix USE_PERL5= run -MAN8= netleak.8 netleakd.8 +SHEBANG_FILES= netleak netleakd -PLIST_FILES= etc/netleak.conf etc/netleakd.conf sbin/netleak sbin/netleakd PORTDOCS= BUGS README TODO -NO_STAGE= yes post-install: .if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk> Modified: head/net-mgmt/netleak/files/patch-Makefile ============================================================================== --- head/net-mgmt/netleak/files/patch-Makefile Mon Jun 9 03:59:09 2014 (r357100) +++ head/net-mgmt/netleak/files/patch-Makefile Mon Jun 9 04:07:14 2014 (r357101) @@ -1,5 +1,5 @@ ---- Makefile.orig 2005-01-16 16:42:22.000000000 -0500 -+++ Makefile 2009-06-26 14:57:03.000000000 -0400 +--- Makefile.orig 2005-01-17 05:42:22.000000000 +0800 ++++ Makefile 2014-06-09 12:04:06.347905833 +0800 @@ -1,5 +1,5 @@ # change this to use another location -PREFIX=/usr/local @@ -7,24 +7,28 @@ BINFILES = netleak netleakd CFILES= netleak.conf netleakd.conf -@@ -10,15 +10,15 @@ +@@ -10,15 +10,15 @@ main: @echo "type 'make uninstall' to uninstall" install: - @mkdir -p $(PREFIX)/sbin - @mkdir -p $(PREFIX)/etc - @mkdir -p $(PREFIX)/share/man/man8 -+# @mkdir -p $(PREFIX)/sbin -+# @mkdir -p $(PREFIX)/etc -+# @mkdir -p $(PREFIX)/man/man8 - install netleak $(PREFIX)/sbin - install netleakd $(PREFIX)/sbin - install netleak.conf $(PREFIX)/etc - install netleakd.conf $(PREFIX)/etc +- install netleak $(PREFIX)/sbin +- install netleakd $(PREFIX)/sbin +- install netleak.conf $(PREFIX)/etc +- install netleakd.conf $(PREFIX)/etc - install netleak.8 $(PREFIX)/share/man/man8 - install netleakd.8 $(PREFIX)/share/man/man8 -+ install netleak.8 $(PREFIX)/man/man8 -+ install netleakd.8 $(PREFIX)/man/man8 ++ @mkdir -p $(DESTDIR)$(PREFIX)/sbin ++ @mkdir -p $(DESTDIR)$(PREFIX)/etc ++ @mkdir -p $(DESTDIR)$(PREFIX)/man/man8 ++ install netleak $(DESTDIR)$(PREFIX)/sbin ++ install netleakd $(DESTDIR)$(PREFIX)/sbin ++ install netleak.conf $(DESTDIR)$(PREFIX)/etc/netleak.conf.sample ++ install netleakd.conf $(DESTDIR)$(PREFIX)/etc/netleakd.conf.sample ++ install netleak.8 $(DESTDIR)$(PREFIX)/man/man8 ++ install netleakd.8 $(DESTDIR)$(PREFIX)/man/man8 uninstall: rm -f $(PREFIX)/sbin/netleak Added: head/net-mgmt/netleak/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/netleak/pkg-plist Mon Jun 9 04:07:14 2014 (r357101) @@ -0,0 +1,6 @@ +@sample etc/netleak.conf.sample +@sample etc/netleakd.conf.sample +man/man8/netleak.8.gz +man/man8/netleakd.8.gz +sbin/netleak +sbin/netleakd
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406090407.s5947FWi054844>