openbsd-ports/www/p5-Plagger/Makefile

69 lines
1.5 KiB
Makefile
Raw Normal View History

2010-10-22 16:28:17 -04:00
# $OpenBSD: Makefile,v 1.4 2010/10/22 20:28:17 jasper Exp $
COMMENT= pluggable RSS/Atom aggregator
MODULES= cpan
DISTNAME= Plagger-0.7.17
2010-10-22 16:28:17 -04:00
REVISION= 0
CATEGORIES= www textproc
2010-10-19 04:02:53 -04:00
USE_GROFF = Yes
CPAN_AUTHOR= MIYAGAWA
HOMEPAGE= http://plagger.org/
MAINTAINER= Simon Bertrang <simon@openbsd.org>
# Perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_ARGS+=--default --skip
RUN_DEPENDS= ::devel/p5-Cache-Cache \
::devel/p5-Class-Accessor \
::devel/p5-DateTime \
::devel/p5-DateTime-Format-Mail \
::devel/p5-DateTime-Format-Strptime \
::devel/p5-DateTime-Format-W3CDTF \
::devel/p5-DateTime-Locale \
::devel/p5-File-Find-Rule \
::devel/p5-File-HomeDir \
::devel/p5-Module-Pluggable-Fast \
::devel/p5-Term-Encoding \
::devel/p5-Test-Base \
::devel/p5-Universal-require \
::devel/p5-YAML \
::mail/p5-MIME-Types \
::net/p5-Net-DNS \
::textproc/p5-Template \
::textproc/p5-Template-Provider-Encoding \
::textproc/p5-Text-Tags \
::textproc/p5-XML-LibXML \
::textproc/p5-XML-RSS-LibXML \
::www/p5-XML-Atom \
::www/p5-XML-Feed \
::www/p5-HTML-Parser \
::www/p5-HTML-ResolveLink \
::www/p5-URI-Fetch \
::www/p5-libwww
BUILD_DEPENDS= ${RUN_DEPENDS}
2010-10-22 16:28:17 -04:00
SHAREDIR= ${PREFIX}/share/p5-Plagger
2010-10-22 16:28:17 -04:00
SUBST_VARS+= SHAREDIR
2010-10-22 16:25:07 -04:00
MODCPAN_EXAMPLES= Yes
pre-configure:
2010-10-22 16:28:17 -04:00
${SUBST_CMD} ${WRKSRC}/lib/Plagger/{Plugin,Template}.pm
post-install:
2010-10-22 16:25:07 -04:00
${MODCPAN_POST_INSTALL}
${INSTALL_DATA_DIR} ${SHAREDIR}/assets
cd ${WRKSRC}/assets && pax -rw . ${SHAREDIR}/assets
.include <bsd.port.mk>