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:
parent
515b425fac
commit
b890d0fc74
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357215
@ -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>
|
||||
|
@ -1,2 +0,0 @@
|
||||
bin/jode
|
||||
%%JAVAJARDIR%%/jode-%%VERSION%%.jar
|
Loading…
Reference in New Issue
Block a user