1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00

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

This commit is contained in:
Tobias Kortkamp 2018-01-04 08:42:55 +00:00
parent 5ab85d28ec
commit 2598f47702
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=458017
4 changed files with 9 additions and 14 deletions

View File

@ -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})

View File

@ -1,11 +0,0 @@
======================================================================
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
======================================================================

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec "%%JAVA%%" ${STATSVN_JAVA_ARGS} -jar "%%DATADIR%%/statsvn.jar" "$@"

View File

@ -0,0 +1 @@
Manual: https://wiki.statsvn.org/User%20Manual.ashx