ports/93584: [maintainer update]: use PERL make var instead of assuming /usr/bin/perl
Paul Chvostek
paul+ports at it.ca
Mon Feb 20 04:00:22 UTC 2006
>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 at 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 at 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 at it.ca
+- Paul Chvostek <paul+ports at it.ca>
--- xmlprpr-1.32_1-diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list