svn commit: r388730 - head/sysutils/sysgather
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sun Jun 7 16:09:00 UTC 2015
Author: amdmi3
Date: Sun Jun 7 16:08:59 2015
New Revision: 388730
URL: https://svnweb.freebsd.org/changeset/ports/388730
Log:
- Modernize plist, switch to @sample
Modified:
head/sysutils/sysgather/Makefile
head/sysutils/sysgather/pkg-plist
Modified: head/sysutils/sysgather/Makefile
==============================================================================
--- head/sysutils/sysgather/Makefile Sun Jun 7 16:08:32 2015 (r388729)
+++ head/sysutils/sysgather/Makefile Sun Jun 7 16:08:59 2015 (r388730)
@@ -3,6 +3,7 @@
PORTNAME= sysgather
DISTVERSION= 1.0pre10
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://devel.ringlet.net/sysutils/sysgather/
@@ -14,15 +15,19 @@ LICENSE= BSD2CLAUSE
BUILD_DEPENDS= p5-Config-IniFiles>=0:${PORTSDIR}/devel/p5-Config-IniFiles
RUN_DEPENDS:= ${BUILD_DEPENDS}
-OPTIONS_DEFINE= EXAMPLES
-
USES= perl5 shebangfix uidfix
SHEBANG_FILES= sysgather.pl
+OPTIONS_DEFINE= EXAMPLES
+
.include <bsd.port.options.mk>
.if empty(PORT_OPTIONS:MEXAMPLES)
MAKE_ENV+= EXAMPLESDIR="${WRKDIR}"
.endif
+post-install:
+ ${MV} ${STAGEDIR}${PREFIX}/etc/sysgather.conf.default \
+ ${STAGEDIR}${PREFIX}/etc/sysgather.conf.sample
+
.include <bsd.port.mk>
Modified: head/sysutils/sysgather/pkg-plist
==============================================================================
--- head/sysutils/sysgather/pkg-plist Sun Jun 7 16:08:32 2015 (r388729)
+++ head/sysutils/sysgather/pkg-plist Sun Jun 7 16:08:59 2015 (r388730)
@@ -1,9 +1,6 @@
bin/sysgather
- at unexec if cmp -s %D/etc/sysgather.conf %D/etc/sysgather.conf.default; then rm -f %D/etc/sysgather.conf; fi
-etc/sysgather.conf.default
- at exec [ -f %B/sysgather.conf ] || cp %B/%f %B/sysgather.conf
+ at sample etc/sysgather.conf.sample
man/man1/sysgather.1.gz
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/debian.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/freebsd.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/slackware.conf
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
More information about the svn-ports-all
mailing list