From nobody@FreeBSD.org  Mon Oct 12 03:58:55 2009
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 B32CF1065672
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Oct 2009 03:58:55 +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 A0B678FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Oct 2009 03:58:55 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n9C3wtsV086100
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Oct 2009 03:58:55 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n9C3wtbU086099;
	Mon, 12 Oct 2009 03:58:55 GMT
	(envelope-from nobody)
Message-Id: <200910120358.n9C3wtbU086099@www.freebsd.org>
Date: Mon, 12 Oct 2009 03:58:55 GMT
From: Sahil Tandon <sahil@tandon.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] lang/snobol4: fix broken mtree with custom PREFIX and update to 1.2
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         139540
>Category:       ports
>Synopsis:       [PATCH] lang/snobol4: fix broken mtree with custom PREFIX and update to 1.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wes
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 12 04:00:08 UTC 2009
>Closed-Date:    Sun Dec 06 18:18:35 UTC 2009
>Last-Modified:  Sun Dec 06 18:18:35 UTC 2009
>Originator:     Sahil Tandon
>Release:        7.2-RELEASE
>Organization:
>Environment:
>Description:
- update to 1.2
- fix broken mtree with custom PREFIX (reported by QATty)
- refine pkg-plist to exclude man pages / define them instead in Makefile
- remove files/patch-Makefile2.m4 which is unnecessary with version 1.2

.. and to make portlint happy:

- remove trailing period from COMMENT=
- remove white space at bottom of pkg-descr
>How-To-Repeat:
Install original port with custom PREFIX; see QATty log for more:

http://qatty.tecnik93.com//errors/7-STABLE-FPT-CustDir/snobol4-1.1.log
>Fix:
Patch attached.

Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/lang/snobol4/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile	8 Dec 2006 06:22:12 -0000	1.1
+++ Makefile	12 Oct 2009 03:51:28 -0000
@@ -5,16 +5,18 @@
 # $FreeBSD: ports/lang/snobol4/Makefile,v 1.1 2006/12/08 06:22:12 wes Exp $
 
 PORTNAME=	snobol4
-PORTVERSION=	1.1
+PORTVERSION=	1.2
 CATEGORIES=	lang
 MASTER_SITES=	ftp://ftp.ultimate.com/snobol/
 
 MAINTAINER=	wes@FreeBSD.org
-COMMENT=	A port of Macro SNOBOL4, supports full SNOBOL4 plus SPITBOL.
+COMMENT=	A port of Macro SNOBOL4, supports full SNOBOL4 plus SPITBOL
 
-#GNU_CONFIGURE=	yes
+HAS_CONFIGURE=	yes
+CONFIGURE_ARGS=	--prefix=${PREFIX}
 USE_GMAKE=	yes
 
 MAN1=		snobol4.1
+MAN3=		snolib.3 snobol4dbm.3 snobol4tcl.3
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/lang/snobol4/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	8 Dec 2006 06:22:12 -0000	1.1
+++ distinfo	12 Oct 2009 03:51:28 -0000
@@ -1,3 +1,3 @@
-MD5 (snobol4-1.1.tar.gz) = 101df7f3c74abb5703a01a85e58b4e9d
-SHA256 (snobol4-1.1.tar.gz) = 53503e412953ddf31149cd36aa3cd7ce164c2a149e33309fe7c583be54c791ae
-SIZE (snobol4-1.1.tar.gz) = 677333
+MD5 (snobol4-1.2.tar.gz) = 5265d1e21b8d1963e0c7fe830c3d5172
+SHA256 (snobol4-1.2.tar.gz) = bc3b1a644a966dc8121590495e2835252c7ff4e22f138c1cd96a19ed57f4f5eb
+SIZE (snobol4-1.2.tar.gz) = 658128
Index: pkg-descr
===================================================================
RCS file: /home/ncvs/ports/lang/snobol4/pkg-descr,v
retrieving revision 1.1
diff -u -r1.1 pkg-descr
--- pkg-descr	8 Dec 2006 06:22:12 -0000	1.1
+++ pkg-descr	12 Oct 2009 03:51:28 -0000
@@ -8,4 +8,3 @@
 is its simple syntax, and lack of "structured programming" constructs.
 However some consider the spareness of SNOBOL4 syntax a strength when
 compared to some "modern" agglomerations such as perl.
-
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/lang/snobol4/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- pkg-plist	8 Dec 2006 06:22:12 -0000	1.1
+++ pkg-plist	12 Oct 2009 03:51:28 -0000
@@ -1,8 +1,5 @@
 bin/snobol4
-bin/snobol4-1.1
-man/man3/snolib.3
-man/man3/snobol4dbm.3
-man/man3/snobol4tcl.3
+bin/snobol4-1.2
 lib/snobol4/README
 lib/snobol4/bq.sno
 lib/snobol4/chars.sno
Index: files/patch-Makefile2.m4
===================================================================
RCS file: files/patch-Makefile2.m4
diff -N files/patch-Makefile2.m4
--- files/patch-Makefile2.m4	8 Dec 2006 06:22:12 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
---- Makefile2.m4.orig	Thu Dec  7 21:26:31 2006
-+++ Makefile2.m4	Thu Dec  7 21:26:45 2006
-@@ -560,7 +560,7 @@
- 	@echo '*********************************************************' 1>&2
- 
- pv:	version.c
--	make -f Makefile pv
-+	$(MAKE) -f Makefile pv
- 
- ################
- MAKEFILE2=Makefile2


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->wes 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Oct 12 04:00:19 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/139540: commit references a PR
Date: Sun,  6 Dec 2009 17:37:53 +0000 (UTC)

 wes         2009-12-06 17:37:38 UTC
 
   FreeBSD ports repository
 
   Modified files:
     lang/snobol4         Makefile distinfo pkg-descr pkg-plist 
   Removed files:
     lang/snobol4/files   patch-Makefile2.m4 
   Log:
   Update to 1.2, remove dead patch incorporated upstream, fix descr
   to make portlint happy.  Extensive testing of plist with both
   make deinstall and pkg_delete.
   
   PR:             ports/139540
   Submitted by:   Sahil Tandon <sahil@tandon.net>
   
   Revision  Changes    Path
   1.2       +5 -3      ports/lang/snobol4/Makefile
   1.2       +3 -3      ports/lang/snobol4/distinfo
   1.2       +0 -11     ports/lang/snobol4/files/patch-Makefile2.m4 (dead)
   1.2       +1 -0      ports/lang/snobol4/pkg-descr
   1.2       +2 -1      ports/lang/snobol4/pkg-plist
 _______________________________________________
 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"
 
State-Changed-From-To: open->closed 
State-Changed-By: wes 
State-Changed-When: Sun Dec 6 18:18:02 UTC 2009 
State-Changed-Why:  
Committed.  Thanks for the report! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=139540 
>Unformatted:
