forked from Lainports/freebsd-ports
- Allow staging as a regular user
- Clarify License - Use shebangfix rather than manual post-patch
This commit is contained in:
parent
07b254245e
commit
42a4a444b6
1 changed files with 3 additions and 6 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue