aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-Apache-XBEL/Makefile
blob: a68c6d50333733c770f9340f00e2c97b73245449 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# 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=    13
PORTREVISION=   2
CATEGORIES= textproc perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-
DISTNAME=   ${PORTNAME}-${DISTVERSIONPREFIX}1.3${DISTVERSIONSUFFIX}

MAINTAINER= perl@FreeBSD.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}/Memoize.pm:${PORTSDIR}/devel/p5-Memoize
RUN_DEPENDS:=   ${BUILD_DEPENDS}

DEPRECATED= apache13 is deprecated, migrate to 2.2.x+ now
EXPIRATION_DATE=    one week after FreeBSD 9.0-RELEASE-p0

MAKE_JOBS_SAFE=  yes

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>