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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Jan 30 11:47:52 CET 2009


Revision: 2938
          http://gar.svn.sourceforge.net/gar/?rev=2938&view=rev
Author:   dmichelsen
Date:     2009-01-30 10:47:51 +0000 (Fri, 30 Jan 2009)

Log Message:
-----------
xmahjongg: Initial commit of legacy build description

Added Paths:
-----------
    csw/mgar/pkg/xmahjongg/
    csw/mgar/pkg/xmahjongg/branches/
    csw/mgar/pkg/xmahjongg/tags/
    csw/mgar/pkg/xmahjongg/trunk/
    csw/mgar/pkg/xmahjongg/trunk/Makefile
    csw/mgar/pkg/xmahjongg/trunk/files/
    csw/mgar/pkg/xmahjongg/trunk/files/CSWpackage.gspec
    csw/mgar/pkg/xmahjongg/trunk/legacy/
    csw/mgar/pkg/xmahjongg/trunk/legacy/BUILD.NOTES
    csw/mgar/pkg/xmahjongg/trunk/legacy/README
    csw/mgar/pkg/xmahjongg/trunk/legacy/copyright
    csw/mgar/pkg/xmahjongg/trunk/legacy/depend
    csw/mgar/pkg/xmahjongg/trunk/legacy/pkginfo
    csw/mgar/pkg/xmahjongg/trunk/legacy/prototype
    csw/mgar/pkg/xmahjongg/trunk/legacy/src/
    csw/mgar/pkg/xmahjongg/trunk/legacy/src/Makefile
    csw/mgar/pkg/xmahjongg/trunk/legacy/src/xmahjongg-3.7.tar.gz


Property changes on: csw/mgar/pkg/xmahjongg/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sf.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/xmahjongg/trunk/Makefile
===================================================================
--- csw/mgar/pkg/xmahjongg/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/xmahjongg/trunk/Makefile	2009-01-30 10:47:51 UTC (rev 2938)
@@ -0,0 +1,23 @@
+GARNAME = package
+GARVERSION = 1.0
+CATEGORIES = category
+
+DESCRIPTION = Brief description
+define BLURB
+  Long description
+endef
+
+MASTER_SITES = 
+DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+DISTFILES += $(call admfiles,CSWpackage,)
+
+# We define upstream file regex so we can be notifed of new upstream software release
+UFILES_REGEX = -(\d+(?:\.\d+)*).tar.gz
+
+# If the url used to check for software update is different of MASTER_SITES, then 
+# uncomment the next line. Otherwise it is set by default to the value of MASTER_SITES
+# UPSTREAM_MASTER_SITES = 
+
+CONFIGURE_ARGS = $(DIRPATHS)
+
+include gar/category.mk

Added: csw/mgar/pkg/xmahjongg/trunk/files/CSWpackage.gspec
===================================================================
--- csw/mgar/pkg/xmahjongg/trunk/files/CSWpackage.gspec	                        (rev 0)
+++ csw/mgar/pkg/xmahjongg/trunk/files/CSWpackage.gspec	2009-01-30 10:47:51 UTC (rev 2938)
@@ -0,0 +1,4 @@
+%var            bitname package
+%var            pkgname CSWpackage
+%include        url file://%{PKGLIB}/csw_dyndepend.gspec
+%copyright      url file://%{WORKSRC}/LICENSE

