aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2015-11-06 20:51:25 +0800
committermakc <makc@FreeBSD.org>2015-11-06 20:51:25 +0800
commitb44be968c4e4b92fa2dda43a5fb7faebdfd94d96 (patch)
tree96379a2cc62c1b4ac5c8657be37acda593c33036 /java
parentf1804a182d36e74d6e6e24009cd300d6559a455b (diff)
downloadfreebsd-ports-graphics-b44be968c4e4b92fa2dda43a5fb7faebdfd94d96.tar.gz
freebsd-ports-graphics-b44be968c4e4b92fa2dda43a5fb7faebdfd94d96.tar.zst
freebsd-ports-graphics-b44be968c4e4b92fa2dda43a5fb7faebdfd94d96.zip
java/jrosetta:
- Remove COMPILE option. It is broken and I have never used it. PR: 203251 Reported by: olivier at gautherot.net
Diffstat (limited to 'java')
-rw-r--r--java/jrosetta/Makefile46
-rw-r--r--java/jrosetta/files/settings.xml3
2 files changed, 6 insertions, 43 deletions
diff --git a/java/jrosetta/Makefile b/java/jrosetta/Makefile
index 21d73000f4a..e443b319110 100644
--- a/java/jrosetta/Makefile
+++ b/java/jrosetta/Makefile
@@ -5,9 +5,11 @@ PORTNAME= jrosetta
PORTVERSION= 1.0.4
PORTREVISION= 1
CATEGORIES= java devel
-MASTER_SITES= http://maven.artenum.com/content/groups/public/com/artenum/${PORTNAME}/${PORTVERSION}/:source \
- http://maven.artenum.com/content/groups/public/com/artenum/${PORTNAME}/${PORTNAME}-api/${PORTVERSION}/:api \
+MASTER_SITES= http://maven.artenum.com/content/groups/public/com/artenum/${PORTNAME}/${PORTNAME}-api/${PORTVERSION}/:api \
http://maven.artenum.com/content/groups/public/com/artenum/${PORTNAME}/${PORTNAME}-engine/${PORTVERSION}/:engine
+DISTFILES= ${PORTNAME}-api-${PORTVERSION}.jar:api \
+ ${PORTNAME}-engine-${PORTVERSION}.jar:engine
+EXTRACT_ONLY= #
MAINTAINER= makc@FreeBSD.org
COMMENT= API for building a graphical console in Swing
@@ -15,48 +17,12 @@ COMMENT= API for building a graphical console in Swing
USES= zip
USE_JAVA= yes
JAVA_RUN= yes
+NO_BUILD= yes
PLIST_FILES= %%JAVAJARDIR%%/jrosetta-api.jar \
%%JAVAJARDIR%%/jrosetta-engine.jar
-OPTIONS_DEFINE= COMPILE
-COMPILE_DESC= Download and compile source instead of using provided binaries
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MCOMPILE}
-DISTFILES= ${DISTNAME}-sources.jar:source
-
-BUILD_DEPENDS= mvn:${PORTSDIR}/devel/maven3
-JAVA_BUILD= yes
-
-MANUAL_PACKAGE_BUILD= maven fetches files during build target
-
-OUTPUT= ${WRKDIR}/m2/com/artenum/jrosetta
-.else
-DISTFILES= ${PORTNAME}-api-${PORTVERSION}.jar:api \
- ${PORTNAME}-engine-${PORTVERSION}.jar:engine
-EXTRACT_ONLY=
-
-NO_BUILD= yes
-NO_INSTALL= yes
-.endif
-
-post-patch-COMPILE-on:
- ${MKDIR} ${WRKDIR}/m2
- ${CP} ${FILESDIR}/settings.xml ${WRKDIR}
- ${REINPLACE_CMD} -e "s|WORK|${WRKDIR}|" ${WRKDIR}/settings.xml
-
-do-build-COMPILE-on:
- (cd ${WRKSRC} && ${LOCALBASE}/bin/mvn -gs "${WRKDIR}/settings.xml" clean install)
-
-do-install-COMPILE-on:
- ${INSTALL_DATA} ${OUTPUT}/jrosetta-api/${PORTVERSION}/jrosetta-api-${PORTVERSION}.jar \
- ${STAGEDIR}${JAVAJARDIR}/jrosetta-api.jar
- ${INSTALL_DATA} ${OUTPUT}/jrosetta-engine/${PORTVERSION}/jrosetta-engine-${PORTVERSION}.jar \
- ${STAGEDIR}${JAVAJARDIR}/jrosetta-engine.jar
-
-do-install-COMPILE-off:
+do-install:
${INSTALL_DATA} ${DISTDIR}/jrosetta-api-${PORTVERSION}.jar \
${STAGEDIR}${JAVAJARDIR}/jrosetta-api.jar
${INSTALL_DATA} ${DISTDIR}/jrosetta-engine-${PORTVERSION}.jar \
diff --git a/java/jrosetta/files/settings.xml b/java/jrosetta/files/settings.xml
deleted file mode 100644
index f3cdff028af..00000000000
--- a/java/jrosetta/files/settings.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-<settings>
- <localRepository>WORK/m2</localRepository>
-</settings>