[Pkg-mono-svn-commits] rev 2091 - in non-group/nemerle/trunk: . debian debian/patches

Sebastian Dröge slomo-guest at costa.debian.org
Tue Oct 18 14:34:54 UTC 2005


Author: slomo-guest
Date: 2005-10-18 14:34:52 +0000 (Tue, 18 Oct 2005)
New Revision: 2091

Added:
   non-group/nemerle/trunk/debian/
   non-group/nemerle/trunk/debian/changelog
   non-group/nemerle/trunk/debian/compat
   non-group/nemerle/trunk/debian/control
   non-group/nemerle/trunk/debian/copyright
   non-group/nemerle/trunk/debian/cs2n
   non-group/nemerle/trunk/debian/docs
   non-group/nemerle/trunk/debian/emacsen-install
   non-group/nemerle/trunk/debian/emacsen-remove
   non-group/nemerle/trunk/debian/emacsen-startup
   non-group/nemerle/trunk/debian/libnemerle-cil.install
   non-group/nemerle/trunk/debian/ncc
   non-group/nemerle/trunk/debian/nemerle.install
   non-group/nemerle/trunk/debian/nemish
   non-group/nemerle/trunk/debian/patches/
   non-group/nemerle/trunk/debian/patches/00list
   non-group/nemerle/trunk/debian/patches/10_configuration.dpatch
   non-group/nemerle/trunk/debian/patches/11_nemerle_pc.dpatch
   non-group/nemerle/trunk/debian/patches/12_fix_tools_Makefile.dpatch
   non-group/nemerle/trunk/debian/patches/13_fix_scripts.dpatch
   non-group/nemerle/trunk/debian/rules