Added: csw/mgar/pkg/xmahjongg/trunk/legacy/BUILD.NOTES
===================================================================
--- csw/mgar/pkg/xmahjongg/trunk/legacy/BUILD.NOTES	                        (rev 0)
+++ csw/mgar/pkg/xmahjongg/trunk/legacy/BUILD.NOTES	2009-01-30 10:47:51 UTC (rev 2938)
@@ -0,0 +1,146 @@
+###############################################################################
+# FILE:		BUILD.NOTES
+#
+# DESCRIPTION:	Build notes for the XMAHJONGG package.  These are notes
+#		concerning the compiling and testing of this package.
+#
+#		Use the detailed instructions in the README file for package
+#		creation.
+#
+# PACKAGE:      CSWxmahjongg
+#
+# CUR VER:	Xmahjongg Version 3.7
+#
+# REVISION:     04-15-07
+###############################################################################
+
+-------------------------------------------------------------------------------
+HISTORY:
+-------------------------------------------------------------------------------
+Date:		Version:		Notes:
+-------------------------------------------------------------------------------
+04-15-07	3.7			Initial package build
+-------------------------------------------------------------------------------
+
+-------------------------------------------------------------------------------
+SPARC & INTEL:
+-------------------------------------------------------------------------------
+
+make:
+
+    * board.cc
+    	"panel.hh", line 44: Warning: Identifier expected instead of "}".
+	"panel.hh", line 48: Warning: Identifier expected instead of "}".
+	"board.hh", line 77: Warning: Identifier expected instead of "}".
+	"hint.hh", line 53: Warning: Hint::alarm hides the virtual \
+		function AlarmHooks::alarm(Alarm*).
+	4 Warning(s) detected.
+
+    * button.cc
+    	"panel.hh", line 44: Warning: Identifier expected instead of "}".
+	"panel.hh", line 48: Warning: Identifier expected instead of "}".
+	"button.hh", line 36: Warning: Button::alarm hides the virtual \
+		function AlarmHooks::alarm(Alarm*).
+	3 Warning(s) detected.
+
+    * game.cc
+    	"game.cc", line 399: Warning (Anachronism): Formal argument 4 of \
+		type extern "C" int(*)(const void*,const void*) in call to \
+		std::qsort(void*, unsigned, unsigned, extern "C" \
+		int(*)(const void*,const void*)) is being passed \
+		int(*)(const void*,const void*).
+	1 Warning(s) detected.
+
+    * gmjts.cc
+    	"gmjts.hh", line 13: Warning: Identifier expected instead of "}".
+	1 Warning(s) detected.
+
+    * hint.cc
+    	"hint.hh", line 53: Warning: Hint::alarm hides the virtual \
+		function AlarmHooks::alarm(Alarm*).
+	"panel.hh", line 44: Warning: Identifier expected instead of "}".
+	"panel.hh", line 48: Warning: Identifier expected instead of "}".
+	"board.hh", line 77: Warning: Identifier expected instead of "}".
+	4 Warning(s) detected.
+
+    * kdets.cc
+    	"kdets.hh", line 13: Warning: Identifier expected instead of "}".
+	1 Warning(s) detected.
+
+    * kmjts.cc
+    	"kmjts.hh", line 13: Warning: Identifier expected instead of "}".
+	1 Warning(s) detected.
+
+    * main.cc
+    	"xmj3ts.hh", line 21: Warning: Identifier expected instead of "}".
+	"gmjts.hh", line 13: Warning: Identifier expected instead of "}".
+	"kmjts.hh", line 13: Warning: Identifier expected instead of "}".
+	"kdets.hh", line 13: Warning: Identifier expected instead of "}".
+	"panel.hh", line 44: Warning: Identifier expected instead of "}".
+	"panel.hh", line 48: Warning: Identifier expected instead of "}".
+	"board.hh", line 77: Warning: Identifier expected instead of "}".
+	"hint.hh", line 53: Warning: Hint::alarm hides the virtual \
+		function AlarmHooks::alarm(Alarm*).
+	"button.hh", line 36: Warning: Button::alarm hides the virtual \
+		function AlarmHooks::alarm(Alarm*).
+	"solution.hh", line 35: Warning: SolutionDisplay::alarm hides \
+		the virtual function AlarmHooks::alarm(Alarm*).
+	"main.cc", line 174: Warning (Anachronism): Formal argument 4 of \
+		type extern "C" int(*)(const void*,const void*) in call to\
+		std::qsort(void*, unsigned, unsigned, extern "C" \
+		int(*)(const void*,const void*)) is being passed \
+		int(*)(const void*,const void*).
+	"main.cc", line 253: Warning: String literal converted to char* \
+		in formal argument name in call to new_button(Panel*, char*).
+	"main.cc", line 254: Warning: String literal converted to char* \
+		in formal argument name in call to new_button(Panel*, char*).
+	"main.cc", line 255: Warning: String literal converted to char* \
+		in formal argument name in call to new_button(Panel*, char*).
+	"main.cc", line 256: Warning: String literal converted to char* \
+		in formal argument name in call to new_button(Panel*, char*).
+	"main.cc", line 257: Warning: String literal converted to char* \
+		in formal argument name in call to new_button(Panel*, char*).
+	"main.cc", line 712: Warning: String literal converted to char* \
+		in assignment.
+	17 Warning(s) detected.
+
+    * panel.cc
+    	"panel.hh", line 44: Warning: Identifier expected instead of "}".
+	"panel.hh", line 48: Warning: Identifier expected instead of "}".
+	"button.hh", line 36: Warning: Button::alarm hides the virtual \
+		function AlarmHooks::alarm(Alarm*).
+	"board.hh", line 77: Warning: Identifier expected instead of "}".
+	"hint.hh", line 53: Warning: Hint::alarm hides the virtual \
+		function AlarmHooks::alarm(Alarm*).
+	"solution.hh", line 35: Warning: SolutionDisplay::alarm hides the \
+		virtual function AlarmHooks::alarm(Alarm*).
+	"traverse.hh", line 58: Warning: Traversal::alarm hides the \
+		virtual function AlarmHooks::alarm(Alarm*).
+	7 Warning(s) detected.
+
+    * solution.cc
+    	"solution.hh", line 35: Warning: SolutionDisplay::alarm hides the \
+		virtual function AlarmHooks::alarm(Alarm*).
+	"panel.hh", line 44: Warning: Identifier expected instead of "}".
+	"panel.hh", line 48: Warning: Identifier expected instead of "}".
+	"board.hh", line 77: Warning: Identifier expected instead of "}".
+	4 Warning(s) detected.
+
+    * traverse.cc
+    	"traverse.hh", line 58: Warning: Traversal::alarm hides the \
+		virtual function AlarmHooks::alarm(Alarm*).
+	"panel.hh", line 44: Warning: Identifier expected instead of "}".
+	"panel.hh", line 48: Warning: Identifier expected instead of "}".
+	"board.hh", line 77: Warning: Identifier expected instead of "}".
+	"hint.hh", line 53: Warning: Hint::alarm hides the virtual \
+		function AlarmHooks::alarm(Alarm*).
+	5 Warning(s) detected.
+
+    * xmj3ts.cc
+    	"xmj3ts.hh", line 21: Warning: Identifier expected instead of "}".
+	"xmj3ts.cc", line 81: Warning (Anachronism): Formal argument 4 of \
+		type extern "C" int(*)(const void*,const void*) in call to \
+		std::qsort(void*, unsigned, unsigned, extern "C" \
+		int(*)(const void*,const void*)) is being passed \
+		int(*)(const void*,const void*).
+	2 Warning(s) detected.

