[csw-devel] SF.net SVN: gar:[5773] csw/mgar/pkg

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Fri Jul 31 15:47:22 CEST 2009


Revision: 5773
          http://gar.svn.sourceforge.net/gar/?rev=5773&view=rev
Author:   wahwah
Date:     2009-07-31 13:47:20 +0000 (Fri, 31 Jul 2009)

Log Message:
-----------
nxcl: Initial commit

Modified Paths:
--------------
    csw/mgar/pkg/nxcl/trunk/Makefile
    csw/mgar/pkg/nxcl/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/nxcl/
    csw/mgar/pkg/nxcl/trunk/files/doc-0.9.patch

Modified: csw/mgar/pkg/nxcl/trunk/Makefile
===================================================================
--- csw/mgar/pkg/template/trunk/Makefile	2009-07-30 14:20:06 UTC (rev 5733)
+++ csw/mgar/pkg/nxcl/trunk/Makefile	2009-07-31 13:47:20 UTC (rev 5773)
@@ -2,27 +2,38 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-GARNAME = mypkg
-GARVERSION = 1.0
-CATEGORIES = lib
+GARNAME = nxcl
+GARVERSION = 0.9
+CATEGORIES = utils
 
-DESCRIPTION = This is a useful library
+DESCRIPTION = A library for the Free NX client
 define BLURB
-  It does stuff with things
+  A library for NX clients.
 endef
 
-MASTER_SITES = 
-DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+DL_NAME = freenx-client
+WORKSRC = $(WORKDIR)/$(DL_NAME)-$(GARVERSION)/nxcl
 
+docdir = $(datadir)/doc
+
+PATCHFILES = doc-$(GARVERSION).patch
+
+MASTER_SITES = http://download.berlios.de/freenx/
+DISTFILES  = $(DL_NAME)-$(GARVERSION).tar.bz2
+DISTFILES += $(PATCHFILES)
+
+
 # We define upstream file regex so we can be notifed of new upstream software release
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+UFILES_REGEX = $(DL_NAME)-(\d+(?:\.\d+)*).tar.bz2
 
-CONFIGURE_ARGS = $(DIRPATHS)
+PREREQUISITE_PKGS  = CSWautoconf CSWautomake CSWlibtool
+PREREQUISITE_PKGS += CSWdoxygen CSWspeex
 
-# Remove the following rules and uncomment the
-# include before building.
-all: .DEFAULT
-.DEFAULT:
-	@true
+CONFIGURE_ARGS = $(DIRPATHS) --docdir=$(docdir)
+TEST_SCRIPTS =
 
-#include gar/category.mk
+pre-configure-modulated:
+	(cd $(WORKSRC); autoreconf -fi)
+	@$(MAKECOOKIE)
+
+include gar/category.mk

Modified: csw/mgar/pkg/nxcl/trunk/checksums
===================================================================
--- csw/mgar/pkg/template/trunk/checksums	2009-07-30 14:20:06 UTC (rev 5733)
+++ csw/mgar/pkg/nxcl/trunk/checksums	2009-07-31 13:47:20 UTC (rev 5773)
@@ -0,0 +1,2 @@
+64cd8521338304661c4c2c1498616c87  download/doc-0.9.patch
+777b3cda7a245e3870d4870a9460cb73  download/freenx-client-0.9.tar.bz2

Added: csw/mgar/pkg/nxcl/trunk/files/doc-0.9.patch
===================================================================
--- csw/mgar/pkg/nxcl/trunk/files/doc-0.9.patch	                        (rev 0)
+++ csw/mgar/pkg/nxcl/trunk/files/doc-0.9.patch	2009-07-31 13:47:20 UTC (rev 5773)
@@ -0,0 +1,35 @@
+diff -ru nxcl.orig/doc/Makefile.am nxcl/doc/Makefile.am
+--- nxcl.orig/doc/Makefile.am	2008-03-10 23:13:08.000000000 +0000
++++ nxcl/doc/Makefile.am	2009-07-31 14:43:27.406751436 +0100
+@@ -2,7 +2,7 @@
+ 
+ DOXYFILE = Doxyfile
+ 
+-docdir = $(prefix)/doc/$(PACKAGE)-$(VERSION)
++docdir2 = $(docdir)/$(PACKAGE)-$(VERSION)
+ 
+ EXTRA_DIST = html
+ 
+@@ -15,17 +15,17 @@
+ 	doxygen
+ 
+ install-data-local:
+-	$(mkinstalldirs) $(DESTDIR)$(docdir)
++	$(mkinstalldirs) $(DESTDIR)$(docdir2)
+ 	@for file in $(srcdir)/html/*; do \
+ 		bn="`basename $$file`"; \
+-		echo " $(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/$$bn"; \
+-		$(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/$$bn; \
++		echo " $(INSTALL_DATA) $$file $(DESTDIR)$(docdir2)/$$bn"; \
++		$(INSTALL_DATA) $$file $(DESTDIR)$(docdir2)/$$bn; \
+ 	done
+ 
+ uninstall-local:
+ 	@for file in $(srcdir)/html/*; do \
+ 		bn="`basename $$file`"; \
+-		echo " rm -f $(DESTDIR)$(docdir)/$$bn"; \
+-		rm -f $(DESTDIR)$(docdir)/$$bn; \
++		echo " rm -f $(DESTDIR)$(docdir2)/$$bn"; \
++		rm -f $(DESTDIR)$(docdir2)/$$bn; \
+ 	done
+ 


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