- Allow staging as a regular user

- Clarify License
- Use shebangfix rather than manual post-patch
This commit is contained in:
Antoine Brodin 2014-09-10 14:45:19 +00:00
parent 07b254245e
commit 42a4a444b6

View file

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