[csw-devel] SF.net SVN: gar:[13389] csw/mgar/pkg/java/ajcvalidator/trunk/Makefile
wbonnet at users.sourceforge.net
wbonnet at users.sourceforge.net
Sat Feb 19 11:51:13 CET 2011
Revision: 13389
http://gar.svn.sourceforge.net/gar/?rev=13389&view=rev
Author: wbonnet
Date: 2011-02-19 10:51:13 +0000 (Sat, 19 Feb 2011)
Log Message:
-----------
java/validator fix Makefile
Modified Paths:
--------------
csw/mgar/pkg/java/ajcvalidator/trunk/Makefile
Modified: csw/mgar/pkg/java/ajcvalidator/trunk/Makefile
===================================================================
--- csw/mgar/pkg/java/ajcvalidator/trunk/Makefile 2011-02-19 10:46:22 UTC (rev 13388)
+++ csw/mgar/pkg/java/ajcvalidator/trunk/Makefile 2011-02-19 10:51:13 UTC (rev 13389)
@@ -11,15 +11,24 @@
# Use jakarta sources
MASTER_SITES = http://apache.cict.fr/commons/$(SHORTNAME)/binaries/
-UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*)(-bin*).tar.gz
# Set archive filename
DISTFILES = $(NAME)-$(VERSION).tar.gz
# Defines two packages, lib and doc
-DISTFILES += $(call admfiles,CSWajcvalidator,)
-DISTFILES += $(call admfiles,CSWajcvalidatordoc,)
+PACKAGES = CSWajcvalidator CSWajcvalidatordoc
+# Package architecture is ALL (pure java)
+ARCHALL = 1
+
+CATALOGNAME_CSWajcvalidator = commons_validator
+CATALOGNAME_CSWajcvalidatordoc = commons_valid_doc
+
+LICENSE = LICENSE.txt
+
+CHECKPKG_OVERRIDES_CSWajcvalidatordoc += catalogname-does-not-match-pkgname|pkgname=CSWajcvalidatordoc|catalogname=commons_valid_doc|expected-catalogname=ajcvalidatordoc
+CHECKPKG_OVERRIDES_CSWajcvalidator += catalogname-does-not-match-pkgname|pkgname=CSWajcvalidator|catalogname=commons_validator|expected-catalogname=ajcvalidator
+
# Defines package description
SPKG_DESC_CSWajcvalidator = $(DESCRIPTION)
SPKG_DESC_CSWajcvalidatordoc = $(DESCRIPTION) documentation package
@@ -28,7 +37,6 @@
# RUNTIME_DEP_PKGS_CSWajcvalidator = No dependency
# Defines package content
-PKGFILES_CSWajcvalidator = $(prefix)/share/doc/$(NAME)/License.txt
PKGFILES_CSWajcvalidator += $(prefix)/share/java/.*
# Defines custom steps since java libs do not use autotools
@@ -49,7 +57,5 @@
ln -s $(NAME)-$(VERSION).jar $(NAME)-1.jar ; \
ln -s $(NAME)-$(VERSION).jar $(NAME).jar )
@ginstall -d $(DESTDIR)$(datadir)/doc/$(NAME)
- @gcp -fp $(WORKSRC)/$(DISTNAME)/LICENSE.txt $(DESTDIR)$(datadir)/doc/$(NAME)/License.txt
- @gcp -fp $(WORKSRC)/$(DISTNAME)/LICENSE.txt $(DESTDIR)$(datadir)/doc/$(NAME)/License-documentation.txt
@gcp -frp $(WORKSRC)/$(DISTNAME)/docs/* $(DESTDIR)$(datadir)/doc/$(NAME)
@$(MAKECOOKIE)
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