Added: csw/mgar/pkg/xmahjongg/trunk/legacy/README
===================================================================
--- csw/mgar/pkg/xmahjongg/trunk/legacy/README	                        (rev 0)
+++ csw/mgar/pkg/xmahjongg/trunk/legacy/README	2009-01-30 10:47:51 UTC (rev 2938)
@@ -0,0 +1,183 @@
+###############################################################################
+# FILE:		README
+#
+# DESCRIPTION:	Instructions for creating the XMAHJONGG package.  Refer to
+#		the BUILD.NOTES file for specific information about the actual
+#		build and testing of the current version.
+#
+# PACKAGE:      CSWxmahjongg
+#
+# REVISION:     04-15-07
+#
+# NOTES:	* Source code: http://www.lcdf.org/xmahjongg/
+#
+###############################################################################
+
+-------------------------------------------------------------------------------
+01: Switch to the correct build machine
+-------------------------------------------------------------------------------
+
+	SPARC:
+	  or
+	INTEL:
+
+-------------------------------------------------------------------------------
+02: Update the pkginfo file
+-------------------------------------------------------------------------------
+
+	cd ${HOME}/pkgs/xmahjongg
+	vi pkginfo
+	    [edit the VERSION info: must include REV= portion if applicable]
+	    [edit the ARCH line for either a 'sparc' or 'i386' build]
+
+-------------------------------------------------------------------------------
+03: Unpack and/or download the software and game files
+-------------------------------------------------------------------------------
+
+	cd src
+	make unpack
+
+-------------------------------------------------------------------------------
+04: Update the copyright file   (only needs to be done once per release)
+-------------------------------------------------------------------------------
+
+	cd xmahjongg*[0-9]
+	vi README ${HOME}/pkgs/xmahjongg/copyright
+	    [copy the COPYRIGHT and AUTHORS sections to the copyright file]
+
+-------------------------------------------------------------------------------
+05: Fix the source files	(only needs to be done once per release)
+-------------------------------------------------------------------------------
+
+	cd src
+
+	vi game.cc gmjts.cc kmjts.cc main.cc tileset.cc xmj3ts.cc
+	
+	    * Add following line to end of #include section in each file
+	      #include <locale>
+
+	cd ..
+
+-------------------------------------------------------------------------------
+06: Set the proper build environment
+-------------------------------------------------------------------------------
+
+    SPARC:	export CC='cc  -fast -xarch=v8 -xstrconst -xildoff'
+    		export CCC='CC -fast -xarch=v8'
+		export CXX='CC -fast -xarch=v8'
+
+    INTEL:	export CC='cc  -fast -xarch=386 -xstrconst -xildoff'
+    		export CCC='CC -fast -xarch=386'
+    		export CCX='CC -fast -xarch=386'
+
+-------------------------------------------------------------------------------
+07: Configure and build the software
+-------------------------------------------------------------------------------
+
+	make clean
+	./configure --prefix=/opt/csw
+	make
+
+-------------------------------------------------------------------------------
+08: Install executable in a staging directory
+-------------------------------------------------------------------------------
+
+	rm -rf cswstage
+	stagepkg DESTDIR=$PWD/cswstage install
+
+-------------------------------------------------------------------------------
+09: Update the prototype file    (2nd build can use existing prototype file)
+-------------------------------------------------------------------------------
+
+	cd cswstage
+	grep '^[df]' prototype | grep -v 'root bin'
+	    [check 'f'iles & 'd'irs have owner/group 'root bin']
+	vi prototype
+	    [if necessary ...]
+	    	[change all owners/groups to 'root bin']
+		[change file permissions from 0444 to 0644]
+		[change file permissions from 0555 to 0755]
+	    [add following 'i' line as third line in file]
+	    	i depend
+
+-------------------------------------------------------------------------------
+10: Check changes in prototype from previous release and update file
+-------------------------------------------------------------------------------
+
+	diff ${HOME}/pkgs/xmahjongg/prototype prototype | less -+e
+	    [if any odd differences, investigate and fix]
+
+	cp prototype ${HOME}/pkgs/xmahjongg
+
+-------------------------------------------------------------------------------
+11: Create the package xmahjongg-*-SunOS5.8-{sparc,386i}-CSW.pkg.gz
+-------------------------------------------------------------------------------
+
+	cd ${HOME}/pkgs/xmahjongg
+	createpkg -r ${HOME}/pkgs/xmahjongg/src/xmahjongg*[0-9]/cswstage
+
+	  [The package name should follow this format:]
+
+	  <name>-<version>[,REV=YYYY.MM.DD]-<OSname><OSrel>-<arch>-CSW.pkg.gz
+
+-------------------------------------------------------------------------------
+12: Examine list of libraries used to see if any new CSW dependencies exist
+-------------------------------------------------------------------------------
+
+    If a new library is found, check package dependency:
+
+	pkgchk -l -p /opt/csw/lib/lib<...>
+   
+    Add entry to the depend file:
+
+        P	CSW<pkg>
+
+    Now repeat from step 09 and recreate the package
+
+-------------------------------------------------------------------------------
+13: Rebuild again on other build platform
+-------------------------------------------------------------------------------
+
+     Start over and rebuild the Solaris-x86 version
+
+-------------------------------------------------------------------------------
+14: Clean up
+-------------------------------------------------------------------------------
+
+    cd ${HOME}/pkgs/xmahjongg/src/xmahjongg*[0-9]
+    rm -rf cswstage
+    make clean
+
+-------------------------------------------------------------------------------
+15: Archive source code
+-------------------------------------------------------------------------------
+
+    cd ..
+    make pack
+    make clean
+
+-------------------------------------------------------------------------------
+16: Copy the new package to the testing or installation area
+-------------------------------------------------------------------------------
+
+    cd pkgs/xmahjongg
+    cp xmahjongg-*.pkg.gz  /export/medusa/testing
+      or
+    cp xmahjongg-*.pkg.gz  /export/medusa/newpkgs
+
+-------------------------------------------------------------------------------
+17: Copy the source code tarball to the holding area
+-------------------------------------------------------------------------------
+
+    cd src
+    cp  xmahjongg-*.gz  /export/medusa/src
+
+-------------------------------------------------------------------------------
+18: Notify package community or administrator
+-------------------------------------------------------------------------------
+
+    * Post testing note to local.blastewave.maint list
+      or
+    * Email phil at bolthole.com (Philip Brown) describing the update
+
+-----------------------------------------------------------------------------

