summaryrefslogtreecommitdiff
path: root/java/jode
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2014-06-09 22:45:46 +0000
committerMikhail Teterin <mi@FreeBSD.org>2014-06-09 22:45:46 +0000
commitb890d0fc74f682d09e985afafd358fc870ba7b41 (patch)
tree544a4e50320830bdb93faa05ff685e22098f3aed /java/jode
parentSupport staging. Convert from NOPORTDOCS to the new way... (diff)
Support staging. While here, get rid of the two-line pkg-plist.
Notes
Notes: svn path=/head/; revision=357215
Diffstat (limited to 'java/jode')
-rw-r--r--java/jode/Makefile10
-rw-r--r--java/jode/pkg-plist2
2 files changed, 2 insertions, 10 deletions
diff --git a/java/jode/Makefile b/java/jode/Makefile
index 5419b5d451ac..5804267c7e9a 100644
--- a/java/jode/Makefile
+++ b/java/jode/Makefile
@@ -27,10 +27,9 @@ CLASSLIB= ${JAVA_CLASSES}:${GETOPT_JAR}
CONFIGURE_ENV+= CLASSLIB=${CLASSLIB} JAR="${JAR}" \
JAVA="${JAVA}" JAVAC="${JAVAC}"
CONFIGURE_ARGS+=--datadir="${JAVALIBDIR}"
-NO_STAGE= yes
# Don't create the dependencies:
MAKE_ARGS+= JAVADEP=:
-PLIST_SUB+= VERSION=${VENDOR_VERSION}
+PLIST_FILES= bin/jode %%JAVAJARDIR%%/jode-${VENDOR_VERSION}.jar
post-patch:
${FIND} ${WRKSRC} -name '*.java*' | \
@@ -44,11 +43,6 @@ post-build:
post-install:
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${VENDOR_VERSION}.jar \
- ${JAVAJARDIR}/
-# Documentation HTML seems broken and out of date. Don't bother
-#.ifndef (NOPORTDOCS)
-# ${MKDIR} ${DOCSDIR}
-# ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${WRKSRC}/doc/*.gif ${DOCSDIR}/
-#.endif
+ ${STAGEDIR}/${JAVAJARDIR}/
.include <bsd.port.mk>
diff --git a/java/jode/pkg-plist b/java/jode/pkg-plist
deleted file mode 100644
index 58aa8b4fb9b4..000000000000
--- a/java/jode/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-bin/jode
-%%JAVAJARDIR%%/jode-%%VERSION%%.jar