624b40edde
Patch to set perl_destruct_level to -1 no longer appears required. Tested with perl 5.8.2 on i386. Typical problems used to include failed restarts via SIGHUP which have now gone away.
45 lines
1.2 KiB
Makefile
45 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.15 2004/04/13 14:37:26 peter Exp $
|
|
|
|
# This port currently only works with archs supporting dynamic loading
|
|
# and has Apache that supports DSO's.
|
|
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
|
|
|
COMMENT= "module that embeds a Perl interpreter into Apache"
|
|
|
|
DISTNAME= mod_perl-1.29
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= http://perl.apache.org/dist/ \
|
|
${MASTER_SITE_PERL_CPAN:=Apache/}
|
|
|
|
HOMEPAGE= http://perl.apache.org/
|
|
|
|
MAINTAINER= Peter Galbavy <peter.galbavy@knowtion.net>
|
|
|
|
# Apache
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
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:
|
|
@sed -e s#!!PREFIX!!#${PREFIX}#g \
|
|
< ${FILESDIR}/mod_perl-enable > ${WRKBUILD}/mod_perl-enable
|
|
|
|
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
|
|
${INSTALL_SCRIPT} ${WRKBUILD}/mod_perl-enable ${PREFIX}/sbin
|
|
|
|
.include <bsd.port.mk>
|