1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

- 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
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=367856

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>