aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-07-14 00:24:33 +0800
committervs <vs@FreeBSD.org>2004-07-14 00:24:33 +0800
commit9321a0cb9489ab8c51059b23fd87b8e83c4cecec (patch)
tree1b4e68b83c68f2469b29c1c24061b5b0c6fc4085 /textproc
parent14cf9a4437814edf4f7148ec85ad55e85c0be70c (diff)
downloadfreebsd-ports-gnome-9321a0cb9489ab8c51059b23fd87b8e83c4cecec.tar.gz
freebsd-ports-gnome-9321a0cb9489ab8c51059b23fd87b8e83c4cecec.tar.zst
freebsd-ports-gnome-9321a0cb9489ab8c51059b23fd87b8e83c4cecec.zip
- Fix MASTER_SITE (s/xsl/xml/)
- Chase distinfo: Minor reroll - Packaging: Drop pkg-plist, use REINPLACE instead of PERL
Diffstat (limited to 'textproc')
-rw-r--r--textproc/xslint/Makefile18
-rw-r--r--textproc/xslint/distinfo4
-rw-r--r--textproc/xslint/pkg-descr2
-rw-r--r--textproc/xslint/pkg-plist5
4 files changed, 14 insertions, 15 deletions
diff --git a/textproc/xslint/Makefile b/textproc/xslint/Makefile
index 134b3ef32b8c..b4774ca8569f 100644
--- a/textproc/xslint/Makefile
+++ b/textproc/xslint/Makefile
@@ -8,7 +8,7 @@
PORTNAME= xslint
PORTVERSION= 005
CATEGORIES= textproc perl5
-MASTER_SITES= http://nwalsh.com/xsl/xslint/
+MASTER_SITES= http://nwalsh.com/xml/xslint/
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
@@ -16,22 +16,26 @@ COMMENT= XSL(T) stylesheet checker
RUN_DEPENDS= ${SITE_PERL}/XML/DOM.pm:${PORTSDIR}/textproc/p5-XML-DOM
-USE_PERL5= yes
USE_ZIP= yes
+USE_REINPLACE= yes
+USE_PERL5_RUN= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}
+WRKSRC= ${WRKDIR}/${PORTNAME}-0.05
NO_BUILD= yes
+PLIST_FILES= bin/xslint
+PORTDOCS= README xslint.html xslint.xml
+
post-patch:
- ${PERL5} -pi -e 's,/usr/local/bin/perl5,${PERL},' ${WRKSRC}/${PORTNAME}.pl
+ @${REINPLACE_CMD} -e 's,/usr/bin/perl,${PERL},' ${WRKSRC}/${PORTNAME}.pl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/xslint.html ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/xslint.xml ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+. for i in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+. endfor
.endif
.include <bsd.port.mk>
diff --git a/textproc/xslint/distinfo b/textproc/xslint/distinfo
index 8f8c281e2b4a..58231c27592a 100644
--- a/textproc/xslint/distinfo
+++ b/textproc/xslint/distinfo
@@ -1,2 +1,2 @@
-MD5 (xslint005.zip) = 61c3483fc2ee7901e5cb2fdb3481c572
-SIZE (xslint005.zip) = 12975
+MD5 (xslint005.zip) = 95f305999b68377a95511c30594cdf4f
+SIZE (xslint005.zip) = 13517
diff --git a/textproc/xslint/pkg-descr b/textproc/xslint/pkg-descr
index 97d48219a57f..0e975bb293dd 100644
--- a/textproc/xslint/pkg-descr
+++ b/textproc/xslint/pkg-descr
@@ -15,4 +15,4 @@ XSLint looks for:
* fo: elements that aren't part of the XSL 1.0 PR;
* fo: element properties that aren't part of the XSL 1.0 PR.
-WWW: http://nwalsh.com/xsl/xslint/
+WWW: http://nwalsh.com/xml/xslint/
diff --git a/textproc/xslint/pkg-plist b/textproc/xslint/pkg-plist
deleted file mode 100644
index b41760b97224..000000000000
--- a/textproc/xslint/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-bin/xslint
-%%PORTDOCS%%share/doc/xslint/README
-%%PORTDOCS%%share/doc/xslint/xslint.html
-%%PORTDOCS%%share/doc/xslint/xslint.xml
-%%PORTDOCS%%@dirrm share/doc/xslint