aboutsummaryrefslogtreecommitdiff
path: root/textproc/xmlprpr
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2006-02-20 12:54:16 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2006-02-20 12:54:16 +0000
commite39124cb50b0b58e3a751f7e62bd211cbe21dc86 (patch)
tree8f8c5b1d618b168fc0aae453ad66d87a9a524926 /textproc/xmlprpr
parent0bcfd8caaad3ee92e61e71e6e77166a99fa07f15 (diff)
downloadports-e39124cb50b0b58e3a751f7e62bd211cbe21dc86.tar.gz
ports-e39124cb50b0b58e3a751f7e62bd211cbe21dc86.zip
Notes
Diffstat (limited to 'textproc/xmlprpr')
-rw-r--r--textproc/xmlprpr/Makefile16
-rw-r--r--textproc/xmlprpr/pkg-descr3
2 files changed, 13 insertions, 6 deletions
diff --git a/textproc/xmlprpr/Makefile b/textproc/xmlprpr/Makefile
index e5607ef6905b..42f0269e29d0 100644
--- a/textproc/xmlprpr/Makefile
+++ b/textproc/xmlprpr/Makefile
@@ -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 --git a/textproc/xmlprpr/pkg-descr b/textproc/xmlprpr/pkg-descr
index 9917c98ef2a1..c5dcdb2cafab 100644
--- a/textproc/xmlprpr/pkg-descr
+++ b/textproc/xmlprpr/pkg-descr
@@ -9,5 +9,4 @@ renamed so as not to conflict with an xmlpp already in the ports tree.
WWW: http://software.decisionsoft.com/tools.html
-- Paul Chvostek
-paul+ports@it.ca
+- Paul Chvostek <paul+ports@it.ca>