Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Aug 2001 18:46:42 +0400 (MSD)
From:      Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/29470: [new port] textproc/xslint for XSL checker by Norman Walsh
Message-ID:  <200108051446.f75Ekgt39830@kapran.bitmcnit.bryansk.su>

next in thread | raw e-mail | index | archive | help

>Number:         29470
>Category:       ports
>Synopsis:       [new port] textproc/xslint for XSL checker by Norman Walsh
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 05 10:10:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Alex Kapranoff
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Inner Mongolia
>Environment:
System: FreeBSD kapran.bitmcnit.bryansk.su 5.0-CURRENT FreeBSD 5.0-CURRENT #5: Sun Jun 24 22:56:52 MSD 2001 root@kapran.bitmcnit.bryansk.su:/usr/src/sys/compile/KAPRAN i386


	
>Description:
	
>How-To-Repeat:
	
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xslint
#	xslint/Makefile
#	xslint/distinfo
#	xslint/pkg-comment
#	xslint/pkg-descr
#	xslint/pkg-plist
#
echo c - xslint
mkdir -p xslint > /dev/null 2>&1
echo x - xslint/Makefile
sed 's/^X//' >xslint/Makefile << 'END-of-xslint/Makefile'
X# New ports collection makefile for:	xslint
X# Date created:			Aug 5, 2001
X# Whom:				Alex Kapranoff <kapr@crosswinds.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xslint
XPORTVERSION=	005
XCATEGORIES=	textproc perl5
XMASTER_SITES=	http://nwalsh.com/xsl/xslint/
XDISTNAME=	${PORTNAME}${PORTVERSION}
X
XMAINTAINER=	kapr@crosswinds.net
X
XRUN_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/XML/DOM.pm:${PORTSDIR}/textproc/p5-XML-DOM
X
XUSE_PERL5=	yes
XUSE_ZIP=	yes
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
XNO_BUILD=	yes
X
Xpost-patch:
X	${PERL5} -pi -e 's,/usr/local/bin/perl5,${PERL},' ${WRKSRC}/${PORTNAME}.pl
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCDIR}
X	${INSTALL_DATA} ${WRKSRC}/xslint.html ${DOCDIR}
X	${INSTALL_DATA} ${WRKSRC}/xslint.xml ${DOCDIR}
X	${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-xslint/Makefile
echo x - xslint/distinfo
sed 's/^X//' >xslint/distinfo << 'END-of-xslint/distinfo'
XMD5 (xslint005.zip) = 61c3483fc2ee7901e5cb2fdb3481c572
END-of-xslint/distinfo
echo x - xslint/pkg-comment
sed 's/^X//' >xslint/pkg-comment << 'END-of-xslint/pkg-comment'
XXSL(T) stylesheet checker
END-of-xslint/pkg-comment
echo x - xslint/pkg-descr
sed 's/^X//' >xslint/pkg-descr << 'END-of-xslint/pkg-descr'
XXSLint is an XSL lint checker. It reads an XSL stylesheet and looks
Xfor semantic errors.
X
XXSLint looks for:
X* an incorrect XSLT URI;
X* failure to provide a version;
X* duplicate match patterns;
X* modes that are used but never defined;
X* modes that are defined but never used;
X* named templates that are used but never defined;
X* named templates that are defined but never used;
X* templates that use name= where match= was probably intended;
X* xsl:call-template elements that contain anything other than xsl:with-param;
X* variable/parameter references that are not defined at the point of use;
X* fo: elements that aren't part of the XSL 1.0 PR;
X* fo: element properties that aren't part of the XSL 1.0 PR.
X
XWWW: http://nwalsh.com/xsl/xslint/
END-of-xslint/pkg-descr
echo x - xslint/pkg-plist
sed 's/^X//' >xslint/pkg-plist << 'END-of-xslint/pkg-plist'
Xbin/xslint
X%%PORTDOCS%%share/doc/xslint/README
X%%PORTDOCS%%share/doc/xslint/xslint.html
X%%PORTDOCS%%share/doc/xslint/xslint.xml
X%%PORTDOCS%%@dirrm share/doc/xslint
END-of-xslint/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108051446.f75Ekgt39830>