Added: csw/mgar/pkg/xmahjongg/trunk/legacy/copyright
===================================================================
--- csw/mgar/pkg/xmahjongg/trunk/legacy/copyright	                        (rev 0)
+++ csw/mgar/pkg/xmahjongg/trunk/legacy/copyright	2009-01-30 10:47:51 UTC (rev 2938)
@@ -0,0 +1,53 @@
+----------------------------------------------------------------------------
+COPYRIGHT/LICENSE
+----------------------------------------------------------------------------
+
+All source code is Copyright (C) 1993-2000 Eddie Kohler.
+
+This package is distributed under the GNU General Public License,
+Version 2, or, at your discretion, any later version. The GNU
+General Public License is available via the Web at
+
+    <http://www.gnu.org/copyleft/gpl.html>
+    
+The GPL is designed to allow you to alter and redistribute the package,
+as long as you do not remove that freedom from others.
+
+----------------------------------------------------------------------------
+AUTHORS
+----------------------------------------------------------------------------
+
+Eddie Kohler <eddietwo at lcs.mit.edu>
+    Source code, default background image, buttons and numbers, coloring
+    of the `default' and `thick' tilesets
+
+Mark A. Holm <markh at aracnet.com>
+    Black-and-white versions of the `default' and `tall' tilesets, (c)
+    1988.  He gave permission to copy and distribute the black-and-white
+    versions for non-profit purposes. The colored tiles are sufficiently
+    different to make them a `derived work' which can be separately
+    copyrighted; they are distributed under the GPL.
+
+Dorothy Robinson <mokuren at teleport.com>
+    `dorothys' tileset (c) 2000, and `dorwhite' tileset, which is the
+    original color xmahjongg tiles (c) 1988.
+
+Berrie Bloem (?)
+    http://www.mahjongg.com/
+    `small' tileset
+
+Jonathan Buzzard and Max Watson
+    `gnome' and `gnome2' tilesets
+
+Mark Sanctuary
+    http://jps.net/sanctuary
+    `real' tileset
+
+Naoki Haga
+    http://www.kyodai.com/
+    `arena', `ceremonial', `deepwell', `farandole', and `theater' layouts
+
+Vincent Krebs
+    `hourglass' and `papillon' layouts
+
+----------------------------------------------------------------------------

