pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

java-protobuf: Add test-target



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sun Aug 7 00:09:48 2016 +0200
Changeset:	097b66c44ba6dc956b1e69d6701f5e9705e807dd

Modified Files:
	java-protobuf/Makefile
	java-protobuf/PLIST

Log Message:
java-protobuf: Add test-target

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=097b66c44ba6dc956b1e69d6701f5e9705e807dd

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 java-protobuf/Makefile | 11 +++++-
 java-protobuf/PLIST    | 95 ++------------------------------------------------
 2 files changed, 13 insertions(+), 93 deletions(-)

diffs:
diff --git a/java-protobuf/Makefile b/java-protobuf/Makefile
index d2bac29..02f7d1f 100644
--- a/java-protobuf/Makefile
+++ b/java-protobuf/Makefile
@@ -29,7 +29,16 @@ pre-build:
 	${LN} -s ${PREFIX}/bin/protoc ${WRKSRC}/src
 
 do-build:
-	${RUN} cd ${WRKSRC}/java && ${PKGSRC_SETENV} ${MAKE_ENV} ${PREFIX}/bin/mvn ${MAVEN_FLAGS} package
+	${RUN} cd ${WRKSRC}/java && \
+		${PKGSRC_SETENV} ${MAKE_ENV} ${PREFIX}/bin/mvn ${MAVEN_FLAGS} package
+
+INSTALLATION_DIRS+=	lib/java/protobuf
+
+do-install:
+	${INSTALL_DATA} ${WRKSRC}/java/util/target/protobuf-java-util-${PKGVERSION_NOREV}.jar \
+		${DESTDIR}${PREFIX}/lib/java/protobuf
+	${INSTALL_DATA} ${WRKSRC}/java/core/target/protobuf-java-${PKGVERSION_NOREV}.jar \
+		${DESTDIR}${PREFIX}/lib/java/protobuf
 
 .include "../../devel/protobuf/buildlink3.mk"
 .include "../../mk/java-vm.mk"
