[csw-devel] SF.net SVN: gar:[19673] csw/mgar/pkg/lang-java/xerces2/trunk/Makefile
cgrzemba at users.sourceforge.net
cgrzemba at users.sourceforge.net
Mon Nov 12 16:39:38 CET 2012
Revision: 19673
http://gar.svn.sourceforge.net/gar/?rev=19673&view=rev
Author: cgrzemba
Date: 2012-11-12 15:39:38 +0000 (Mon, 12 Nov 2012)
Log Message:
-----------
lang-java/xerces2/trunk: fix the additional licenses problem
Modified Paths:
--------------
csw/mgar/pkg/lang-java/xerces2/trunk/Makefile
Modified: csw/mgar/pkg/lang-java/xerces2/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lang-java/xerces2/trunk/Makefile 2012-11-12 13:27:03 UTC (rev 19672)
+++ csw/mgar/pkg/lang-java/xerces2/trunk/Makefile 2012-11-12 15:39:38 UTC (rev 19673)
@@ -1,30 +1,39 @@
# $Id$
# TODO (release-critical prefixed with !, non release-critical with *)
#
-NAME = Xerces
+NAME = xercesj
VERSION = 2.11.0
GARTYPE = v2
CATEGORIES = lib
-DESCRIPTION = Brief description
+DESCRIPTION = Java XML parser
define BLURB
- Long description
+ The Apache Xerces2 parser is the reference implementation of XNI but other parser components, configurations, and parsers can be written using the Xerces Native Interface. For complete design and implementation documents, refer to the XNI Manual.
+
+
endef
+NOGITPATCH = 1
+
# MASTER_SITES = http://apache.lauf-forum.at//xerces/j/source/
MASTER_SITES = http://mirror.lwnetwork.org.uk/APACHE//xerces/j/binaries/
-DISTNAME = $(NAME)-J-bin.$(VERSION)
-DISTFILES = $(DISTNAME).tar.gz
+DISTFILES = Xerces-J-bin.$(VERSION).tar.gz
LICENSE = LICENSE
EXTRA_LICENSE += LICENSE-SAX.html
EXTRA_LICENSE += LICENSE.DOM-documentation.html
-EXTRA_LICENSE += LICENSE.DOM-resolver.html
+EXTRA_LICENSE += LICENSE.DOM-software.html
+EXTRA_LICENSE += LICENSE.resolver.txt
EXTRA_LICENSE += LICENSE.serializer.txt
EXTRA_LICENSE += NOTICE
EXTRA_LICENSE += NOTICE.resolver.txt
EXTRA_LICENSE += NOTICE.serializer.txt
-WORKSRC = $(WORKDIR)/$(call tolower,$(NAME))-$(subst .,_,$(VERSION))
+DISTNAME = xerces-$(subst .,_,$(VERSION))
+
+ARCHALL = 1
+PACKAGES += CSWxercesj
+SPKG_DESC_CSWxercesj = $(DESCRIPTION)
+
CONFIGURE_SCRIPTS =
TEST_SCRIPTS =
BUILD_SCRIPTS = xerces
@@ -42,13 +51,14 @@
# && $(BUILD_ENV) sh build.sh)
@$(MAKECOOKIES)
-# merge-license-modulated:
-# umask 022 && mkdir -p $(PKGROOT)$$LICENSEDIR && \
-# rm -f $(PKGROOT)$$LICENSEDIR/license && \
-# cp $(foreach lic,$(LICENSE),$(WORKSRC)/$(lic)) $(PKGROOT)$$LICENSEDIR
-# @$(MAKECOOKIE)
+JAR_FILES += resolver.jar
+JAR_FILES += serializer.jar
+JAR_FILES += xercesImpl.jar
+JAR_FILES += xercesSamples.jar
install-xerces:
ginstall -d -m 755 $(DESTDIR)$(datadir)/java
- ginstall -m644 $(WORKSRC)/*.jar $(DESTDIR)$(datadir)/java
+ ginstall -d -m 755 $(DESTDIR)$(docdir)/$(NAME)
+ ginstall -m644 $(foreach jar,$(JAR_FILES),$(WORKSRC)/$(jar)) $(DESTDIR)$(datadir)/java
+ ginstall -m644 $(foreach lic,$(EXTRA_LICENSE),$(WORKSRC)/$(lic)) $(DESTDIR)$(docdir)/$(NAME)
@$(MAKECOOKIES)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list