Added: csw/mgar/pkg/xmahjongg/trunk/legacy/depend
===================================================================
--- csw/mgar/pkg/xmahjongg/trunk/legacy/depend	                        (rev 0)
+++ csw/mgar/pkg/xmahjongg/trunk/legacy/depend	2009-01-30 10:47:51 UTC (rev 2938)
@@ -0,0 +1 @@
+P	CSWcommon

Added: csw/mgar/pkg/xmahjongg/trunk/legacy/pkginfo
===================================================================
--- csw/mgar/pkg/xmahjongg/trunk/legacy/pkginfo	                        (rev 0)
+++ csw/mgar/pkg/xmahjongg/trunk/legacy/pkginfo	2009-01-30 10:47:51 UTC (rev 2938)
@@ -0,0 +1,9 @@
+PKG=CSWxmahjongg
+NAME=xmahjongg - Chinese Tile Game
+VERSION=3.7
+ARCH=sparc
+CATEGORY=application
+CSW_CATEGORY="fun, user"
+VENDOR=http://www.lcdf.org/xmahjongg/ - packaged for CSW by C. Jeffery Small
+HOTLINE=http://www.blastwave.org/bugtrack/
+EMAIL=jeff at blastwave.org

Added: csw/mgar/pkg/xmahjongg/trunk/legacy/prototype
===================================================================
--- csw/mgar/pkg/xmahjongg/trunk/legacy/prototype	                        (rev 0)
+++ csw/mgar/pkg/xmahjongg/trunk/legacy/prototype	2009-01-30 10:47:51 UTC (rev 2938)
@@ -0,0 +1,47 @@
+i pkginfo
+i copyright
+i depend
+d none /opt/csw/share 0755 root bin
+d none /opt/csw/share/man 0755 root bin
+d none /opt/csw/share/man/man6 0755 root bin
+f none /opt/csw/share/man/man6/xmahjongg.6 0644 root bin
+d none /opt/csw/share/xmahjongg 0755 root bin
+d none /opt/csw/share/xmahjongg/layouts 0755 root bin
+f none /opt/csw/share/xmahjongg/layouts/default 0644 root bin
+f none /opt/csw/share/xmahjongg/layouts/bridge 0644 root bin
+f none /opt/csw/share/xmahjongg/layouts/wedges 0644 root bin
+f none /opt/csw/share/xmahjongg/layouts/ceremonial 0644 root bin
+f none /opt/csw/share/xmahjongg/layouts/farandole 0644 root bin
+f none /opt/csw/share/xmahjongg/layouts/arena 0644 root bin
+f none /opt/csw/share/xmahjongg/layouts/theater 0644 root bin
+f none /opt/csw/share/xmahjongg/layouts/deepwell 0644 root bin
+f none /opt/csw/share/xmahjongg/layouts/hourglass 0644 root bin
+f none /opt/csw/share/xmahjongg/layouts/arrow 0644 root bin
+f none /opt/csw/share/xmahjongg/layouts/papillon 0644 root bin
+f none /opt/csw/share/xmahjongg/layouts/schoon 0644 root bin
+f none /opt/csw/share/xmahjongg/layouts/rat 0644 root bin
+f none /opt/csw/share/xmahjongg/layouts/ox 0644 root bin
+f none /opt/csw/share/xmahjongg/layouts/tiger 0644 root bin
+f none /opt/csw/share/xmahjongg/layouts/hare 0644 root bin
+f none /opt/csw/share/xmahjongg/layouts/dragon 0644 root bin
+f none /opt/csw/share/xmahjongg/layouts/snake 0644 root bin
+f none /opt/csw/share/xmahjongg/layouts/horse 0644 root bin
+f none /opt/csw/share/xmahjongg/layouts/ram 0644 root bin
+f none /opt/csw/share/xmahjongg/layouts/monkey 0644 root bin
+f none /opt/csw/share/xmahjongg/layouts/rooster 0644 root bin
+f none /opt/csw/share/xmahjongg/layouts/dog 0644 root bin
+f none /opt/csw/share/xmahjongg/layouts/boar 0644 root bin
+d none /opt/csw/share/xmahjongg/tiles 0755 root bin
+f none /opt/csw/share/xmahjongg/tiles/thin.gif 0644 root bin
+f none /opt/csw/share/xmahjongg/tiles/small.gif 0644 root bin
+f none /opt/csw/share/xmahjongg/tiles/thick.gif 0644 root bin
+f none /opt/csw/share/xmahjongg/tiles/gnome.gif 0644 root bin
+f none /opt/csw/share/xmahjongg/tiles/gnome2.gif 0644 root bin
+f none /opt/csw/share/xmahjongg/tiles/dorothys.gif 0644 root bin
+f none /opt/csw/share/xmahjongg/tiles/dorwhite.gif 0644 root bin
+f none /opt/csw/share/xmahjongg/tiles/real.gif 0644 root bin
+d none /opt/csw/share/xmahjongg/backgrounds 0755 root bin
+f none /opt/csw/share/xmahjongg/backgrounds/default.gif 0644 root bin
+f none /opt/csw/share/xmahjongg/backgrounds/green.gif 0644 root bin
+d none /opt/csw/bin 0755 root bin
+f none /opt/csw/bin/xmahjongg 0755 root bin

