aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2014-10-18 23:53:57 +0800
committerdanilo <danilo@FreeBSD.org>2014-10-18 23:53:57 +0800
commit3d93a771d16707e8861d398c5ef17bf32aea425b (patch)
treec446a064ac13f453c272fb0393219cbd7a58a4e9
parent2cb9a569b6b14a40be376c6a51641acb303ec951 (diff)
downloadfreebsd-ports-gnome-3d93a771d16707e8861d398c5ef17bf32aea425b.tar.gz
freebsd-ports-gnome-3d93a771d16707e8861d398c5ef17bf32aea425b.tar.zst
freebsd-ports-gnome-3d93a771d16707e8861d398c5ef17bf32aea425b.zip
- Update from 5.1.3 to 5.2.0
- Docs is no longer available in the zip file Changelog: http://pmd.sourceforge.net/pmd-5.2.0/overview/changelog.html
-rw-r--r--devel/pmd/Makefile7
-rw-r--r--devel/pmd/distinfo4
-rw-r--r--devel/pmd/pkg-plist16
3 files changed, 17 insertions, 10 deletions
diff --git a/devel/pmd/Makefile b/devel/pmd/Makefile
index bfa2d5b077cb..a9733e51bb06 100644
--- a/devel/pmd/Makefile
+++ b/devel/pmd/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= pmd
-PORTVERSION= 5.1.3
+PORTVERSION= 5.2.0
CATEGORIES= devel java
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-bin-${PORTVERSION}
@@ -18,11 +18,8 @@ USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
-PORTDOCS= *
PLIST_SUB+= PORTVERSION=${PORTVERSION}
-OPTIONS_DEFINE= DOCS
-
post-patch:
@${REINPLACE_CMD} -e 's|#!/bin/bash|#!/bin/sh|' \
-e 's|LIB_DIR=$$(pwd -P)|LIB_DIR=${DATADIR}|' ${WRKSRC}/bin/run.sh
@@ -31,7 +28,5 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bin/run.sh ${STAGEDIR}${PREFIX}/bin/pmd
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/lib/* ${STAGEDIR}${DATADIR}
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/devel/pmd/distinfo b/devel/pmd/distinfo
index f602e5decaff..6a4c6e3e55e8 100644
--- a/devel/pmd/distinfo
+++ b/devel/pmd/distinfo
@@ -1,2 +1,2 @@
-SHA256 (pmd-bin-5.1.3.zip) = 1b4a19a1dc2381c2c058d30b62b8db017a8f4b44d525a288759c5ad2634ecfcc
-SIZE (pmd-bin-5.1.3.zip) = 23208206
+SHA256 (pmd-bin-5.2.0.zip) = 77fa6ca5a0097dfb075283375c1d57258933a67b840e20161479a7e15f7c415f
+SIZE (pmd-bin-5.2.0.zip) = 7719257
diff --git a/devel/pmd/pkg-plist b/devel/pmd/pkg-plist
index d4b49d206d2c..348379e6f970 100644
--- a/devel/pmd/pkg-plist
+++ b/devel/pmd/pkg-plist
@@ -7,7 +7,19 @@ bin/pmd
%%DATADIR%%/jaxen-1.1.1.jar
%%DATADIR%%/jcommander-1.27.jar
%%DATADIR%%/jdom-1.0.jar
-%%DATADIR%%/pmd-%%PORTVERSION%%.jar
+%%DATADIR%%/pmd-core-%%PORTVERSION%%.jar
+%%DATADIR%%/pmd-cpp-%%PORTVERSION%%.jar
+%%DATADIR%%/pmd-cs-%%PORTVERSION%%.jar
+%%DATADIR%%/pmd-fortran-%%PORTVERSION%%.jar
+%%DATADIR%%/pmd-go-%%PORTVERSION%%.jar
+%%DATADIR%%/pmd-java-%%PORTVERSION%%.jar
+%%DATADIR%%/pmd-javascript-%%PORTVERSION%%.jar
+%%DATADIR%%/pmd-jsp-%%PORTVERSION%%.jar
+%%DATADIR%%/pmd-php-%%PORTVERSION%%.jar
+%%DATADIR%%/pmd-plsql-%%PORTVERSION%%.jar
+%%DATADIR%%/pmd-ruby-%%PORTVERSION%%.jar
+%%DATADIR%%/pmd-vm-%%PORTVERSION%%.jar
+%%DATADIR%%/pmd-xml-%%PORTVERSION%%.jar
%%DATADIR%%/rhino-1.7R3.jar
%%DATADIR%%/saxon-9.1.0.8-dom.jar
%%DATADIR%%/saxon-9.1.0.8.jar
@@ -15,4 +27,4 @@ bin/pmd
%%DATADIR%%/xml-apis-1.3.02.jar
%%DATADIR%%/xmlParserAPIs-2.6.2.jar
%%DATADIR%%/xom-1.0.jar
-@dirrm %%DATADIR%%
+@dir %%DATADIR%%