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

khabermann at users.sourceforge.net khabermann at users.sourceforge.net
Wed Oct 20 11:55:35 CEST 2010


Revision: 11344
          http://gar.svn.sourceforge.net/gar/?rev=11344&view=rev
Author:   khabermann
Date:     2010-10-20 09:55:35 +0000 (Wed, 20 Oct 2010)

Log Message:
-----------
new package ndiff added

Added Paths:
-----------
    csw/mgar/pkg/ndiff/
    csw/mgar/pkg/ndiff/branches/
    csw/mgar/pkg/ndiff/tags/
    csw/mgar/pkg/ndiff/trunk/
    csw/mgar/pkg/ndiff/trunk/Makefile
    csw/mgar/pkg/ndiff/trunk/checksums
    csw/mgar/pkg/ndiff/trunk/files/
    csw/mgar/pkg/ndiff/trunk/files/0001-fixed-install-target-in-makefile.patch


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


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


Added: csw/mgar/pkg/ndiff/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ndiff/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/ndiff/trunk/Makefile	2010-10-20 09:55:35 UTC (rev 11344)
@@ -0,0 +1,31 @@
+GARNAME = ndiff
+GARVERSION = 2.00
+CATEGORIES = utils
+
+DESCRIPTION = Compare putatively similar files, ignoring small numeric differences
+define BLURB
+  Ndiff assumes that you have two text files containing numerical values,
+  and the two files are expected to be identical, or at least numerically
+  similar. ndiff allows you to specify absolute and/or relative error
+  tolerances for differences between numerical values in the two files,
+  and then reports only the lines with values exceeding those tolerances.
+  It also tells you by how much they differ. 
+endef
+
+MASTER_SITES = ftp://ftp.math.utah.edu/pub/misc/
+DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz 
+PATCHFILES = 0001-fixed-install-target-in-makefile.patch
+
+# We define upstream file regex so we can be notifed of new upstream software release
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+
+RUNTIME_DEP_PKGS_CSWndiff += CSWlibgmp
+BUILD_DEP_PKGS = 
+
+VENDOR_URL = http://www.math.utah.edu/~beebe/software/ndiff/
+
+CONFIGURE_ARGS = $(DIRPATHS)
+
+include gar/category.mk
+
+TEST_TARGET = check


Property changes on: csw/mgar/pkg/ndiff/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
   + Id

Added: csw/mgar/pkg/ndiff/trunk/checksums
===================================================================
--- csw/mgar/pkg/ndiff/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/ndiff/trunk/checksums	2010-10-20 09:55:35 UTC (rev 11344)
@@ -0,0 +1,2 @@
+885548b4dc26e72c5455bebb5ba6c16d  ndiff-2.00.tar.gz
+fe48e85a1e214584588c49859f22e1e2  0001-fixed-install-target-in-makefile.patch

