aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorbofh <bofh@FreeBSD.org>2016-06-12 17:50:03 +0800
committerbofh <bofh@FreeBSD.org>2016-06-12 17:50:03 +0800
commitab72fdf51ad9362cb2953da3b11e8d330e5f5cb6 (patch)
treee372c9632ff71f05d7fbc9ac6d1d2c41200e927c /java
parentb38dbc469cbcdfb0955d8fe3f4a36d9dc345260e (diff)
downloadfreebsd-ports-gnome-ab72fdf51ad9362cb2953da3b11e8d330e5f5cb6.tar.gz
freebsd-ports-gnome-ab72fdf51ad9362cb2953da3b11e8d330e5f5cb6.tar.zst
freebsd-ports-gnome-ab72fdf51ad9362cb2953da3b11e8d330e5f5cb6.zip
java/java-checkstyle: Update version 6.3=>6.19
- Mark NO_ARCH - Convert to OPTIONSNG based do-install
Diffstat (limited to 'java')
-rw-r--r--java/java-checkstyle/Makefile10
-rw-r--r--java/java-checkstyle/distinfo5
2 files changed, 10 insertions, 5 deletions
diff --git a/java/java-checkstyle/Makefile b/java/java-checkstyle/Makefile
index e375bf00a529..28fe9bee8c7e 100644
--- a/java/java-checkstyle/Makefile
+++ b/java/java-checkstyle/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= checkstyle
-PORTVERSION= 6.3
+PORTVERSION= 6.19
CATEGORIES= java devel
MASTER_SITES= SF
PKGNAMEPREFIX= java-
@@ -29,6 +29,7 @@ PORTEXAMPLES= *
SUB_FILES= ${PORTNAME}.sh
OPTIONS_DEFINE= DOCS EXAMPLES
+NO_ARCH= yes
do-install:
@-${MKDIR} ${STAGEDIR}${JAVAJARDIR}
@@ -36,13 +37,16 @@ do-install:
${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+do-install-DOCS-on:
@-${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} LICENSE* RIGHTS.antlr \
${STAGEDIR}${DOCSDIR})
+
+do-install-EXAMPLES-on:
@-${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for EXAMPLEFILE in checkstyle_checks import-control suppressions
- ${INSTALL_DATA} ${WRKSRC}/${EXAMPLEFILE}.xml ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/config/${EXAMPLEFILE}.xml ${STAGEDIR}${EXAMPLESDIR}
.endfor
- (cd ${WRKSRC} && ${COPYTREE_SHARE} contrib ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>
diff --git a/java/java-checkstyle/distinfo b/java/java-checkstyle/distinfo
index 80ca025fd1a4..9b4c3c2d659e 100644
--- a/java/java-checkstyle/distinfo
+++ b/java/java-checkstyle/distinfo
@@ -1,2 +1,3 @@
-SHA256 (checkstyle-6.3-bin.tar.gz) = c40d0ddc0b0fe55ecb1c49a080982b4a1c59bebcebf8d7c2d52d39dfbda93ca0
-SIZE (checkstyle-6.3-bin.tar.gz) = 8024850
+TIMESTAMP = 1465721409
+SHA256 (checkstyle-6.19-bin.tar.gz) = 697299d18c05d1848e0b9d72b4006e0b5158b60328c6c7cf869e57e54b4c0975
+SIZE (checkstyle-6.19-bin.tar.gz) = 9243989