aboutsummaryrefslogtreecommitdiff
path: root/textproc/xslint
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2004-07-13 16:24:33 +0000
committerVolker Stolz <vs@FreeBSD.org>2004-07-13 16:24:33 +0000
commit36947186cd33b27389d0350b2ceaeadecd7041f3 (patch)
tree673ee1388473a7aee0a97f0fa0c2db65fe1ec9a7 /textproc/xslint
parente28d8ba3be5b45d7d5e5364b0328c0c7e7b8e6a2 (diff)
downloadports-36947186cd33b27389d0350b2ceaeadecd7041f3.tar.gz
ports-36947186cd33b27389d0350b2ceaeadecd7041f3.zip
Notes
Diffstat (limited to 'textproc/xslint')
-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