diff options
Diffstat (limited to 'textproc/xslint/Makefile')
-rw-r--r-- | textproc/xslint/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/textproc/xslint/Makefile b/textproc/xslint/Makefile new file mode 100644 index 0000000..544d5aa --- /dev/null +++ b/textproc/xslint/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: xslint +# Date created: 11 August 2001 +# Whom: Alex Kapranoff <kapr@crosswinds.net> +# +# $FreeBSD$ +# + +PORTNAME= xslint +PORTVERSION= 005 +CATEGORIES= textproc perl5 +MASTER_SITES= http://nwalsh.com/xsl/xslint/ +DISTNAME= ${PORTNAME}${PORTVERSION} + +MAINTAINER= kapr@crosswinds.net + +RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/XML/DOM.pm:${PORTSDIR}/textproc/p5-XML-DOM + +USE_PERL5= yes +USE_ZIP= yes + +WRKSRC= ${WRKDIR}/${PORTNAME} +NO_BUILD= yes + +post-patch: + ${PERL5} -pi -e 's,/usr/local/bin/perl5,${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} +.endif + +.include <bsd.port.mk> |