diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2013-05-07 09:39:35 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2013-05-07 09:39:35 +0000 |
commit | afaf02a2c18b5dee868abe7a1276b2a858143052 (patch) | |
tree | 061aed4376835a650f216731ccce37b2994fa89e /textproc/xslint | |
parent | 74c8814c7a400e789a22d3690e89c40113b44cfc (diff) | |
download | ports-afaf02a2c18b5dee868abe7a1276b2a858143052.tar.gz ports-afaf02a2c18b5dee868abe7a1276b2a858143052.zip |
Notes
Diffstat (limited to 'textproc/xslint')
-rw-r--r-- | textproc/xslint/Makefile | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/textproc/xslint/Makefile b/textproc/xslint/Makefile index 1fdce14a0798..bfa61b8dc04b 100644 --- a/textproc/xslint/Makefile +++ b/textproc/xslint/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: xslint -# Date created: 11 August 2001 -# Whom: Alex Kapranoff <kapr@crosswinds.net> -# +# Created by: Alex Kapranoff <kapr@crosswinds.net> # $FreeBSD$ -# PORTNAME= xslint PORTVERSION= 005 @@ -16,25 +12,27 @@ COMMENT= XSL(T) stylesheet checker RUN_DEPENDS= p5-XML-DOM>=0:${PORTSDIR}/textproc/p5-XML-DOM +USES= shebangfix USE_ZIP= yes USE_PERL5_RUN= yes WRKSRC= ${WRKDIR}/${PORTNAME}-0.05 NO_BUILD= yes +SHEBANG_FILES= xslint.pl + PLIST_FILES= bin/xslint PORTDOCS= README xslint.html xslint.xml -post-patch: - @${REINPLACE_CMD} -e 's,/usr/bin/perl,${PERL},' ${WRKSRC}/${PORTNAME}.pl +.include <bsd.port.options.mk> do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME} -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} -. for i in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} -. endfor +.for i in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor .endif .include <bsd.port.mk> |