fdb4b2aac5
framework using mod_perl, XML and HTML::Template. PR: 31564 Submitted by: Seamus Venasse <svenasse@polaris.ca>
69 lines
3 KiB
Makefile
69 lines
3 KiB
Makefile
# New ports collection makefile for: Apache::PageKit
|
|
# Date created: 27 Oct 2001
|
|
# Whom: Seamus Venasse <svenasse@polaris.ca>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Apache-PageKit
|
|
PORTVERSION= 1.06
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= Apache
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= svenasse@polaris.ca
|
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl \
|
|
${SITE_PERL}/${PERL_ARCH}/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq \
|
|
${SITE_PERL}/Apache/Session.pm:${PORTSDIR}/www/p5-Apache-Session \
|
|
${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \
|
|
${SITE_PERL}/Data/FormValidator.pm:${PORTSDIR}/textproc/p5-Data-FormValidator \
|
|
${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
|
|
${SITE_PERL}/HTML/FillInForm.pm:${PORTSDIR}/www/p5-HTML-FillInForm \
|
|
${SITE_PERL}/HTML/Template.pm:${PORTSDIR}/www/p5-HTML-Template \
|
|
${SITE_PERL}/HTML/Clean.pm:${PORTSDIR}/www/p5-HTML-Clean \
|
|
${SITE_PERL}/Mail/Mailer.pm:${PORTSDIR}/mail/p5-Mail-Tools \
|
|
${SITE_PERL}/${PERL_ARCH}/Text/Iconv.pm:${PORTSDIR}/converters/p5-Text-Iconv \
|
|
${SITE_PERL}/MD5.pm:${PORTSDIR}/security/p5-MD5 \
|
|
${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser \
|
|
${SITE_PERL}/XML/XPath.pm:${PORTSDIR}/textproc/p5-XML-XPath \
|
|
${SITE_PERL}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI \
|
|
${SITE_PERL}/MIME/Types.pm:${PORTSDIR}/mail/p5-MIME-Types \
|
|
${SITE_PERL}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML \
|
|
${SITE_PERL}/${PERL_ARCH}/XML/LibXSLT.pm:${PORTSDIR}/textproc/p5-XML-LibXSLT
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
|
|
EXAMPLESDIR?= ${PREFIX}/share/examples/${PORTNAME}
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= Apache::ErrorReport.3 \
|
|
Apache::PageKit.3 \
|
|
Apache::PageKit::Model.3 \
|
|
Apache::PageKit::Session.3 \
|
|
XML::XPathTemplate.3
|
|
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR} ${EXAMPLESDIR} \
|
|
${EXAMPLESDIR}/Config ${EXAMPLESDIR}/Content \
|
|
${EXAMPLESDIR}/Model ${EXAMPLESDIR}/Model/MyPageKit \
|
|
${EXAMPLESDIR}/View ${EXAMPLESDIR}/View/Default \
|
|
${EXAMPLESDIR}/View/pdf ${EXAMPLESDIR}/View/print \
|
|
${EXAMPLESDIR}/View/wml ${EXAMPLESDIR}/View/xml
|
|
@${INSTALL_DATA} ${WRKSRC}/docsrc/* ${DOCSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/eg/README ${EXAMPLESDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/eg/Config/* ${EXAMPLESDIR}/Config
|
|
@${INSTALL_DATA} ${WRKSRC}/eg/Content/* ${EXAMPLESDIR}/Content
|
|
@${INSTALL_DATA} ${WRKSRC}/eg/Model/MyPageKit/* ${EXAMPLESDIR}/Model/MyPageKit
|
|
@${INSTALL_DATA} ${WRKSRC}/eg/View/Default/* ${EXAMPLESDIR}/View/Default
|
|
@${INSTALL_DATA} ${WRKSRC}/eg/View/pdf/* ${EXAMPLESDIR}/View/pdf
|
|
@${INSTALL_DATA} ${WRKSRC}/eg/View/print/* ${EXAMPLESDIR}/View/print
|
|
@${INSTALL_DATA} ${WRKSRC}/eg/View/wml/* ${EXAMPLESDIR}/View/wml
|
|
@${INSTALL_DATA} ${WRKSRC}/eg/View/xml/* ${EXAMPLESDIR}/View/xml
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|