freebsd-ports/textproc/xslint/Makefile
Emanuel Haupt afaf02a2c1 - Convert to use shebangfix USES flag
- Trim header
- Use new options framework for DOCS
2013-05-07 09:39:35 +00:00

38 lines
796 B
Makefile

# Created by: Alex Kapranoff <kapr@crosswinds.net>
# $FreeBSD$
PORTNAME= xslint
PORTVERSION= 005
CATEGORIES= textproc perl5
MASTER_SITES= http://nwalsh.com/obsolete/xslint/
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
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
.include <bsd.port.options.mk>
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>