From nobody@FreeBSD.org  Tue Jun 24 04:23:16 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1D65C1065671
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 24 Jun 2008 04:23:16 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 00A1F8FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 24 Jun 2008 04:23:16 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m5O4NFFL035770
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 24 Jun 2008 04:23:15 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m5O4NFu7035769;
	Tue, 24 Jun 2008 04:23:15 GMT
	(envelope-from nobody)
Message-Id: <200806240423.m5O4NFu7035769@www.freebsd.org>
Date: Tue, 24 Jun 2008 04:23:15 GMT
From: "Pedro F. Giffuni" <pfgshield-freebsd@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: math/laspack: update WWW and cleanups
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         124920
>Category:       ports
>Synopsis:       math/laspack: update WWW and cleanups
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 24 04:30:02 UTC 2008
>Closed-Date:    Tue Jul 08 11:50:59 UTC 2008
>Last-Modified:  Tue Jul  8 12:00:08 UTC 2008
>Originator:     Pedro F. Giffuni
>Release:        6.3-Release
>Organization:
>Environment:
FreeBSD kakumen.cable.net.co 6.3-RELEASE FreeBSD 6.3-RELEASE #10: Sat Jan 19 01:13:55 COT 2008     root@kakumen.cable.net.co:/usr/src/sys/amd64/compile/SMP  amd64

>Description:
The website for this package has changed so I updated the WWW link.
I also somewhat cleaned up the build and added a regression-test target.
Unfortunately this package fails the check so I hid the regression test under MAINTAINER_MODE
No functional change. 
>How-To-Repeat:

>Fix:
diff -ruN laspack.orig/Makefile laspack/Makefile
--- laspack.orig/Makefile	2008-06-23 22:08:53.000000000 -0500
+++ laspack/Makefile	2008-06-23 22:57:18.000000000 -0500
@@ -19,6 +19,7 @@
 
 WRKSRC=	${WRKDIR}/${PORTNAME}
 MAKEFILE=	makefile
+MAKE_ENV+=	HOME=${PREFIX}
 
 post-patch:
 	@${REINPLACE_CMD} -e 's+/usr/local+${LOCALBASE}+g' ${WRKSRC}/${MAKEFILE}
@@ -29,4 +30,10 @@
 	@${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${DOCSDIR}
 .endif
 
+.ifdef MAINTAINER_MODE
+regression-test:
+	@cd ${WRKDIR} && ${SETENV} HOME=${WRKDIR} ./install
+	@cd ${WRKSRC}/check && ${SETENV} HOME=${WRKDIR} ./check
+.endif
+
 .include <bsd.port.mk>
diff -ruN laspack.orig/files/patch-makefile laspack/files/patch-makefile
--- laspack.orig/files/patch-makefile	2008-06-23 22:08:53.000000000 -0500
+++ laspack/files/patch-makefile	1969-12-31 19:00:00.000000000 -0500
@@ -1,13 +0,0 @@
---- makefile.orig	Mon Jul 25 00:24:08 2005
-+++ makefile	Mon Jul 25 00:24:30 2005
-@@ -21,8 +21,8 @@
- #
- # set the destination directories for the library and include files
- #
--LIBDEST		= $(HOME)/lib$(ARCH_EXT)
--INCDEST		= $(HOME)/include
-+LIBDEST		= $(PREFIX)/lib
-+INCDEST		= $(PREFIX)/include
- 
- #
- # the following text was created automaticaly. You should change it carefully.
diff -ruN laspack.orig/pkg-descr laspack/pkg-descr
--- laspack.orig/pkg-descr	2008-06-23 22:08:53.000000000 -0500
+++ laspack/pkg-descr	2008-06-23 22:10:12.000000000 -0500
@@ -18,6 +18,6 @@
     preconditioned by multigrid and BPX preconditioners.
 
 A complete description of the package (including the installation procedure)
-you may find in LASPack Reference Manual in the following postscript files:
+you may find in LASPack Reference Manual:
     
-WWW: http://www.tu-dresden.de/mwism/skalicky/laspack/laspack.html
+WWW: http://www.mgnet.org/mgnet/Codes/laspack/html/laspack.html


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Tue Jul 8 11:45:43 UTC 2008 
State-Changed-Why:  
Committed, thanks! 

While there, I have also replaced two dead master sites with one new working. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=124920 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/124920: commit references a PR
Date: Tue,  8 Jul 2008 11:50:51 +0000 (UTC)

 pav         2008-07-08 11:50:37 UTC
 
   FreeBSD ports repository
 
   Modified files:
     math/laspack         Makefile pkg-descr 
   Removed files:
     math/laspack/files   patch-makefile 
   Log:
   - Simplify build
   - Add (disabled) regression test target
   - Update WWW
   - Update master sites
   
   PR:             ports/124920
   Submitted by:   Pedro F. Giffuni <pfgshield-freebsd@yahoo.com>
   
   Revision  Changes    Path
   1.4       +8 -2      ports/math/laspack/Makefile
   1.2       +0 -13     ports/math/laspack/files/patch-makefile (dead)
   1.2       +2 -2      ports/math/laspack/pkg-descr
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
