1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

Add p5-Apache-XBEL 1.3, apache mod_perl handler to render an XBEL file

as an HTML tree.

PR:		ports/69940
Submitted by:	Aaron Straup Cope <ascope@cpan.org>
This commit is contained in:
Mathieu Arnold 2004-08-03 17:34:24 +00:00
parent f97f56e86c
commit b7c21e740d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=115351
5 changed files with 53 additions and 0 deletions

View File

@ -226,6 +226,7 @@
SUBDIR += opensched
SUBDIR += opensp
SUBDIR += p5-Apache-ParseLog
SUBDIR += p5-Apache-XBEL
SUBDIR += p5-CSS-SAC
SUBDIR += p5-CSS-Tiny
SUBDIR += p5-Data-FormValidator

View File

@ -0,0 +1,40 @@
# New ports collection makefile for: p5-Apache-XBEL
# Date created: August 03 2004
# Whom: Aaron Straup Cope <ascope@cpan.org>
#
# $FreeBSD$
#
PORTNAME= Apache-XBEL
PORTVERSION= 1.3
# PORTREVISION=
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Apache
PKGNAMEPREFIX= p5-
MAINTAINER= ascope@cpan.org
COMMENT= Apache mod_perl handler to render an XBEL file as an HTML tree
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Apache.pm:${PORTSDIR}/www/mod_perl \
${SITE_PERL}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML \
${SITE_PERL}/${PERL_ARCH}/XML/LibXSLT.pm:${PORTSDIR}/textproc/p5-XML-LibXSLT \
${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec \
${SITE_PERL}/Memoize.pm:${PORTSDIR}/devel/p5-Memoize
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Apache::XBEL.3
.if defined(NOXSL)
PLIST_SUB+= XSL="@Comment "
.else
PLIST_SUB+= XSL=""
post-install:
@${ECHO} "Installing ${DATADIR}/apache-xbel.xsl"
@${MKDIR} ${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/xsl/apache-xbel.xsl ${DATADIR}
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (Apache-XBEL-1.3.tar.gz) = 9cf47652de8da27d8d53005c0981e317
SIZE (Apache-XBEL-1.3.tar.gz) = 9691

View File

@ -0,0 +1,3 @@
Apache mod_perl handler to render an XBEL file as an HTML tree
WWW: http://search.cpan.org/dist/Apache-XBEL/

View File

@ -0,0 +1,7 @@
%%SITE_PERL%%/Apache/XBEL.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/XBEL/.packlist
%%XSL%%%%DATADIR%%/apache-xbel.xsl
%%XSL%%@dirrm %%DATADIR%%
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/XBEL
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/Apache 2>/dev/null || true