2003-05-22 10:16:22 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2003/05/22 14:16:23 naddy Exp $
|
2000-09-06 03:52:45 -04:00
|
|
|
|
2001-08-12 22:57:14 -04:00
|
|
|
# This port currently only works with archs supporting dynamic loading
|
|
|
|
# and has Apache that supports DSO's.
|
2003-05-22 10:16:22 -04:00
|
|
|
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
2000-09-06 03:52:45 -04:00
|
|
|
|
2001-04-18 19:08:29 -04:00
|
|
|
COMMENT= "module that embeds a Perl interpreter into Apache"
|
|
|
|
|
2002-11-21 09:37:36 -05:00
|
|
|
DISTNAME= mod_perl-1.27
|
2000-09-06 03:52:45 -04:00
|
|
|
CATEGORIES= www perl5
|
|
|
|
MASTER_SITES= http://perl.apache.org/dist/ \
|
2002-05-15 13:58:49 -04:00
|
|
|
${MASTER_SITE_PERL_CPAN:=Apache/}
|
2000-09-06 03:52:45 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://perl.apache.org/
|
2001-08-12 22:57:14 -04:00
|
|
|
|
2001-09-07 18:37:59 -04:00
|
|
|
MAINTAINER= Peter Galbavy <peter.galbavy@knowtion.net>
|
2000-09-06 03:52:45 -04:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2001-08-12 22:57:14 -04:00
|
|
|
SUBST_VARS= PKGNAME
|
|
|
|
|
2000-09-23 19:43:36 -04:00
|
|
|
CONFIGURE_STYLE= perl
|
2001-09-07 18:37:59 -04:00
|
|
|
CONFIGURE_ARGS= USE_APXS="1" EVERYTHING="1" PERL_DEBUG=1 \
|
2001-08-12 22:57:14 -04:00
|
|
|
WITH_APXS="/usr/sbin/apxs" PERL_USELARGEFILES="0"
|
2000-09-06 03:52:45 -04:00
|
|
|
|
2000-09-23 19:43:36 -04:00
|
|
|
INSTALL_TARGET= pure_install doc_install
|
2000-09-06 03:52:45 -04:00
|
|
|
|
|
|
|
post-build:
|
|
|
|
@sed -e s#!!PREFIX!!#${PREFIX}#g \
|
2001-08-12 22:57:14 -04:00
|
|
|
< ${FILESDIR}/mod_perl-enable > ${WRKBUILD}/mod_perl-enable
|
2000-09-06 03:52:45 -04:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_perl
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/apaci/libperl.so ${PREFIX}/lib/mod_perl.so
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/htdocs/manual/mod/* \
|
|
|
|
${PREFIX}/share/doc/mod_perl
|
2001-08-12 22:57:14 -04:00
|
|
|
${INSTALL_SCRIPT} ${WRKBUILD}/mod_perl-enable ${PREFIX}/sbin
|
2000-09-06 03:52:45 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|