1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Support staging. While here, get rid of the two-line pkg-plist.

This commit is contained in:
Mikhail Teterin 2014-06-09 22:45:46 +00:00
parent 515b425fac
commit b890d0fc74
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357215
2 changed files with 2 additions and 10 deletions

View File

@ -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>

View File

@ -1,2 +0,0 @@
bin/jode
%%JAVAJARDIR%%/jode-%%VERSION%%.jar