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

skayser at users.sourceforge.net skayser at users.sourceforge.net
Thu Jun 4 02:28:07 CEST 2009


Revision: 5148
          http://gar.svn.sourceforge.net/gar/?rev=5148&view=rev
Author:   skayser
Date:     2009-06-04 00:28:07 +0000 (Thu, 04 Jun 2009)

Log Message:
-----------
dante: license included, pkgs now each have their own docs

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

Modified: csw/mgar/pkg/dante/trunk/Makefile
===================================================================
--- csw/mgar/pkg/dante/trunk/Makefile	2009-06-03 23:47:59 UTC (rev 5147)
+++ csw/mgar/pkg/dante/trunk/Makefile	2009-06-04 00:28:07 UTC (rev 5148)
@@ -1,5 +1,4 @@
 # Todo
-# * Compare with current catalog package WRT to config file etc.
 # * Ponder about the SOCKS_CONF / issetguid() issue
 GARNAME = dante
 GARVERSION = 1.1.19
@@ -21,6 +20,7 @@
 MASTER_SITES += ftp://ftp.inet.no/pub/socks/old/
 DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
 SPKG_SOURCEURL = http://www.inet.no/dante/
+LICENSE = LICENSE
 
 PACKAGES = CSWlibsocks CSWdante
 
@@ -32,9 +32,9 @@
 EXTRA_MERGE_EXCLUDE_FILES = $(includedir)/socks.h
 
 PKGFILES_CSWlibsocks = $(PKGFILES_RT) .*socks.*
-PKGFILES_CSWlibsocks += $(addprefix $(docdir)/$(GARNAME)/,NEWS SUPPORT CREDITS )
-PKGFILES_CSWlibsocks += $(docdir)/$(GARNAME)/.*CSW
+PKGFILES_CSWlibsocks += $(docdir)/libsocks/.*
 PKGFILES_CSWdante = .*sockd.* /etc/opt/csw/init.d/cswdante
+PKGFILES_CSWdante += $(docdir)/dante/.*
 
 REQUIRED_PKGS_CSWdante = CSWlibsocks CSWcswclassutils CSWtcpwrap
 
@@ -75,18 +75,33 @@
 #			$(WORKSRC)/include/common.h
 #	@$(MAKECOOKIE)
 
-post-install-modulated: DOCDEST = $(DESTDIR)$(docdir)/$(GARNAME)
-post-install-modulated: DOCS = CREDITS NEWS SUPPORT
-post-install-modulated: CSWDOCS = README.CSW changelog.CSW
-post-install-modulated:
+post-install-libsocks: DOCDEST = $(DESTDIR)$(docdir)/libsocks
+post-install-libsocks: DOCS = CREDITS NEWS SUPPORT
+post-install-libsocks: CSWDOCS = README.CSW changelog.CSW
+post-install-libsocks:
 	@ginstall -d $(DOCDEST)/examples
-	@cp $(WORKSRC)/example/*.conf $(DOCDEST)/examples
+	@cp $(WORKSRC)/example/socks*.conf $(DOCDEST)/examples
 	@$(foreach D,$(DOCS),    cp $(WORKSRC)/$(D) $(DOCDEST);)
 	@$(foreach D,$(CSWDOCS), cp $(FILEDIR)/$(D) $(DOCDEST);)
+	@$(MAKECOOKIE)
 
+
+post-install-dante: DOCDEST = $(DESTDIR)$(docdir)/dante
+post-install-dante: DOCS = CREDITS NEWS SUPPORT
+post-install-dante: CSWDOCS = changelog.CSW
+post-install-dante:
+	@ginstall -d $(DOCDEST)/examples
+	@cp $(WORKSRC)/example/sockd*.conf $(DOCDEST)/examples
+	@$(foreach D,$(DOCS),    cp $(WORKSRC)/$(D) $(DOCDEST);)
+	@$(foreach D,$(CSWDOCS), cp $(FILEDIR)/$(D) $(DOCDEST);)
+
 	@ginstall -d $(DESTDIR)/etc/opt/csw/init.d
 	@cp $(FILEDIR)/CSWdante.cswdante $(DESTDIR)/etc/opt/csw/init.d/cswdante
 
 	# /var/opt/csw/run is not in CSWcommon
 	@ginstall -d $(DESTDIR)/var/opt/csw/run
 	@$(MAKECOOKIE)
+
+
+post-install-modulated: post-install-libsocks post-install-dante
+	@$(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