openbsd-ports/www/mod_perl/Makefile

48 lines
1.0 KiB
Makefile
Raw Normal View History

2009-06-05 12:13:15 -04:00
# $OpenBSD: Makefile,v 1.29 2009/06/05 16:13:15 dhill Exp $
COMMENT= module that embeds a Perl interpreter into Apache
2009-06-05 12:13:15 -04:00
DISTNAME= mod_perl-1.31
CATEGORIES= www perl5
MASTER_SITES= http://perl.apache.org/dist/ \
2002-05-15 13:58:49 -04:00
${MASTER_SITE_PERL_CPAN:=Apache/}
HOMEPAGE= http://perl.apache.org/
2001-08-12 22:57:14 -04:00
MODULES= apache-module
MODAPACHE_NAME= perl
MODAPACHE_LOCATION= ${WRKBUILD}/apaci
MODAPACHE_FILE= ${MODAPACHE_LOCATION}/libperl.so
2003-10-18 15:44:41 -04:00
# Apache
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2004-12-11 08:29:20 -05:00
WANTLIB= c m perl util
2009-06-05 12:13:15 -04:00
RUN_DEPENDS= ::www/p5-libwww \
::www/p5-HTML-Parser
BUILD_DEPENDS= ${RUN_DEPENDS}
2001-08-12 22:57:14 -04:00
SUBST_VARS= PKGNAME
NO_REGRESS= Yes
CONFIGURE_STYLE= perl
CONFIGURE_ARGS= USE_APXS="1" EVERYTHING="1" WITH_APXS="/usr/sbin/apxs"
INSTALL_TARGET= pure_install doc_install
post-build:
@${MODAPACHE_CREATE_ENABLE_SCRIPT}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_perl
${INSTALL_DATA} ${WRKSRC}/htdocs/manual/mod/* \
${PREFIX}/share/doc/mod_perl
${MODAPACHE_INSTALL}
.include <bsd.port.mk>