aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-09-10 22:45:19 +0800
committerantoine <antoine@FreeBSD.org>2014-09-10 22:45:19 +0800
commit2dcc9740a295a839cebbc626c3d1348be7e39ce4 (patch)
tree755df69e673dcfd9ebd8a4258fc7790710989569 /sysutils
parent524c844fdd3cea2d4afd2b35dcb646674fd90d8a (diff)
downloadfreebsd-ports-gnome-2dcc9740a295a839cebbc626c3d1348be7e39ce4.tar.gz
freebsd-ports-gnome-2dcc9740a295a839cebbc626c3d1348be7e39ce4.tar.zst
freebsd-ports-gnome-2dcc9740a295a839cebbc626c3d1348be7e39ce4.zip
- Allow staging as a regular user
- Clarify License - Use shebangfix rather than manual post-patch
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/sysgather/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/sysutils/sysgather/Makefile b/sysutils/sysgather/Makefile
index 41c521a14809..0fc7dfe30283 100644
--- a/sysutils/sysgather/Makefile
+++ b/sysutils/sysgather/Makefile
@@ -9,14 +9,15 @@ MASTER_SITES= http://devel.ringlet.net/sysutils/sysgather/
MAINTAINER= ports@FreeBSD.org
COMMENT= Keep configuration files under version control
-LICENSE= BSD
+LICENSE= BSD2CLAUSE
BUILD_DEPENDS= p5-Config-IniFiles>=0:${PORTSDIR}/devel/p5-Config-IniFiles
RUN_DEPENDS:= ${BUILD_DEPENDS}
OPTIONS_DEFINE= EXAMPLES
-USES= perl5
+USES= perl5 shebangfix uidfix
+SHEBANG_FILES= sysgather.pl
.include <bsd.port.options.mk>
@@ -24,8 +25,4 @@ USES= perl5
MAKE_ENV+= EXAMPLESDIR="${WRKDIR}"
.endif
-post-patch:
- @${REINPLACE_CMD} -e \
- 's|^#!.*/perl|#!${PERL}|' ${WRKSRC}/sysgather.pl
-
.include <bsd.port.mk>