summaryrefslogtreecommitdiff
path: root/www/ap2-perl/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-11-19 23:22:40 +0000
committerjlam <jlam@pkgsrc.org>2002-11-19 23:22:40 +0000
commit3a2b386aabd5da89dbda28a1cafdbcd1e4bc8cc9 (patch)
treee62af0bfca4fddb83607baa4efaf2a78942cc16a /www/ap2-perl/Makefile
parent76bdc72fc4b9671d32f179db9288d96fed394332 (diff)
downloadpkgsrc-3a2b386aabd5da89dbda28a1cafdbcd1e4bc8cc9.tar.gz
Update www/ap2-perl to 1.99.7. Changes from version 1.99.5 include:
* Using a stable distfile instead of the daily snapshot. * add $r->add_config method to add dynamic configuration at request time * add Apache::DIR_MAGIC_TYPE constant * add support for directive handlers * add Apache::Server->add_config method to add dynamic configuration at server startup time * add Apache::Directive->to_string method * add support for pluggable <Perl> sections * fix the filehandle leak in APR::PerlIO * fix compilation if apache/apr do not have thread support
Diffstat (limited to 'www/ap2-perl/Makefile')
-rw-r--r--www/ap2-perl/Makefile38
1 files changed, 10 insertions, 28 deletions
diff --git a/www/ap2-perl/Makefile b/www/ap2-perl/Makefile
index a9fe1d68e64..99f493bf316 100644
--- a/www/ap2-perl/Makefile
+++ b/www/ap2-perl/Makefile
@@ -1,45 +1,27 @@
-# $NetBSD: Makefile,v 1.2 2002/07/17 10:31:38 martti Exp $
-#
-# This package tracks a snapshot of modperl-2.0 that is updated every 6
-# hours. To update to the latest snapshot, simply change DISTNAME to
-# point to the correct distfile at ${MASTER_SITES}. The PKGNAME is taken
-# from ${WRKSRC}/STATUS.
+# $NetBSD: Makefile,v 1.3 2002/11/19 23:22:41 jlam Exp $
#
# NOTE: This package is *BETA*. If it doesn't work, then check the
# modperl-2.0 mailing lists for help.
-DISTNAME= modperl-2.0_20020717042359
-PKGNAME= ap2-perl-1.99.5
-WRKSRC= ${WRKDIR}/modperl-2.0
+DISTNAME= mod_perl-1.99_07
+PKGNAME= ap2-perl-1.99.7
CATEGORIES= www perl5
-MASTER_SITES= http://cvs.apache.org/snapshots/modperl-2.0/
+MASTER_SITES= http://perl.apache.org/dist/
MAINTAINER= jlam@netbsd.org
HOMEPAGE= http://perl.apache.org/
COMMENT= Module that embeds a Perl interpreter into Apache
-DEPENDS+= apache>=2.0.39:../../www/apache2
-
-# This section should be removed when modperl-2.0 is released.
-RESTRICTED= "Changes frequently; fetch from master site."
-NO_SRC_ON_FTP= ${RESTRICTED}
-NO_CHECKSUM= # defined
-
-USE_BUILDLINK_ONLY= # defined
-USE_PERL5= # defined
+USE_BUILDLINK2= # defined
PERL5_REQD= 5.6.0
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/mod_perl/.packlist
-MAKE_PARAMS+= MP_APXS=${LOCALBASE}/sbin/apxs
+MAKE_PARAMS+= MP_APXS=${APXS}
-do-configure:
- @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${MAKE_PARAMS}
+post-install:
+ ${CP} -R ${WRKSRC}/docs ${PREFIX}/share/doc/html/mod_perl
-post-configure:
- for file in ${WRKSRC}/xs/modperl_xs_typedefs.h; do \
- ${MV} -f $${file} $${file}.orig; \
- ${GREP} -v "apr_thread_mutex_t" \
- $${file}.orig > $${file}; \
- done
+.include "../../lang/perl5/module.mk"
+.include "../../www/apache2/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"