Added: csw/mgar/pkg/xmahjongg/trunk/legacy/src/Makefile
===================================================================
--- csw/mgar/pkg/xmahjongg/trunk/legacy/src/Makefile	                        (rev 0)
+++ csw/mgar/pkg/xmahjongg/trunk/legacy/src/Makefile	2009-01-30 10:47:51 UTC (rev 2938)
@@ -0,0 +1,53 @@
+###############################################################################
+#
+# FILE:		Makefile
+#
+# DESCRIPTION:	Control file for the XMAHJONGG src directory.
+#
+# PACKAGE:      CSWxmahjongg
+#
+# REVISION:     04-14-07
+#
+# NOTES:	* Set the SVER variable to the current xmahjongg version number
+#
+# REQMTS:	* The CJSA custom   unpak(1M) utility in ${HOME}/bin
+#
+###############################################################################
+
+SVER	= 3.7
+
+SDIR	= xmahjongg-$(SVER)
+
+STAR	= xmahjongg-$(SVER).tar
+
+SARCH	= $(STAR).gz
+
+help:
+	@echo "---------------------------------------------------------------"
+	@echo "Spider Ver:      $(SVER)"
+	@echo "---------------------------------------------------------------"
+	@echo "make pack       tar up and gzip the source code directory"
+	@echo ""
+	@echo "make unpack     extract source code from gzipped tarball"
+	@echo ""
+	@echo ""
+	@echo "make clean      remove the source code directory"
+	@echo "---------------------------------------------------------------"
+
+
+pack tar: $(SDIR)
+	@if [ -f $(STAR) ] ;  then mv $(STAR)  $(STAR).OLD ;  fi
+	@if [ -f $(SARCH) ] ; then mv $(SARCH) $(SARCH).OLD ; fi
+	tar cvf $(STAR) $(SDIR)
+	gzip $(STAR)
+	rm -rf $(STAR).OLD $(SARCH).OLD
+
+unpack unpak:	$(SARCH)
+	unpak $(SARCH)
+
+clean:
+	@if [ ! -f $(SARCH) ] ; then \
+	    echo "You must first archive the source with:  make pack" ; \
+	else \
+	    rm -rf $(SDIR) ; \
+	fi

Added: csw/mgar/pkg/xmahjongg/trunk/legacy/src/xmahjongg-3.7.tar.gz
===================================================================
(Binary files differ)


Property changes on: csw/mgar/pkg/xmahjongg/trunk/legacy/src/xmahjongg-3.7.tar.gz
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream


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