Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 2018 08:42:56 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r458017 - in head/devel/statsvn: . files
Message-ID:  <201801040842.w048gu6L062743@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Thu Jan  4 08:42:55 2018
New Revision: 458017
URL: https://svnweb.freebsd.org/changeset/ports/458017

Log:
  devel/statsvn: Add wrapper script and trim pkg-message

Added:
  head/devel/statsvn/files/statsvn.in   (contents, props changed)
  head/devel/statsvn/pkg-message
     - copied, changed from r458016, head/devel/statsvn/files/pkg-message.in
Deleted:
  head/devel/statsvn/files/pkg-message.in
Modified:
  head/devel/statsvn/Makefile

Modified: head/devel/statsvn/Makefile
==============================================================================
--- head/devel/statsvn/Makefile	Thu Jan  4 08:38:19 2018	(r458016)
+++ head/devel/statsvn/Makefile	Thu Jan  4 08:42:55 2018	(r458017)
@@ -3,7 +3,7 @@
 
 PORTNAME=	statsvn
 PORTVERSION=	0.7.0
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	devel java
 MASTER_SITES=	SF
 DISTNAME=	${PORTNAME}-${PORTVERSION}-source
@@ -26,10 +26,12 @@ NO_ARCH=	yes
 
 ALL_TARGET=	dist
 
-SUB_FILES=	pkg-message
+SUB_FILES=	statsvn
+SUB_LIST=	JAVA=${JAVA}
 
 PORTDOCS=	*
-PLIST_FILES=	%%DATADIR%%/statsvn.jar
+PLIST_FILES=	bin/statsvn \
+		%%DATADIR%%/statsvn.jar
 
 OPTIONS_DEFINE=	DOCS
 
@@ -37,6 +39,7 @@ DOCS_ALL_TARGET=	javadoc
 
 do-install:
 	(cd ${WRKSRC}/dist && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
+	${INSTALL_SCRIPT} ${WRKDIR}/statsvn ${STAGEDIR}${PREFIX}/bin
 
 do-install-DOCS-on:
 	(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})

Added: head/devel/statsvn/files/statsvn.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/statsvn/files/statsvn.in	Thu Jan  4 08:42:55 2018	(r458017)
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec "%%JAVA%%" ${STATSVN_JAVA_ARGS} -jar "%%DATADIR%%/statsvn.jar" "$@"

Copied and modified: head/devel/statsvn/pkg-message (from r458016, head/devel/statsvn/files/pkg-message.in)
==============================================================================
--- head/devel/statsvn/files/pkg-message.in	Thu Jan  4 08:38:19 2018	(r458016, copy source)
+++ head/devel/statsvn/pkg-message	Thu Jan  4 08:42:55 2018	(r458017)
@@ -1,11 +1 @@
-======================================================================
-You have just installed StatSVN, a Subversion repository activity
-report generator.
-
-To use the tool, run the following command:
-
-java -jar %%DATADIR%%/statsvn.jar
-
-Full usage instructions and command options are found at:
-http://wiki.statsvn.org/User%20Manual.ashx
-======================================================================
+Manual: https://wiki.statsvn.org/User%20Manual.ashx



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