From boris@brooknet.com.au  Wed Apr  6 02:46:05 2005
Return-Path: <boris@brooknet.com.au>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id BB6AC16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  6 Apr 2005 02:46:05 +0000 (GMT)
Received: from bloodwood.hunterlink.net.au (smtp-local.hunterlink.net.au [203.12.144.17])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 69D3443D41
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  6 Apr 2005 02:46:04 +0000 (GMT)
	(envelope-from boris@brooknet.com.au)
Received: from localhost (ppp2E60.dyn.pacific.net.au [61.8.46.96])
	by bloodwood.hunterlink.net.au (8.12.8/8.12.8) with ESMTP id j362k1oq024893
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 6 Apr 2005 12:46:02 +1000
Received: by localhost (Postfix, from userid 0)
	id 8DC0A99B; Wed,  6 Apr 2005 12:46:02 +1000 (EST)
Message-Id: <20050406024602.8DC0A99B@localhost>
Date: Wed,  6 Apr 2005 12:46:02 +1000 (EST)
From: Sam Lawrance <boris@brooknet.com.au>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] misc/pipe: unbreak and update to 0.b.1.5
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         79578
>Category:       ports
>Synopsis:       [PATCH] misc/pipe: unbreak and update to 0.b.1.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    hq
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 06 02:50:03 GMT 2005
>Closed-Date:    Thu Apr 07 00:00:31 GMT 2005
>Last-Modified:  Thu Apr  7 00:10:11 GMT 2005
>Originator:     Sam Lawrance
>Release:        FreeBSD 5.4-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD dirk.no.domain 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #11: Sun Mar  6 12:44:50 EST
>Description:
- Update to 0.b.1.5
- Stipulate JAVA_VERSION
- Symlink examples so the program can find them and provide the
  "Examples" menu

>How-To-Repeat:
>Fix:

--- pipe-0.b.1.5.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/FreeBSD/ports/misc/pipe/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	26 Mar 2005 07:06:21 -0000	1.2
+++ Makefile	6 Apr 2005 01:47:52 -0000
@@ -7,22 +7,21 @@
 #
 
 PORTNAME=	pipe
-PORTVERSION=	0.b.1.0
+PORTVERSION=	0.b.1.5
 CATEGORIES=	misc
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	petri-net
-DISTNAME=	${PORTNAME}-beta-1.0
+DISTNAME=	${PORTNAME}-beta-1.5
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Platform Independent Petri-Net Editor
 
-BROKEN=		Size mismatch
-
 USE_ZIP=	yes
-WRKSRC=		${WRKDIR}/PIPE
+WRKSRC=		${WRKDIR}/${PORTNAME}
 NO_WRKSUBDIR=	yes
 NO_BUILD=	yes
 USE_JAVA=	yes
+JAVA_VERSION=	1.3+
 
 PLIST_FILES=	bin/pipe
 
@@ -37,13 +36,16 @@
 	${INSTALL_SCRIPT} ${WRKSRC}/pipe ${PREFIX}/bin
 	@${MKDIR} ${DATADIR}
 	${CP} -R ${WRKSRC}/bin/ ${DATADIR}
+	${LN} -s ${DATADIR}/petri-nets ${DATADIR}/Example\ nets
 	@${FIND} ${DATADIR} ! -type d | \
 		${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
 	@${FIND} ${DATADIR} -type d | ${SORT} -r | \
 		${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-	${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
+.for i in javadoc license manual
+	${CP} -R ${WRKSRC}/resources/${i} ${DOCSDIR}
+.endfor
 .endif
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/FreeBSD/ports/misc/pipe/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	23 Aug 2004 08:04:45 -0000	1.1
+++ distinfo	5 Apr 2005 13:38:10 -0000
@@ -1,2 +1,2 @@
-MD5 (pipe-beta-1.0.zip) = bd9bff57bec23a2e1fdfac61546421a4
-SIZE (pipe-beta-1.0.zip) = 1797504
+MD5 (pipe-beta-1.5.zip) = ad88a8b58de02fb0b68f7f85b11d3057
+SIZE (pipe-beta-1.5.zip) = 1498335
--- pipe-0.b.1.5.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->hq 
Responsible-Changed-By: hq 
Responsible-Changed-When: Wed Apr 6 14:02:53 GMT 2005 
Responsible-Changed-Why:  
I'll handle this. 

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

From: Sam Lawrance <boris@brooknet.com.au>
To: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: ports/79578: [PATCH] misc/pipe: unbreak and update to 0.b.1.5
Date: Thu, 07 Apr 2005 09:40:19 +1000

 The patch is fine.
 
 Cheers
 Sam.
 
State-Changed-From-To: open->closed 
State-Changed-By: hq 
State-Changed-When: Thu Apr 7 00:00:09 GMT 2005 
State-Changed-Why:  
Patch commited with the modifications you approved. 

Thanks for your contribution! 

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

From: Sam Lawrance <boris@brooknet.com.au>
To: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: ports/79578: [PATCH] misc/pipe: unbreak and update to 0.b.1.5
Date: Thu, 07 Apr 2005 09:54:36 +1000

 --=-8ePH2yroQstDFKqJQyjS
 Content-Type: text/plain
 Content-Transfer-Encoding: 7bit
 
 Actually, maybe use FIND and INSTALL_DATA for the rest as well.
 
 
 
 
 
 --=-8ePH2yroQstDFKqJQyjS
 Content-Disposition: attachment; filename=patch4
 Content-Type: text/plain; name=patch4; charset=ASCII
 Content-Transfer-Encoding: 7bit
 
 --- Makefile.orig	Thu Apr  7 09:53:12 2005
 +++ Makefile	Thu Apr  7 09:53:48 2005
 @@ -33,7 +33,10 @@
  do-install:
  	${INSTALL_SCRIPT} ${WRKDIR}/pipe.sh ${PREFIX}/bin/pipe
  	@${MKDIR} ${DATADIR}
 -	${CP} -R ${WRKSRC}/bin/ ${DATADIR}
 +	cd ${WRKSRC}/bin && \
 +		${FIND} . -type d -exec ${MKDIR} ${DATADIR}/{} \;
 +	cd ${WRKSRC}/bin && \
 +		${FIND} . -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
  	${LN} -s ${DATADIR}/petri-nets ${DATADIR}/Example\ nets
  	@${FIND} ${DATADIR} ! -type d | \
  		${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
 
 --=-8ePH2yroQstDFKqJQyjS--
 
>Unformatted:
