1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00

sysutils/DTraceToolkit: Unbreak by fixing shebang

Port changes:
* Fix warnings about symbolic links by using ${RLN}
* Add USES=perl5 (obviously missing)
* Add USE_RUBY=yes (obviously missing)
* Add LICENSE

Approved by:	portmgr (port compliance, infrastructure)
This commit is contained in:
Yuri Victorovich 2018-03-18 20:00:33 +00:00
parent 4e115a32a1
commit 3aa0add9f7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=464946

View File

@ -3,17 +3,21 @@
PORTNAME= dtrace-toolkit
PORTVERSION= 1.0
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= sysutils
MAINTAINER= skreuzer@FreeBSD.org
COMMENT= Collection of useful scripts for DTrace
LICENSE= CDDL
LICENSE_FILE= ${WRKSRC}/Docs/cddl1.txt
USES= perl5 python shebangfix
USE_GITHUB= yes
GH_ACCOUNT= opendtrace
GH_PROJECT= toolkit
GH_TAGNAME= f36d00b
USES= shebangfix
USE_RUBY= yes
SHEBANG_LANG= sh
sh_OLD_CMD= /usr/bin/sh ./sh
sh_CMD= ${SH}
@ -74,13 +78,13 @@ SHEBANG_FILES= Apps/shellsnoop \
NO_BUILD= yes
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC}; ${TAR} --exclude '*.orig' -cf - . ) | \
(cd ${STAGEDIR}${DATADIR}/; ${TAR} xvf -)
${LN} -fs ${DATADIR}/hotkernel ${STAGEDIR}${PREFIX}/bin/hotkernel
${LN} -fs ${DATADIR}/procsystime ${STAGEDIR}${PREFIX}/bin/procsystime
${LN} -fs ${DATADIR}/opensnoop ${STAGEDIR}${PREFIX}/bin/opensnoop
${LN} -fs ${DATADIR}/Apps/shellsnoop ${STAGEDIR}${PREFIX}/bin/shellsnoop
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC} && ${TAR} --exclude '*.orig' -cf - . ) | \
(cd ${STAGEDIR}${DATADIR}/ && ${TAR} xvf -)
${RLN} -s ${STAGEDIR}${DATADIR}/hotkernel ${STAGEDIR}${PREFIX}/bin/hotkernel
${RLN} -s ${STAGEDIR}${DATADIR}/procsystime ${STAGEDIR}${PREFIX}/bin/procsystime
${RLN} -s ${STAGEDIR}${DATADIR}/opensnoop ${STAGEDIR}${PREFIX}/bin/opensnoop
${RLN} -s ${STAGEDIR}${DATADIR}/Apps/shellsnoop ${STAGEDIR}${PREFIX}/bin/shellsnoop
.for MANPAGE in hotkernel procsystime opensnoop shellsnoop
${INSTALL_MAN} ${WRKSRC}/Man/man1m/${MANPAGE}.1m \