Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Feb 2006 22:50:43 -0500 (EST)
From:      Paul Chvostek <paul+ports@it.ca>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Paul Chvostek <paul+ports@it.ca>
Subject:   ports/93584: [maintainer update]: use PERL make var instead of assuming /usr/bin/perl
Message-ID:  <200602200350.k1K3ohgc073435@mail.it.ca>
Resent-Message-ID: <200602200400.k1K40KgQ054017@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         93584
>Category:       ports
>Synopsis:       [maintainer update]: use PERL make var instead of assuming /usr/bin/perl
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 20 04:00:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Paul Chvostek
>Release:        FreeBSD 5.4-RELEASE-p6 i386
>Organization:
>Environment:
System: FreeBSD mail.it.ca 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #0: Sun Aug 21 18:50:49 EDT 2005 paul@kanar.int.it.ca:/usr/obj/usr/src/sys/kanar i386


	
>Description:
	Original port submission included a REINPLACE to convert the
	script's /usr/bin/perl to whatever is in the PERL make variable.
	The REINPLACE was was removed by the committer.  This PR puts it
	back.

>How-To-Repeat:
	n/a
>Fix:

	

--- xmlprpr-1.32_1-diff begins here ---
diff -ruN /usr/ports/textproc/xmlprpr/Makefile xmlprpr/Makefile
--- /usr/ports/textproc/xmlprpr/Makefile	Sat Feb 11 02:14:24 2006
+++ xmlprpr/Makefile	Sun Feb 19 22:42:38 2006
@@ -7,20 +7,28 @@
 
 PORTNAME=	xmlprpr
 PORTVERSION=	1.32
+PORTREVISION=	1
 CATEGORIES=	textproc
-MASTER_SITES=	http://software.decisionsoft.com/software/
+MASTER_SITES=	http://software.decisionsoft.com/software/ \
+		http://www.it.ca/~paul/src/
 DISTFILES=	xmlpp.pl
-EXTRACT_ONLY=
 
 MAINTAINER=	paul+ports@it.ca
-COMMENT=	A XML pretty printer
+COMMENT=	An XML pretty printer
 
 USE_PERL5=	yes
 NO_WRKSUBDIR=	yes
 NO_BUILD=	yes
 PLIST_FILES=	bin/xmlprpr
 
+do-extract:
+	@${MKDIR} ${WRKSRC}
+	@${CP} -f ${_DISTDIR}/${_DISTFILES} ${WRKSRC}
+
+post-patch:
+	@${REINPLACE_CMD} -e '1s:/usr/bin/perl:${PERL}:' ${WRKSRC}/xmlpp.pl
+
 do-install:
-	${INSTALL_SCRIPT} ${_DISTDIR}/${_DISTFILES} ${PREFIX}/bin/xmlprpr
+	@${INSTALL_SCRIPT} ${WRKSRC}/xmlpp.pl ${PREFIX}/bin/xmlprpr
 
 .include <bsd.port.mk>
diff -ruN /usr/ports/textproc/xmlprpr/pkg-descr xmlprpr/pkg-descr
--- /usr/ports/textproc/xmlprpr/pkg-descr	Sat Feb 11 02:14:24 2006
+++ xmlprpr/pkg-descr	Sun Feb 19 22:41:03 2006
@@ -9,5 +9,4 @@
 
 WWW: http://software.decisionsoft.com/tools.html
 
-- Paul Chvostek
-paul+ports@it.ca
+- Paul Chvostek <paul+ports@it.ca>
--- xmlprpr-1.32_1-diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602200350.k1K3ohgc073435>