aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerve Quiroz <hq@FreeBSD.org>2005-03-20 14:38:06 +0000
committerHerve Quiroz <hq@FreeBSD.org>2005-03-20 14:38:06 +0000
commit17963408e4389384f158566414affb0cc90a307f (patch)
treefafae749cf9d7d2f78c41810b6c0a567307009d8
parent1f7f6c7d97bc7d015021244f2529c45693bf5cf8 (diff)
downloadports-17963408e4389384f158566414affb0cc90a307f.tar.gz
ports-17963408e4389384f158566414affb0cc90a307f.zip
- Install Sun Code Conventions sample file [1]
- Disable jikes PR: 78229 [1] Submitted by: Daniel Grund <daniel@dgrund.de> [1] Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=131723
-rw-r--r--java/java-checkstyle/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/java/java-checkstyle/Makefile b/java/java-checkstyle/Makefile
index 553bbf89ffff..4c0ffe4d4105 100644
--- a/java/java-checkstyle/Makefile
+++ b/java/java-checkstyle/Makefile
@@ -7,6 +7,7 @@
PORTNAME= checkstyle
PORTVERSION= 3.5
+PORTREVISION= 1
CATEGORIES= java devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -22,12 +23,14 @@ USE_JAVA= yes
JAVA_VERSION= 1.4+
USE_ANT= yes
ALL_TARGET= build.bindist
+USE_JIKES= no
PLIST= ${WRKDIR}/PLIST
STYLEDIR= ${JAVASHAREDIR}/${PORTNAME}
-PLIST_FILES= bin/checkstyle %%JAVAJARDIR%%/${PORTNAME}.jar %%JAVAJARDIR%%/${PORTNAME}-optional.jar
+PLIST_FILES= bin/checkstyle %%JAVAJARDIR%%/${PORTNAME}.jar %%JAVAJARDIR%%/${PORTNAME}-optional.jar \
+ ${STYLEDIR:S,${PREFIX}/,,}/examples/conf/sun_checks.xml
.if !defined(NOPORTDOCS)
BUILDDIR= ${WRKSRC}/target/dist/${PORTNAME}-${PORTVERSION}
PORTDOCS= README LICENSE* TODO RIGHTS* docs
@@ -57,6 +60,7 @@ do-install-data:
@${MKDIR} ${STYLEDIR}
@${CP} -r ${BUILDDIR}/contrib/* ${STYLEDIR}
@${CHOWN} -h -R ${SHAREOWN}:${SHAREGRP} ${STYLEDIR}
+ @${INSTALL_DATA} ${WRKSRC}/sun_checks.xml ${STYLEDIR}/examples/conf/
do-install-apidocs:
.if !defined(NOPORTDOCS)