[csw-devel] SF.net SVN: gar:[16847] csw/mgar/pkg/lang-java/389-console/trunk/Makefile
cgrzemba at users.sourceforge.net
cgrzemba at users.sourceforge.net
Fri Jan 20 14:11:12 CET 2012
Revision: 16847
http://gar.svn.sourceforge.net/gar/?rev=16847&view=rev
Author: cgrzemba
Date: 2012-01-20 13:11:11 +0000 (Fri, 20 Jan 2012)
Log Message:
-----------
lang-java/389-console/trunk: fix wrapper script
Modified Paths:
--------------
csw/mgar/pkg/lang-java/389-console/trunk/Makefile
Modified: csw/mgar/pkg/lang-java/389-console/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lang-java/389-console/trunk/Makefile 2012-01-20 09:46:15 UTC (rev 16846)
+++ csw/mgar/pkg/lang-java/389-console/trunk/Makefile 2012-01-20 13:11:11 UTC (rev 16847)
@@ -14,51 +14,51 @@
Administration Server and 389 Directory Server.
endef
-MASTER_SITES = http://port389.org/source
+MASTER_SITES = http://port389/source
DISTFILES = $(NAME)-$(VERSION).tar.bz2
-PACKAGES = CSW389-console
-# RUNTIME_DEP_PKGS = CSWidm-console-base CSWldapjdk CSWjss4
-DEP_PKGS = CSWidm-console-base CSWldapjdk CSWjss4
+PACKAGES = CSW389console
+RUNTIME_DEP_PKGS = CSWidm-console-base CSWldapjdk CSWjss4
ARCHALL = 1
-PACKAGING_PLATFORMS = solaris10-sparc
-CATALOGNAME_CSW389-console = 389_console
+CATALOGNAME_CSW389console = 389-console
LICENSE = LICENSE
WORKSRC = $(WORKDIR)
-EXTRAJARSPATH = /opt/csw/share/java
-# EXTRAJARSPATH = /home/cgrzemba/java
CONFIGURE_SCRIPTS =
BUILD_SCRIPTS = custom
TEST_SCRIPTS =
INSTALL_SCRIPTS = custom
-CHECKPKG_OVERRIDES_CSW389-console += unidentified-dependency|CSWidm-console-base
-CHECKPKG_OVERRIDES_CSW389-console += surplus-dependency|CSWidm-console-base
-CHECKPKG_OVERRIDES_CSW389-console += surplus-dependency|CSWldapjdk
-CHECKPKG_OVERRIDES_CSW389-console += surplus-dependency|CSWjss4
-# CHECKPKG_OVERRIDES_CSW389-console += pkginfo-opencsw-repository-uncommitted
-CHECKPKG_OVERRIDES_CSW389-console += pkginfo-description-not-starting-with-uppercase|389|Directory|Server|-|Management|Console|Client
-
-
include gar/category.mk
install-custom:
@ginstall -d $(DESTDIR)$(datadir)/java
@ginstall -d $(DESTDIR)$(bindir)
@gcp -fp $(WORKSRC)/$(DISTNAME)/built/$(NAME)-$(VERSION)_en.jar $(DESTDIR)$(datadir)/java
- @gcp -fp $(WORKSRC)/$(DISTNAME)/389-console $(DESTDIR)$(bindir)
+ @ginstall -m 755 $(WORKSRC)/$(DISTNAME)/389-console $(DESTDIR)$(bindir)
@( cd $(DESTDIR)$(datadir)/java ; \
ln -s $(NAME)-$(VERSION)_en.jar $(NAME)-$(MAJOR_VERSION)_en.jar ; \
ln -s $(NAME)-$(VERSION)_en.jar $(NAME)_en.jar )
+ @gsed -i -e 's+ at jssjar@+$(datadir)/java/jss4.jar+' \
+ -e 's+ at ldapjdkjar@+$(datadir)/java/ldapjdk.jar+' \
+ -e 's+ at basejar@+idm-console-base.jar+' \
+ -e 's+ at mccjar@+idm-console-mcc.jar+' \
+ -e 's+ at mcclangjar@+idm-console-mcc_en.jar+' \
+ -e 's+ at nmclfjar@+idm-console-nmclf.jar+' \
+ -e 's+ at nmclflangjar@+idm-console-nmclf_en.jar+' \
+ -e 's+ at themejar@+$(NAME).jar+' \
+ -e 's+ at classdest@+$(datadir)/java+' \
+ -e 's+ at prefsdir@+389-console+' \
+ -e 's+ at libdir@+$(libdir)+' \
+ $(DESTDIR)$(bindir)/389-console
@$(MAKECOOKIE)
build-custom:
@( cd $(WORKSRC)/$(DISTNAME); \
pwd; \
- ant -Dbuilt.dir=`pwd`/built -Dldapjdk.local.location=$(EXTRAJARSPATH) -Djss.local.location=$(EXTRAJARSPATH) -Dconsole.local.location=$(EXTRAJARSPATH) )
+ ant -Dbuilt.dir=`pwd`/built -Dldapjdk.local.location=/opt/csw/share/java -Djss.local.location=/opt/csw/share/java -Dconsole.local.location=/opt/csw/share/java )
@$(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