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

skayser at users.sourceforge.net skayser at users.sourceforge.net
Sat Mar 7 20:50:11 CET 2009


Revision: 3618
          http://gar.svn.sourceforge.net/gar/?rev=3618&view=rev
Author:   skayser
Date:     2009-03-07 19:50:11 +0000 (Sat, 07 Mar 2009)

Log Message:
-----------
nano: Initial commit

Added Paths:
-----------
    csw/mgar/pkg/nano/
    csw/mgar/pkg/nano/branches/
    csw/mgar/pkg/nano/tags/
    csw/mgar/pkg/nano/trunk/
    csw/mgar/pkg/nano/trunk/Makefile
    csw/mgar/pkg/nano/trunk/checksums
    csw/mgar/pkg/nano/trunk/files/
    csw/mgar/pkg/nano/trunk/files/CSWnano.postinstall
    csw/mgar/pkg/nano/trunk/files/CSWnano.postremove


Property changes on: csw/mgar/pkg/nano/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/nano/trunk/Makefile
===================================================================
--- csw/mgar/pkg/nano/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/nano/trunk/Makefile	2009-03-07 19:50:11 UTC (rev 3618)
@@ -0,0 +1,32 @@
+GARNAME = nano
+GARVERSION = 2.0.9
+CATEGORIES = utils
+
+DESCRIPTION = Enhanced clone of the Pico text editor
+define BLURB
+GNU nano is designed to be a free replacement for the Pico text editor, part of
+the Pine email suite from The University of Washington. It aims to "emulate
+Pico as closely as possible and perhaps include extra functionality".
+endef
+
+MASTER_SITES = http://www.nano-editor.org/dist/v2.0/
+DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
+DISTFILES = CSWnano.postinstall CSWnano.postremove
+
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+
+REQUIRED_PKGS = CSWggettextrt CSWncurses
+
+EXTRA_INC = /opt/csw/include/ncurses
+
+TEST_SCRIPTS =
+
+CONFIGURE_ARGS  = $(DIRPATHS)
+CONFIGURE_ARGS += --enable-all 
+
+# Disable automatic line wraps when running as root. See 
+# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513443 for 
+# some background info
+CONFIGURE_ARGS += --disable-wrapping-as-root
+
+include gar/category.mk

Added: csw/mgar/pkg/nano/trunk/checksums
===================================================================
--- csw/mgar/pkg/nano/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/nano/trunk/checksums	2009-03-07 19:50:11 UTC (rev 3618)
@@ -0,0 +1,2 @@
+c1bfcb567c7a645b5c4f5130158d7808  download/CSWnano.postinstall
+46649817cd38cea9fb6fb8c201f7f227  download/CSWnano.postremove

Added: csw/mgar/pkg/nano/trunk/files/CSWnano.postinstall
===================================================================
--- csw/mgar/pkg/nano/trunk/files/CSWnano.postinstall	                        (rev 0)
+++ csw/mgar/pkg/nano/trunk/files/CSWnano.postinstall	2009-03-07 19:50:11 UTC (rev 3618)
@@ -0,0 +1,18 @@
+#!/bin/sh
+#
+# postinstall - this script is executed after the CVS PKG install
+#
+# This script updates the info dir file for textinfo
+
+if [ "$PKG_ROOT_DIR" = "" ] ; then PKG_ROOT_DIR=/ ; fi
+if [ ! -x "$PKG_ROOT_DIR/opt/csw/sbin/mkdirentries" ] ; then exit 0; fi
+
+savepath=$PATH
+PATH=/usr/bin:/opt/csw/bin
+
+echo "Updating the info dir file for CSWtexinfo"
+/usr/sbin/chroot $PKG_ROOT_DIR /opt/csw/sbin/mkdirentries
+
+PATH=$savepath
+
+exit 0

Added: csw/mgar/pkg/nano/trunk/files/CSWnano.postremove
===================================================================
--- csw/mgar/pkg/nano/trunk/files/CSWnano.postremove	                        (rev 0)
+++ csw/mgar/pkg/nano/trunk/files/CSWnano.postremove	2009-03-07 19:50:11 UTC (rev 3618)
@@ -0,0 +1,16 @@
+# postremove - this script is executed after the CVS PKG remove
+#
+# This script updates the info dir file for textinfo
+
+if [ "$PKG_ROOT_DIR" = "" ] ; then PKG_ROOT_DIR=/ ; fi
+if [ ! -x "$PKG_ROOT_DIR/opt/csw/sbin/mkdirentries" ] ; then exit 0; fi
+
+savepath=$PATH
+PATH=/usr/bin:/opt/csw/bin
+
+echo "Updating the info dir file for CSWtexinfo"
+/usr/sbin/chroot $PKG_ROOT_DIR /opt/csw/sbin/mkdirentries
+
+PATH=savepath
+
+exit 0


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