diff --git a/java-protobuf/PLIST b/java-protobuf/PLIST
index eb93243..e386a1f 100644
--- a/java-protobuf/PLIST
+++ b/java-protobuf/PLIST
@@ -1,92 +1,3 @@
-@comment $NetBSD: PLIST,v 1.2 2015/06/10 01:31:52 wiedi Exp $
-${PYSITELIB}/google/protobuf/__init__.py
-${PYSITELIB}/google/protobuf/__init__.pyc
-${PYSITELIB}/google/protobuf/__init__.pyo
-${PYSITELIB}/google/protobuf/compiler/__init__.py
-${PYSITELIB}/google/protobuf/compiler/__init__.pyc
-${PYSITELIB}/google/protobuf/compiler/__init__.pyo
-${PYSITELIB}/google/protobuf/compiler/plugin_pb2.py
-${PYSITELIB}/google/protobuf/compiler/plugin_pb2.pyc
-${PYSITELIB}/google/protobuf/compiler/plugin_pb2.pyo
-${PYSITELIB}/google/protobuf/descriptor.py
-${PYSITELIB}/google/protobuf/descriptor.pyc
-${PYSITELIB}/google/protobuf/descriptor.pyo
-${PYSITELIB}/google/protobuf/descriptor_database.py
-${PYSITELIB}/google/protobuf/descriptor_database.pyc
-${PYSITELIB}/google/protobuf/descriptor_database.pyo
-${PYSITELIB}/google/protobuf/descriptor_pb2.py
-${PYSITELIB}/google/protobuf/descriptor_pb2.pyc
-${PYSITELIB}/google/protobuf/descriptor_pb2.pyo
-${PYSITELIB}/google/protobuf/descriptor_pool.py
-${PYSITELIB}/google/protobuf/descriptor_pool.pyc
-${PYSITELIB}/google/protobuf/descriptor_pool.pyo
-${PYSITELIB}/google/protobuf/internal/__init__.py
-${PYSITELIB}/google/protobuf/internal/__init__.pyc
-${PYSITELIB}/google/protobuf/internal/__init__.pyo
-${PYSITELIB}/google/protobuf/internal/api_implementation.py
-${PYSITELIB}/google/protobuf/internal/api_implementation.pyc
-${PYSITELIB}/google/protobuf/internal/api_implementation.pyo
-${PYSITELIB}/google/protobuf/internal/containers.py
-${PYSITELIB}/google/protobuf/internal/containers.pyc
-${PYSITELIB}/google/protobuf/internal/containers.pyo
-${PYSITELIB}/google/protobuf/internal/cpp_message.py
-${PYSITELIB}/google/protobuf/internal/cpp_message.pyc
-${PYSITELIB}/google/protobuf/internal/cpp_message.pyo
-${PYSITELIB}/google/protobuf/internal/decoder.py
-${PYSITELIB}/google/protobuf/internal/decoder.pyc
-${PYSITELIB}/google/protobuf/internal/decoder.pyo
-${PYSITELIB}/google/protobuf/internal/encoder.py
-${PYSITELIB}/google/protobuf/internal/encoder.pyc
-${PYSITELIB}/google/protobuf/internal/encoder.pyo
-${PYSITELIB}/google/protobuf/internal/enum_type_wrapper.py
-${PYSITELIB}/google/protobuf/internal/enum_type_wrapper.pyc
-${PYSITELIB}/google/protobuf/internal/enum_type_wrapper.pyo
-${PYSITELIB}/google/protobuf/internal/message_listener.py
-${PYSITELIB}/google/protobuf/internal/message_listener.pyc
-${PYSITELIB}/google/protobuf/internal/message_listener.pyo
-${PYSITELIB}/google/protobuf/internal/python_message.py
-${PYSITELIB}/google/protobuf/internal/python_message.pyc
-${PYSITELIB}/google/protobuf/internal/python_message.pyo
-${PYSITELIB}/google/protobuf/internal/type_checkers.py
-${PYSITELIB}/google/protobuf/internal/type_checkers.pyc
-${PYSITELIB}/google/protobuf/internal/type_checkers.pyo
-${PYSITELIB}/google/protobuf/internal/wire_format.py
-${PYSITELIB}/google/protobuf/internal/wire_format.pyc
-${PYSITELIB}/google/protobuf/internal/wire_format.pyo
-${PYSITELIB}/google/protobuf/message.py
-${PYSITELIB}/google/protobuf/message.pyc
-${PYSITELIB}/google/protobuf/message.pyo
-${PYSITELIB}/google/protobuf/message_factory.py
-${PYSITELIB}/google/protobuf/message_factory.pyc
-${PYSITELIB}/google/protobuf/message_factory.pyo
-${PYSITELIB}/google/protobuf/pyext/__init__.py
-${PYSITELIB}/google/protobuf/pyext/__init__.pyc
-${PYSITELIB}/google/protobuf/pyext/__init__.pyo
-${PYSITELIB}/google/protobuf/pyext/cpp_message.py
-${PYSITELIB}/google/protobuf/pyext/cpp_message.pyc
-${PYSITELIB}/google/protobuf/pyext/cpp_message.pyo
-${PYSITELIB}/google/protobuf/reflection.py
-${PYSITELIB}/google/protobuf/reflection.pyc
-${PYSITELIB}/google/protobuf/reflection.pyo
-${PYSITELIB}/google/protobuf/service.py
-${PYSITELIB}/google/protobuf/service.pyc
-${PYSITELIB}/google/protobuf/service.pyo
-${PYSITELIB}/google/protobuf/service_reflection.py
-${PYSITELIB}/google/protobuf/service_reflection.pyc
-${PYSITELIB}/google/protobuf/service_reflection.pyo
-${PYSITELIB}/google/protobuf/symbol_database.py
-${PYSITELIB}/google/protobuf/symbol_database.pyc
-${PYSITELIB}/google/protobuf/symbol_database.pyo
-${PYSITELIB}/google/protobuf/text_encoding.py
-${PYSITELIB}/google/protobuf/text_encoding.pyc
-${PYSITELIB}/google/protobuf/text_encoding.pyo
-${PYSITELIB}/google/protobuf/text_format.py
-${PYSITELIB}/google/protobuf/text_format.pyc
-${PYSITELIB}/google/protobuf/text_format.pyo
-${PYSITELIB}/${EGG_NAME}-nspkg.pth
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD$
+lib/java/protobuf/protobuf-java-${PKGVERSION}.jar
+lib/java/protobuf/protobuf-java-util-${PKGVERSION}.jar


Home | Main Index | Thread Index | Old Index