Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Mar 2018 20:00:34 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r464946 - head/sysutils/DTraceToolkit
Message-ID:  <201803182000.w2IK0YCk068162@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Mar 18 20:00:33 2018
New Revision: 464946
URL: https://svnweb.freebsd.org/changeset/ports/464946

Log:
  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)

Modified:
  head/sysutils/DTraceToolkit/Makefile

Modified: head/sysutils/DTraceToolkit/Makefile
==============================================================================
--- head/sysutils/DTraceToolkit/Makefile	Sun Mar 18 19:45:08 2018	(r464945)
+++ head/sysutils/DTraceToolkit/Makefile	Sun Mar 18 20:00:33 2018	(r464946)
@@ -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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803182000.w2IK0YCk068162>