[csw-devel] SF.net SVN: gar:[5012] csw/mgar/pkg/drupal/trunk/Makefile

valholla at users.sourceforge.net valholla at users.sourceforge.net
Fri May 22 19:49:09 CEST 2009


Revision: 5012
          http://gar.svn.sourceforge.net/gar/?rev=5012&view=rev
Author:   valholla
Date:     2009-05-22 17:49:09 +0000 (Fri, 22 May 2009)

Log Message:
-----------
add RELOCATE_PREFIX

Modified Paths:
--------------
    csw/mgar/pkg/drupal/trunk/Makefile

Modified: csw/mgar/pkg/drupal/trunk/Makefile
===================================================================
--- csw/mgar/pkg/drupal/trunk/Makefile	2009-05-22 17:47:10 UTC (rev 5011)
+++ csw/mgar/pkg/drupal/trunk/Makefile	2009-05-22 17:49:09 UTC (rev 5012)
@@ -24,6 +24,7 @@
 SPKG_DESC_CSWdrupal = $(DESCRIPTION)
 
 ALLOW_RELOCATE = 1
+RELOCATE_PREFIX = /opt/csw/share
 
 # We define upstream file regex so we can be notifed of 
 # new upstream software release
@@ -39,7 +40,7 @@
 REQUIRED_PKGS_CSWdrupal  = CSWapache2c CSWphp5 CSWphp5gd CSWphp5mbstring
 REQUIRED_PKGS_CSWdrupal += CSWphp5session CSWap2modphp5
 
-DRUPAL_INST_DIR = $(DESTDIR)$(datadir)/$(GARNAME)/$(GARVERSION)
+DRUPAL_INST_DIR = $(DESTDIR)$(prefix)/$(GARNAME)/$(GARVERSION)
 DRUPAL_DOCFILES  = CHANGELOG.txt COPYRIGHT.txt INSTALL.mysql.txt
 DRUPAL_DOCFILES += INSTALL.pgsql.txt INSTALL.txt LICENSE.txt
 DRUPAL_DOCFILES += MAINTAINERS.txt UPGRADE.txt
@@ -70,7 +71,7 @@
 *	Before you can use druppal you need to configure it.
 *	
 *	For instructions on configuring Please Read
-*   $$PKG_INST_ROOT/drupal/documentation/README.CSW
+*   $${PKG_INST_ROOT}$${BASEDIR}/$(GARNAME)/$(GARVERSION)/documentation/README.CSW
 *
 *********************************************************************
 


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