forked from Lainports/freebsd-ports
- Fix MASTER_SITE (s/xsl/xml/)
- Chase distinfo: Minor reroll - Packaging: Drop pkg-plist, use REINPLACE instead of PERL
This commit is contained in:
parent
e28d8ba3be
commit
36947186cd
4 changed files with 14 additions and 15 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
MD5 (xslint005.zip) = 61c3483fc2ee7901e5cb2fdb3481c572
|
||||
SIZE (xslint005.zip) = 12975
|
||||
MD5 (xslint005.zip) = 95f305999b68377a95511c30594cdf4f
|
||||
SIZE (xslint005.zip) = 13517
|
||||
|
|
|
|||
|
|
@ -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/
|
||||
|
|
|
|||
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue