Index: head/devel/apache-rat/Makefile =================================================================== --- head/devel/apache-rat/Makefile (nonexistent) +++ head/devel/apache-rat/Makefile (revision 421130) @@ -0,0 +1,45 @@ +# Created by: Pedro Giffuni +# $FreeBSD$ + +PORTNAME= apache-rat +PORTVERSION= 0.11 +CATEGORIES= devel java +MASTER_SITES= APACHE/creadur/${PORTNAME}-${PORTVERSION}/ +DISTNAME= ${PORTNAME}-${PORTVERSION}-bin + +MAINTAINER= pfg@FreeBSD.org +COMMENT= Release audit tool + +LICENSE= APACHE20 + +USES= tar:bzip2 +USE_JAVA= yes + +NO_BUILD= YES +DATADIR= ${JAVASHAREDIR}/${PORTNAME} + +PORTDOCS= README-ANT.txt README-CLI.txt README.txt RELEASE_NOTES.txt + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +SUB_FILES= apache-rat.sh + +.include + +do-install: + @${ECHO_MSG} ">> Installing JAR..." + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar \ + ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar + @${ECHO_MSG} " [ DONE ]" + @${ECHO_MSG} ">> Installing script..." + ${INSTALL_SCRIPT} ${WRKDIR}/apache-rat.sh ${STAGEDIR}${PREFIX}/bin/apache-rat + @${ECHO_MSG} " [ DONE ]" + +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @${ECHO_MSG} ">> Installing documentation..." + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + @${ECHO_MSG} " [ DONE ]" +.endif + +.include Property changes on: head/devel/apache-rat/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/apache-rat/distinfo =================================================================== --- head/devel/apache-rat/distinfo (nonexistent) +++ head/devel/apache-rat/distinfo (revision 421130) @@ -0,0 +1,3 @@ +TIMESTAMP = 1472586549 +SHA256 (apache-rat-0.11-bin.tar.bz2) = 313a021845570e67d694fec716af72e6fef0731af63a10750b642b06b40b0e98 +SIZE (apache-rat-0.11-bin.tar.bz2) = 1281784 Property changes on: head/devel/apache-rat/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/apache-rat/files/apache-rat.sh.in =================================================================== --- head/devel/apache-rat/files/apache-rat.sh.in (nonexistent) +++ head/devel/apache-rat/files/apache-rat.sh.in (revision 421130) @@ -0,0 +1,17 @@ +#!/bin/sh +# +# FreeBSD-specific script for Apache Rat. +# +# $FreeBSD$ +# +# See: http://creadur.apache.org/rat/apache-rat/ + +JAVACMD="${JAVACMD:-"%%LOCALBASE%%/bin/java"}" +if [ ! -x "${JAVACMD}" ]; then + echo "Error: ${JAVACMD} is not present on your system" >&2 + echo " Please specify the path to an existing java executable with the" >&2 + echo " JAVACMD environment variable when running rat." >&2 + exit 1 +fi + +exec "${JAVACMD}" -jar %%JAVAJARDIR%%/apache-rat.jar "$@" Property changes on: head/devel/apache-rat/files/apache-rat.sh.in ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/apache-rat/pkg-descr =================================================================== --- head/devel/apache-rat/pkg-descr (nonexistent) +++ head/devel/apache-rat/pkg-descr (revision 421130) @@ -0,0 +1,6 @@ +Apache Rat. + +Apache Rat is a release audit tool, focused on licenses. Use Rat to improve +accuracy and efficiency when checking releases for licenses. + +WWW: http://creadur.apache.org/rat/ Property changes on: head/devel/apache-rat/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/apache-rat/pkg-plist =================================================================== --- head/devel/apache-rat/pkg-plist (nonexistent) +++ head/devel/apache-rat/pkg-plist (revision 421130) @@ -0,0 +1,2 @@ +bin/apache-rat +%%JAVAJARDIR%%/apache-rat.jar Property changes on: head/devel/apache-rat/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property