Added: csw/mgar/pkg/ndiff/trunk/files/0001-fixed-install-target-in-makefile.patch
===================================================================
--- csw/mgar/pkg/ndiff/trunk/files/0001-fixed-install-target-in-makefile.patch	                        (rev 0)
+++ csw/mgar/pkg/ndiff/trunk/files/0001-fixed-install-target-in-makefile.patch	2010-10-20 09:55:35 UTC (rev 11344)
@@ -0,0 +1,95 @@
+From 933babaed72b895ac309bd1591ba6386e3193002 Mon Sep 17 00:00:00 2001
+From: Kester Habermann <kester at opencsw.org>
+Date: Wed, 20 Oct 2010 11:37:44 +0200
+Subject: [PATCH] fixed install-target in makefile
+
+---
+ Makefile.in |   38 ++++++++++++++++++++------------------
+ 1 files changed, 20 insertions(+), 18 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index 78f5e95..1225685 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -61,8 +61,8 @@ DATE		= @DATE@
+ 
+ prefix		= @prefix@
+ bindir		= $(prefix)/bin
+-catdir		= $(prefix)/man/cat$(manext)
+-mandir		= $(prefix)/man/man$(manext)
++catdir		= $(prefix)/share/man/cat$(manext)
++mandir		= $(prefix)/share/man/man$(manext)
+ manext		= 1
+ shrlibdir	= $(shrlibtop)/$(PROGNAME)-$(VERSION)
+ shrlibtop       = $(prefix)/share/lib/$(PROGNAME)
+@@ -599,17 +599,18 @@ html:	$(HTMLFILES)
+ install:	install-exe install-shrlib install-man install-show
+ 
+ install-exe:	uninstall-exe
++	-$(MKDIR) $(DESTDIR)$(bindir)
+ 	if test -f $(PROGNAME) ; \
+ 	then \
+-		$(CP) $(PROGNAME) $(bindir)/$(PROGNAME) ; \
+-		$(LN) $(bindir)/$(PROGNAME) $(bindir)/$(PROGNAME)-$(VERSION) ; \
++		$(CP) $(PROGNAME) $(DESTDIR)$(bindir)/$(PROGNAME) ; \
++		$(LN) $(DESTDIR)$(bindir)/$(PROGNAME) $(DESTDIR)$(bindir)/$(PROGNAME)-$(VERSION) ; \
+ 	else \
+ 		for f in $(SHFILES) ; \
+ 		do \
+ 			g=`basename $$f .sh` ; \
+-			$(SEDCMD) $$f | $(CHECKSUM) > $(bindir)/$$g ; \
+-			$(LN) $(bindir)/$$g $(bindir)/$$g-$(VERSION) ; \
+-			$(CHMOD) 775 $(bindir)/$$g $(bindir)/$$g-$(VERSION) ; \
++			$(SEDCMD) $$f | $(CHECKSUM) > $(DESTDIR)$(bindir)/$$g ; \
++			$(LN) $(DESTDIR)$(bindir)/$$g $(DESTDIR)$(bindir)/$$g-$(VERSION) ; \
++			$(CHMOD) 775 $(DESTDIR)$(bindir)/$$g $(DESTDIR)$(bindir)/$$g-$(VERSION) ; \
+ 		done ; \
+ 	fi
+ 
+@@ -625,31 +626,32 @@ install-ftp:	dist
+ 	$(LS) -l $(FTPDIR)/$(PROGNAME)*
+ 
+ install-man:	uninstall-man
++	-$(MKDIR) $(DESTDIR)$(mandir)
+ 	for f in $(MANFILES) ; \
+ 	do \
+ 		g=`basename $$f .man` ; \
+-		$(SEDCMD) $$f | $(CHECKSUM) > $(mandir)/$$g.$(manext) ; \
+-		$(CHMOD) 664 $(mandir)/$$g.$(manext) ; \
++		$(SEDCMD) $$f | $(CHECKSUM) > $(DESTDIR)$(mandir)/$$g.$(manext) ; \
++		$(CHMOD) 664 $(DESTDIR)$(mandir)/$$g.$(manext) ; \
+ 	done
+ 
+ install-show:
+ 	@echo ''
+ 	@echo Installed files...
+-	@$(LS) -l $(bindir)/$(PROGNAME) $(bindir)/$(PROGNAME)-$(VERSION)
+-	@$(LS) -l $(mandir)/$(PROGNAME).$(manext)
+-	@if test -d $(shrlibdir) ; then $(LS) -lR $(shrlibdir)/* ; fi
++	@$(LS) -l $(DESTDIR)$(bindir)/$(PROGNAME) $(DESTDIR)$(bindir)/$(PROGNAME)-$(VERSION)
++	@$(LS) -l $(DESTDIR)$(mandir)/$(PROGNAME).$(manext)
++	@if test -d $(DESTDIR)$(shrlibdir) ; then $(LS) -lR $(DESTDIR)$(shrlibdir)/* ; fi
+ 	@echo ''
+ 
+ install-shrlib:	uninstall-shrlib
+-	-$(MKDIR) $(shrlibtop)
+-	@if test -d $(shrlibtop) ; then true ; else echo Cannot create $(shrlibtop) ; exit 1 ; fi
+-	-$(MKDIR) $(shrlibdir)
+-	@if test -d $(shrlibdir) ; then true ; else echo Cannot create $(shrlibdir) ; exit 1 ; fi
++	-$(MKDIR) $(DESTDIR)$(shrlibtop)
++	@if test -d $(DESTDIR)$(shrlibtop) ; then true ; else echo Cannot create $(DESTDIR)$(shrlibtop) ; exit 1 ; fi
++	-$(MKDIR) $(DESTDIR)$(shrlibdir)
++	@if test -d $(shrlibdir) ; then true ; else echo Cannot create $(DESTDIR)$(shrlibdir) ; exit 1 ; fi
+ 	for f in $(SHRLIBFILES) ; \
+ 	do \
+-		$(SEDCMD) < $$f > $(shrlibdir)/$$f ; \
++		$(SEDCMD) < $$f > $(DESTDIR)$(shrlibdir)/$$f ; \
+ 	done
+-	$(CHMOD) 664 $(shrlibdir)/*
++	$(CHMOD) 664 $(DESTDIR)$(shrlibdir)/*
+ 
+ maintainer-clean:	distclean cleandocs
+ 	@echo "This command is intended for maintainers to use;"
+-- 
+1.7.1
+


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