aboutsummaryrefslogtreecommitdiff
path: root/textproc/xmlprpr
diff options
context:
space:
mode:
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>