Log:
* Added nemerle 0.3.2 package. 0.9.0 is too buggy atm :(


Added: non-group/nemerle/trunk/debian/changelog
===================================================================
--- non-group/nemerle/trunk/debian/changelog	2005-10-18 13:34:38 UTC (rev 2090)
+++ non-group/nemerle/trunk/debian/changelog	2005-10-18 14:34:52 UTC (rev 2091)
@@ -0,0 +1,14 @@
+nemerle (0.3.2-2) unstable; urgency=low
+
+  * Took Jacek's package from nemerle.org and made me the new maintainer as he
+    doesn't have the time to maintain it in Debian (Closes: #271642)
+  * Splitted compiler and library package
+  * Some minor polishing
+
+ -- Sebastian Dröge <slomo at ubuntu.com>  Tue, 18 Oct 2005 16:09:42 +0200
+
+nemerle (0.3.2-1) unstable; urgency=low
+
+  * Initial release. Closes: #271642
+
+ -- Jacek Śliwerski (rzyjontko) <rzyj at plusnet.pl>  Sun, 24 Jul 2005 18:49:11 +0200

Added: non-group/nemerle/trunk/debian/compat
===================================================================
--- non-group/nemerle/trunk/debian/compat	2005-10-18 13:34:38 UTC (rev 2090)
+++ non-group/nemerle/trunk/debian/compat	2005-10-18 14:34:52 UTC (rev 2091)
@@ -0,0 +1 @@
+4

Added: non-group/nemerle/trunk/debian/control
===================================================================
--- non-group/nemerle/trunk/debian/control	2005-10-18 13:34:38 UTC (rev 2090)
+++ non-group/nemerle/trunk/debian/control	2005-10-18 14:34:52 UTC (rev 2091)
@@ -0,0 +1,43 @@
+Source: nemerle
+Section: devel
+Priority: optional
+Maintainer: Sebastian Dröge <slomo at ubuntu.com>
+Build-Depends-Indep: debhelper (>= 4.0.0), libmono-dev (>= 1.0.0), cli-common (>= 0.2.0), mono-mcs (>= 1.0) | c-sharp-compiler, dpatch, mono-gac
+Standards-Version: 3.6.2
+
+Package: nemerle
+Architecture: all
+Depends: ${cli:Depends}
+Suggests: emacsen
+Description: Nemerle Compiler
+ Nemerle is a new functional language designed from the ground
+ up for the .NET platform. Nemerle supports:
+    * object oriented and imperative .NET concepts
+    * variant datatypes
+    * matching
+    * higher order functions
+    * powerful macro system
+ It has simple, C-like syntax and makes access to imperative features 
+ easy, and thus is easy to learn.
+ .
+ Visit http://nemerle.org for more details.
+ .
+ This package contains the compiler for Nemerle and related tools
+
+Package: libnemerle-cil
+Architecture: all
+Depends: ${cli:Depends}
+Description: Class Library for Nemerle
+ Nemerle is a new functional language designed from the ground
+ up for the .NET platform. Nemerle supports:
+    * object oriented and imperative .NET concepts
+    * variant datatypes
+    * matching
+    * higher order functions
+    * powerful macro system
+ It has simple, C-like syntax and makes access to imperative features 
+ easy and thus is easy to learn.
+ .
+ Visit http://nemerle.org for more details.
+ .
+ This package contains the class libraries needed for running Nemerle programs

Added: non-group/nemerle/trunk/debian/copyright
===================================================================
--- non-group/nemerle/trunk/debian/copyright	2005-10-18 13:34:38 UTC (rev 2090)
+++ non-group/nemerle/trunk/debian/copyright	2005-10-18 14:34:52 UTC (rev 2091)
@@ -0,0 +1,40 @@
+This package was debianized by Jacek Šliwerski (rzyjontko) <rzyj at plusnet.pl> on
+Sun, 19 Sep 2004 13:11:20 +0200.
+
+It was downloaded from http://nemerle.org
+
+Upstream Authors:	Michal Moskal <michal.moskal at nemerle.org>
+			Pawel Olszta <pawel.olszta at nemerle.org>
+			Kamil Skalski <nazgul at nemerle.org>		
+
+Copyright:
+
+  Copyright (c) 2003-2005 The University of Wroclaw.
+  All rights reserved.
+ 
+  Redistribution and use in source and binary forms, with or without
+  modification, are permitted provided that the following conditions
+  are met:
+     1. Redistributions of source code must retain the above copyright
+        notice, this list of conditions and the following disclaimer.
+     2. Redistributions in binary form must reproduce the above copyright
+        notice, this list of conditions and the following disclaimer in the
+        documentation and/or other materials provided with the distribution.
+     3. The name of the University may not be used to endorse or promote
+        products derived from this software without specific prior
+        written permission.
+ 
+  THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY ``AS IS'' AND ANY EXPRESS OR
+  IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+  OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
+  NO EVENT SHALL THE UNIVERSITY BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+  TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+  LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+You are free to distribute this software under the terms of the BSD License.
+On Debian systems, the complete text of the BSD License can be found 
+in the file `/usr/share/common-licenses/BSD'.

Added: non-group/nemerle/trunk/debian/cs2n
===================================================================
--- non-group/nemerle/trunk/debian/cs2n	2005-10-18 13:34:38 UTC (rev 2090)
+++ non-group/nemerle/trunk/debian/cs2n	2005-10-18 14:34:52 UTC (rev 2091)
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec /usr/bin/mono /usr/lib/nemerle/cs2n.exe "$@"
+

Added: non-group/nemerle/trunk/debian/docs
===================================================================
--- non-group/nemerle/trunk/debian/docs	2005-10-18 13:34:38 UTC (rev 2090)
+++ non-group/nemerle/trunk/debian/docs	2005-10-18 14:34:52 UTC (rev 2091)
@@ -0,0 +1,2 @@
+README
+AUTHORS

Added: non-group/nemerle/trunk/debian/emacsen-install
===================================================================
--- non-group/nemerle/trunk/debian/emacsen-install	2005-10-18 13:34:38 UTC (rev 2090)
+++ non-group/nemerle/trunk/debian/emacsen-install	2005-10-18 14:34:52 UTC (rev 2091)
@@ -0,0 +1,32 @@
+#! /bin/sh -e
+
+# Written by Jim Van Zandt <jrv at vanzandt.mv.com>, borrowing heavily
+# from the install scripts for gettext by Santiago Vila
+# <sanvila at ctv.es> and octave by Dirk Eddelbuettel <edd at debian.org>.
+
+FLAVOR=$1
+PACKAGE=nemerle
+
+if [ ${FLAVOR} = emacs ]; then exit 0; fi
+
+echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}
+
+FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile"
+
+ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}
+ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+
+if test ! -d ${ELCDIR}; then install -d ${ELCDIR}; fi
+
+cd ${ELDIR}
+FILES=`echo *.el`
+cp ${FILES} ${ELCDIR}
+cd ${ELCDIR}
+
+cat << EOF > path.el
+(setq load-path (cons "." load-path) byte-compile-warnings nil)
+EOF
+${FLAVOR} ${FLAGS} ${FILES}
+rm -f ${FILES} path.el
+
+exit 0

Added: non-group/nemerle/trunk/debian/emacsen-remove
===================================================================
--- non-group/nemerle/trunk/debian/emacsen-remove	2005-10-18 13:34:38 UTC (rev 2090)
+++ non-group/nemerle/trunk/debian/emacsen-remove	2005-10-18 14:34:52 UTC (rev 2091)
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+# /usr/lib/emacsen-common/packages/remove/nemerle
+
+FLAVOR=$1
+PACKAGE=nemerle
+
+if [ ${FLAVOR} = emacs ]; then exit 0; fi
+
+echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
+rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}

Added: non-group/nemerle/trunk/debian/emacsen-startup
===================================================================
--- non-group/nemerle/trunk/debian/emacsen-startup	2005-10-18 13:34:38 UTC (rev 2090)
+++ non-group/nemerle/trunk/debian/emacsen-startup	2005-10-18 14:34:52 UTC (rev 2091)
@@ -0,0 +1,21 @@
+;; -*-emacs-lisp-*-
+;;
+;; Emacs startup file for the Debian nemerle package
+;;
+;; Originally contributed by Nils Naumann <naumann at unileoben.ac.at>
+;; Modified by Dirk Eddelbuettel <edd at debian.org>
+;; Adapted for dh-make by Jim Van Zandt <jrv at vanzandt.mv.com>
+
+;; The nemerle package follows the Debian/GNU Linux 'emacsen' policy and
+;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
+;; xemacs19, emacs20, xemacs20...).  The compiled code is then
+;; installed in a subdirectory of the respective site-lisp directory.
+;; We have to add this to the load-path:
+(let ((package-dir (concat "/usr/share/"
+                           (symbol-name flavor)
+                           "/site-lisp/nemerle")))
+  (when (file-directory-p package-dir)
+        (setq load-path (cons package-dir load-path))))
+
+(setq auto-mode-alist (cons '("\\.n$" . nemerle-mode) auto-mode-alist))
+(autoload 'nemerle-mode "nemerle" "Major mode for editing nemerle porgrams." t)

Added: non-group/nemerle/trunk/debian/libnemerle-cil.install
===================================================================
--- non-group/nemerle/trunk/debian/libnemerle-cil.install	2005-10-18 13:34:38 UTC (rev 2090)
+++ non-group/nemerle/trunk/debian/libnemerle-cil.install	2005-10-18 14:34:52 UTC (rev 2091)
@@ -0,0 +1,3 @@
+debian/tmp/usr/lib/mono/gac
+debian/tmp/usr/lib/pkgconfig
+debian/tmp/usr/lib/mono/nemerle

Added: non-group/nemerle/trunk/debian/ncc
===================================================================
--- non-group/nemerle/trunk/debian/ncc	2005-10-18 13:34:38 UTC (rev 2090)
+++ non-group/nemerle/trunk/debian/ncc	2005-10-18 14:34:52 UTC (rev 2091)
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec /usr/bin/mono /usr/lib/nemerle/ncc.exe "$@"
+

Added: non-group/nemerle/trunk/debian/nemerle.install
===================================================================
--- non-group/nemerle/trunk/debian/nemerle.install	2005-10-18 13:34:38 UTC (rev 2090)
+++ non-group/nemerle/trunk/debian/nemerle.install	2005-10-18 14:34:52 UTC (rev 2091)
@@ -0,0 +1,3 @@
+debian/tmp/usr/share
+debian/tmp/usr/bin
+debian/tmp/usr/lib/nemerle

Added: non-group/nemerle/trunk/debian/nemish
===================================================================
--- non-group/nemerle/trunk/debian/nemish	2005-10-18 13:34:38 UTC (rev 2090)
+++ non-group/nemerle/trunk/debian/nemish	2005-10-18 14:34:52 UTC (rev 2091)
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec /usr/bin/mono /usr/lib/nemerle/nemish.exe "$@"
+

Added: non-group/nemerle/trunk/debian/patches/00list
===================================================================
--- non-group/nemerle/trunk/debian/patches/00list	2005-10-18 13:34:38 UTC (rev 2090)
+++ non-group/nemerle/trunk/debian/patches/00list	2005-10-18 14:34:52 UTC (rev 2091)
@@ -0,0 +1,4 @@
+10_configuration.dpatch
+11_nemerle_pc.dpatch
+12_fix_tools_Makefile.dpatch
+13_fix_scripts.dpatch

Added: non-group/nemerle/trunk/debian/patches/10_configuration.dpatch
===================================================================
--- non-group/nemerle/trunk/debian/patches/10_configuration.dpatch	2005-10-18 13:34:38 UTC (rev 2090)
+++ non-group/nemerle/trunk/debian/patches/10_configuration.dpatch	2005-10-18 14:34:52 UTC (rev 2091)
@@ -0,0 +1,55 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_configuration.dpatch by  <rzyj at plusnet.pl>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad --exclude=CVS --exclude=.svn ./config.mak /tmp/dpep-work.8O8sgz/nemerle-0.3.2/config.mak
+--- ./config.mak	1970-01-01 01:00:00.000000000 +0100
++++ /tmp/dpep-work.8O8sgz/nemerle-0.3.2/config.mak	2005-07-24 18:30:57.151199832 +0200
+@@ -0,0 +1,44 @@
++# Created by Jacek Sliwerski for Debian package.
++
++Q          = @
++
++PACKAGE    = nemerle
++VERSION    = 0.3
++REVISION   = 2
++SVN_REV    = 
++
++NET_ENGINE = mono
++NET_VERSION = 1.1
++NET_FLAGS  = 
++DLL_PATH   = 
++NGEN       = true
++DASM       = monodis
++ASM        = ilasm
++CSC        = mcs
++PEVERIFY   = 
++TIME       = 
++ANTLR      = 
++BROKEN_SWF = 1
++
++MONO_GACUTIL = yes
++
++NANT       = 
++NANT_DIR   = 
++
++NEM_FLAGS  =  -def:BROKEN_SWF -bar+ -def:RUNTIME_MONO
++
++PYTHON  = false
++XSPP    = false
++XSLT    = false
++
++INSTALL = install
++
++prefix = /usr
++BINDIR = /usr/lib/nemerle
++MANDIR = /usr/share/man/man1
++LIBDIR = /usr/lib
++PKGCONFIGDIR = /usr/lib/pkgconfig
++GACUTIL_COMMAND = gacutil -root $(DESTDIR)/usr/lib -package nemerle -i
++GACUTIL_UNINSTALL_COMMAND = gacutil -root $(DESTDIR)/usr/lib -package nemerle -u
++NGEN_GAC = true
++


Property changes on: non-group/nemerle/trunk/debian/patches/10_configuration.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: non-group/nemerle/trunk/debian/patches/11_nemerle_pc.dpatch
===================================================================
--- non-group/nemerle/trunk/debian/patches/11_nemerle_pc.dpatch	2005-10-18 13:34:38 UTC (rev 2090)
+++ non-group/nemerle/trunk/debian/patches/11_nemerle_pc.dpatch	2005-10-18 14:34:52 UTC (rev 2091)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 11_nemerle_pc.dpatch by  <rzyj at plusnet.pl>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad --exclude=CVS --exclude=.svn ./nemerle.pc /tmp/dpep-work.fZ2asp/nemerle-0.3.2/nemerle.pc
+--- ./nemerle.pc	1970-01-01 01:00:00.000000000 +0100
++++ /tmp/dpep-work.fZ2asp/nemerle-0.3.2/nemerle.pc	2005-07-24 18:38:37.457222680 +0200
+@@ -0,0 +1,8 @@
++prefix=/usr
++exec_prefix=${prefix}
++libdir=/usr/lib
++
++Name: Nemerle
++Description: Nemerle - a .NET object-functional language
++Version: 0.3.2
++Libs: -r:/usr/lib/mono/nemerle/Nemerle.dll -r:/usr/lib/mono/nemerle/Nemerle.Compiler.dll -r:/usr/lib/mono/nemerle/Nemerle.Macros.dll


Property changes on: non-group/nemerle/trunk/debian/patches/11_nemerle_pc.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: non-group/nemerle/trunk/debian/patches/12_fix_tools_Makefile.dpatch
===================================================================
--- non-group/nemerle/trunk/debian/patches/12_fix_tools_Makefile.dpatch	2005-10-18 13:34:38 UTC (rev 2090)
+++ non-group/nemerle/trunk/debian/patches/12_fix_tools_Makefile.dpatch	2005-10-18 14:34:52 UTC (rev 2091)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 12_fix_tools_Makefile.dpatch by  <rzyj at plusnet.pl>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad --exclude=CVS --exclude=.svn ./tools/Makefile /tmp/dpep-work.snVaki/nemerle-0.3.2/tools/Makefile
+--- ./tools/Makefile	2005-07-24 18:56:53.486600888 +0200
++++ /tmp/dpep-work.snVaki/nemerle-0.3.2/tools/Makefile	2005-05-28 10:31:26.000000000 +0200
+@@ -36,7 +36,7 @@
+ all:
+ 	$(Q)if test $(ANTLR); then \
+ 		$(MAKE) -C cs2n all; \
+-	elif find tools/cs2n/CSharpParser.cs -cnewer tools/cs2n/csharpgrammar.g | grep -q "" ; then \
++	elif find cs2n/CSharpParser.cs -cnewer cs2n/csharpgrammar.g | grep -q "" ; then \
+ 		$(MAKE) -C cs2n all; \
+ 	fi
+ 	$(Q)$(MAKE) -C nemerlish all


Property changes on: non-group/nemerle/trunk/debian/patches/12_fix_tools_Makefile.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: non-group/nemerle/trunk/debian/patches/13_fix_scripts.dpatch
===================================================================
--- non-group/nemerle/trunk/debian/patches/13_fix_scripts.dpatch	2005-10-18 13:34:38 UTC (rev 2090)
+++ non-group/nemerle/trunk/debian/patches/13_fix_scripts.dpatch	2005-10-18 14:34:52 UTC (rev 2091)
@@ -0,0 +1,67 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 13_fix_scripts.dpatch by  <rzyj at plusnet.pl>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad --exclude=CVS --exclude=.svn ./ncc/Makefile /tmp/dpep-work.fytnkW/nemerle-0.3.2/ncc/Makefile
+--- ./ncc/Makefile	2005-06-01 11:54:57.000000000 +0200
++++ /tmp/dpep-work.fytnkW/nemerle-0.3.2/ncc/Makefile	2005-07-24 21:25:52.262700368 +0200
+@@ -447,11 +447,11 @@
+ 	export MONO_PATH=$$MONO_PATH:$$PWD/out.stage3 ; $(NGEN_GAC)
+ 	$(INST) "[$(BINDIR)]" ncc.exe
+ 	$(Q)$(INSTALL) -m 755 out.stage3/ncc.exe $(DESTDIR)$(BINDIR)/ncc.exe
+-	$(Q)if [ "$(NET_ENGINE)" != "" ] ; then \
+-		echo "#!/bin/sh" > $(DESTDIR)$(BINDIR)/ncc && \
+-		echo '$(NET_ENGINE) $(BINDIR)/ncc.exe "$$@"' >> $(DESTDIR)$(BINDIR)/ncc ; \
+-		chmod 755 $(DESTDIR)$(BINDIR)/ncc ; \
+-	fi
++#	$(Q)if [ "$(NET_ENGINE)" != "" ] ; then \
++#		echo "#!/bin/sh" > $(DESTDIR)$(BINDIR)/ncc && \
++#		echo '$(NET_ENGINE) $(BINDIR)/ncc.exe "$$@"' >> $(DESTDIR)$(BINDIR)/ncc ; \
++#		chmod 755 $(DESTDIR)$(BINDIR)/ncc ; \
++#	fi
+ 
+ clean:
+ 	cd testsuite && $(MAKE) clean
+diff -urNad --exclude=CVS --exclude=.svn ./tools/cs2n/Makefile /tmp/dpep-work.fytnkW/nemerle-0.3.2/tools/cs2n/Makefile
+--- ./tools/cs2n/Makefile	2005-05-02 20:37:58.000000000 +0200
++++ /tmp/dpep-work.fytnkW/nemerle-0.3.2/tools/cs2n/Makefile	2005-07-24 21:26:59.386496000 +0200
+@@ -108,11 +108,11 @@
+ 	$(Q)$(GACUTIL_COMMAND) antlr.runtime.dll
+ 	$(INST) "[$(BINDIR)]" cs2n.exe
+ 	$(Q)$(INSTALL) -m 755 cs2n.exe $(DESTDIR)$(BINDIR)/cs2n.exe
+-	$(Q)if [ "$(NET_ENGINE)" != "" ] ; then \
+-		echo "#!/bin/sh" > $(DESTDIR)$(BINDIR)/cs2n && \
+-		echo '$(NET_ENGINE) $(BINDIR)/cs2n.exe "$$@"' >> $(DESTDIR)$(BINDIR)/cs2n ; \
+-		chmod 755 $(DESTDIR)$(BINDIR)/cs2n ; \
+-	fi
++#	$(Q)if [ "$(NET_ENGINE)" != "" ] ; then \
++#		echo "#!/bin/sh" > $(DESTDIR)$(BINDIR)/cs2n && \
++#		echo '$(NET_ENGINE) $(BINDIR)/cs2n.exe "$$@"' >> $(DESTDIR)$(BINDIR)/cs2n ; \
++#		chmod 755 $(DESTDIR)$(BINDIR)/cs2n ; \
++#	fi
+ 
+ uninstall:
+ 	$(RM) Nemerle.CSharp
+diff -urNad --exclude=CVS --exclude=.svn ./tools/nemerlish/Makefile /tmp/dpep-work.fytnkW/nemerle-0.3.2/tools/nemerlish/Makefile
+--- ./tools/nemerlish/Makefile	2005-06-01 11:01:18.000000000 +0200
++++ /tmp/dpep-work.fytnkW/nemerle-0.3.2/tools/nemerlish/Makefile	2005-07-24 21:26:33.503430824 +0200
+@@ -27,11 +27,11 @@
+ 	$(INST) "[$(BINDIR)]" nemish.exe
+ 	$(Q)$(INSTALL) -m 755 nemish.exe $(DESTDIR)$(BINDIR)/nemish.exe
+ # Set a `nemish' script if binfmt_misc is not available.
+-	$(Q)if [ "$(NET_ENGINE)" != "" ] ; then \
+-		echo "#!/bin/sh" > $(DESTDIR)$(BINDIR)/nemish && \
+-		echo '$(NET_ENGINE) $(BINDIR)/nemish.exe "$$@"' >> $(DESTDIR)$(BINDIR)/nemish ; \
+-		chmod 755 $(DESTDIR)$(BINDIR)/nemish ; \
+-	fi
++#	$(Q)if [ "$(NET_ENGINE)" != "" ] ; then \
++#		echo "#!/bin/sh" > $(DESTDIR)$(BINDIR)/nemish && \
++#		echo '$(NET_ENGINE) $(BINDIR)/nemish.exe "$$@"' >> $(DESTDIR)$(BINDIR)/nemish ; \
++#		chmod 755 $(DESTDIR)$(BINDIR)/nemish ; \
++#	fi
+ 
+ 
+ uninstall:


Property changes on: non-group/nemerle/trunk/debian/patches/13_fix_scripts.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: non-group/nemerle/trunk/debian/rules
===================================================================
--- non-group/nemerle/trunk/debian/rules	2005-10-18 13:34:38 UTC (rev 2090)
+++ non-group/nemerle/trunk/debian/rules	2005-10-18 14:34:52 UTC (rev 2091)
@@ -0,0 +1,67 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is for the .wapi directory for Mono.
+export MONO_SHARED_DIR=$(CURDIR)
+
+# provide patch and unpatch targets
+include /usr/share/dpatch/dpatch.make
+
+# This is where we install Nemerle mode for Emacs.
+LISPDIR = /usr/share/emacs/site-lisp/nemerle
+
+build: patch-stamp
+	$(MAKE)
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -rf ncc/out.stage*
+	rm -f tools/nemerlish/*.{dll,exe}
+	rm -f tools/nant-task/*.{dll,exe}
+	rm -f tools/cs2n/*.{dll,exe}
+	rm -f config.mak configure.log
+	rm -rf $(MONO_SHARED_DIR)/.wapi
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+	mkdir -p $(CURDIR)/debian/tmp/usr/bin
+	mkdir -p $(CURDIR)/debian/tmp$(LISPDIR)
+	install -m 755 $(CURDIR)/debian/ncc $(CURDIR)/debian/tmp/usr/bin/ncc
+	install -m 755 $(CURDIR)/debian/nemish $(CURDIR)/debian/tmp/usr/bin/nemish
+	install -m 755 $(CURDIR)/debian/cs2n $(CURDIR)/debian/tmp/usr/bin/cs2n
+	install -m 644 $(CURDIR)/misc/nemerle.el $(CURDIR)/debian/tmp$(LISPDIR)
+	find debian/tmp -type f -name "*.dll" -or -name "*.mdb" -or -name "*.cs" -or -name "*.config" | xargs chmod -x
+	find debian/tmp -type f -name "*.exe" | xargs chmod +x
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installdirs
+	dh_install
+	dh_installman
+	dh_installemacsen
+	dh_compress
+	dh_fixperms
+	dh_makeclilibs -V
+	dh_clideps
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary-arch: build install
+
+binary: binary-indep binary-arch
+
+.PHONY: build clean binary-indep binary-arch binary install 


Property changes on: non-group/nemerle/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-mono-svn-commits mailing list