aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@FreeBSD.org>2013-11-10 23:11:59 +0000
committerOlli Hauer <ohauer@FreeBSD.org>2013-11-10 23:11:59 +0000
commit846a81465dbd77b4564cceaa9b7ad8b070635bbd (patch)
tree9e3ab7e455ece9928c8caf5656292a081838b366 /www
parent637d567fbcbdda9e403c897594064649b45d7c15 (diff)
downloadports-846a81465dbd77b4564cceaa9b7ad8b070635bbd.tar.gz
ports-846a81465dbd77b4564cceaa9b7ad8b070635bbd.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/mod_auth_cas/Makefile6
-rw-r--r--www/mod_cvs2/Makefile18
-rw-r--r--www/mod_perl2/Makefile52
-rw-r--r--www/mod_perl2/pkg-plist100
4 files changed, 110 insertions, 66 deletions
diff --git a/www/mod_auth_cas/Makefile b/www/mod_auth_cas/Makefile
index 4f2cac9e3827..77cffcea3632 100644
--- a/www/mod_auth_cas/Makefile
+++ b/www/mod_auth_cas/Makefile
@@ -16,7 +16,7 @@ COMMENT= Apache 2.x module that supports the CASv1 and CASv2 protocols
LICENSE= AL2
-LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl
+LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
NO_WRKSUBDIR= yes
@@ -26,12 +26,8 @@ AP_GENPLIST= yes
AP_LIB= ${LOCALBASE}/lib
AP_EXTRAS= -l ssl -l curl
-NO_STAGE= yes
post-extract:
${CP} ${DISTDIR}/${DIST_SUBDIR}/mod_auth_cas.c ${WRKSRC}/mod_auth_cas.c
${CP} ${DISTDIR}/${DIST_SUBDIR}/mod_auth_cas.h ${WRKSRC}/mod_auth_cas.h
-post-install:
- @${CAT} ${PKGMESSAGE}
-
.include <bsd.port.mk>
diff --git a/www/mod_cvs2/Makefile b/www/mod_cvs2/Makefile
index e33a9ee64191..711fcc663cf7 100644
--- a/www/mod_cvs2/Makefile
+++ b/www/mod_cvs2/Makefile
@@ -9,10 +9,7 @@ MASTER_SITES= http://resare.com/noa/mod_cvs/dist/
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
MAINTAINER= apache@FreeBSD.org
-COMMENT= A module that makes Apache 2 CVS aware
-
-
-LATEST_LINK= mod_cvs2
+COMMENT= Module that makes Apache 2 CVS aware
USE_APACHE= 22+
AP_FAST_BUILD= yes
@@ -20,14 +17,11 @@ AP_GENPLIST= yes
PORTDOCS= reference.html guide.html README
-NO_STAGE= yes
post-install:
-.if !defined (NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}/
- @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
-. for f in ${PORTDOCS:NREADME}
- @${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}/
-. endfor
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+.for f in ${PORTDOCS:NREADME}
+ @${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}
+.endfor
.include <bsd.port.mk>
diff --git a/www/mod_perl2/Makefile b/www/mod_perl2/Makefile
index 9d6dbd9213a2..406699c0d09a 100644
--- a/www/mod_perl2/Makefile
+++ b/www/mod_perl2/Makefile
@@ -15,7 +15,6 @@ COMMENT= Embeds a Perl interpreter in the Apache2 server
BUILD_DEPENDS= p5-BSD-Resource>=0:${PORTSDIR}/devel/p5-BSD-Resource
RUN_DEPENDS:= ${BUILD_DEPENDS}
-
SUB_FILES= pkg-message
SUB_LIST= APACHEMODDIR=${APACHEMODDIR}
USE_APACHE= 22+
@@ -23,41 +22,6 @@ USES= gmake perl5
USE_PERL5= configure
USE_CSTD= gnu89
-MAN3= APR.3 APR::Base64.3 APR::Brigade.3 APR::Bucket.3 \
- APR::BucketAlloc.3 APR::BucketType.3 APR::Const.3 \
- APR::Date.3 APR::Error.3 APR::Finfo.3 APR::IpSubnet.3 \
- APR::OS.3 APR::PerlIO.3 APR::Pool.3 APR::SockAddr.3 \
- APR::Socket.3 APR::Status.3 APR::String.3 APR::Table.3 \
- APR::ThreadMutex.3 APR::URI.3 APR::UUID.3 APR::Util.3 \
- Apache2::Access.3 Apache2::Build.3 Apache2::CmdParms.3 \
- Apache2::Command.3 Apache2::Connection.3 Apache2::Const.3 \
- Apache2::Directive.3 Apache2::Filter.3 Apache2::FilterRec.3 \
- Apache2::HookRun.3 Apache2::Log.3 Apache2::MPM.3 \
- Apache2::Module.3 Apache2::PerlSections.3 Apache2::Process.3 \
- Apache2::Reload.3 \
- Apache2::RequestIO.3 Apache2::RequestRec.3 \
- Apache2::RequestUtil.3 Apache2::Resource.3 \
- Apache2::Response.3 Apache2::ServerRec.3 \
- Apache2::ServerUtil.3 Apache2::SizeLimit.3 Apache2::Status.3 \
- Apache2::SubProcess.3 Apache2::SubRequest.3 Apache2::URI.3 \
- Apache2::Util.3 Apache2::compat.3 Apache2::porting.3 \
- Apache::Reload.3 Apache::SizeLimit.3 Apache::SizeLimit::Core.3 \
- Apache::Test.3 Apache::TestConfig.3 Apache::TestHandler.3 \
- Apache::TestMB.3 Apache::TestMM.3 Apache::TestReport.3 \
- Apache::TestRequest.3 Apache::TestRun.3 Apache::TestRunPHP.3 \
- Apache::TestRunPerl.3 Apache::TestServer.3 Apache::TestSmoke.3 \
- Apache::TestTrace.3 Apache::TestUtil.3 \
- Bundle::Apache2.3 Bundle::ApacheTest.3 ModPerl::BuildMM.3 \
- ModPerl::CScan.3 ModPerl::Code.3 ModPerl::Config.3 \
- ModPerl::Const.3 ModPerl::Global.3 ModPerl::MM.3 \
- ModPerl::MethodLookup.3 ModPerl::PerlRun.3 \
- ModPerl::PerlRunPrefork.3 ModPerl::Registry.3 \
- ModPerl::RegistryBB.3 ModPerl::RegistryCooker.3 \
- ModPerl::RegistryLoader.3 ModPerl::RegistryPrefork.3 \
- ModPerl::Util.3 mod_perl2.3 Apache2::ConnectionUtil.3 \
- APR::ThreadRWLock.3
-
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${APACHE_VERSION} > 22
@@ -103,19 +67,17 @@ post-configure:
${PATCH_WRKSRC}/xs/APR/APR/Makefile
post-install:
- ${MKDIR} ${PREFIX}/${APACHEINCLUDEDIR}/modules/perl
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEINCLUDEDIR}/modules/perl
${INSTALL_DATA} ${WRKSRC}/src/modules/perl/*.h \
- ${PREFIX}/${APACHEINCLUDEDIR}/modules/perl
- ${INSTALL_DATA} ${WRKSRC}/xs/*.h ${PREFIX}/${APACHEINCLUDEDIR}
- ${INSTALL_DATA} ${WRKSRC}/xs/APR/PerlIO/*.h ${PREFIX}/${APACHEINCLUDEDIR}
- ${MKDIR} ${PREFIX}/${APACHEMODDIR}
+ ${STAGEDIR}${PREFIX}/${APACHEINCLUDEDIR}/modules/perl
+ ${INSTALL_DATA} ${WRKSRC}/xs/*.h ${STAGEDIR}${PREFIX}/${APACHEINCLUDEDIR}
+ ${INSTALL_DATA} ${WRKSRC}/xs/APR/PerlIO/*.h ${STAGEDIR}${PREFIX}/${APACHEINCLUDEDIR}
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}
${INSTALL_PROGRAM} ${WRKSRC}/src/modules/perl/mod_perl.so \
- ${PREFIX}/${APACHEMODDIR}/mod_perl.so
+ ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_perl.so
- ${APXS} -e -A -n perl ${PREFIX}/${APACHEMODDIR}/mod_perl.so
- @${CAT} ${PKGMESSAGE}
test: build
- -@(cd ${WRKSRC} && ${MAKE} test)
+ -@(${MAKE} test -C ${WRKSRC})
.include <bsd.port.post.mk>
diff --git a/www/mod_perl2/pkg-plist b/www/mod_perl2/pkg-plist
index a8e31cd43ac8..2c47ae3d29ab 100644
--- a/www/mod_perl2/pkg-plist
+++ b/www/mod_perl2/pkg-plist
@@ -51,6 +51,98 @@ bin/mp2bug
%%APACHEINCLUDEDIR%%/modules/perl/modperl_trace.h
%%APACHEINCLUDEDIR%%/modules/perl/modperl_types.h
%%APACHEINCLUDEDIR%%/modules/perl/modperl_util.h
+%%PERL5_MAN3%%/APR.3.gz
+%%PERL5_MAN3%%/APR::Base64.3.gz
+%%PERL5_MAN3%%/APR::Brigade.3.gz
+%%PERL5_MAN3%%/APR::Bucket.3.gz
+%%PERL5_MAN3%%/APR::BucketAlloc.3.gz
+%%PERL5_MAN3%%/APR::BucketType.3.gz
+%%PERL5_MAN3%%/APR::Const.3.gz
+%%PERL5_MAN3%%/APR::Date.3.gz
+%%PERL5_MAN3%%/APR::Error.3.gz
+%%PERL5_MAN3%%/APR::Finfo.3.gz
+%%PERL5_MAN3%%/APR::IpSubnet.3.gz
+%%PERL5_MAN3%%/APR::OS.3.gz
+%%PERL5_MAN3%%/APR::PerlIO.3.gz
+%%PERL5_MAN3%%/APR::Pool.3.gz
+%%PERL5_MAN3%%/APR::SockAddr.3.gz
+%%PERL5_MAN3%%/APR::Socket.3.gz
+%%PERL5_MAN3%%/APR::Status.3.gz
+%%PERL5_MAN3%%/APR::String.3.gz
+%%PERL5_MAN3%%/APR::Table.3.gz
+%%PERL5_MAN3%%/APR::ThreadMutex.3.gz
+%%PERL5_MAN3%%/APR::ThreadRWLock.3.gz
+%%PERL5_MAN3%%/APR::URI.3.gz
+%%PERL5_MAN3%%/APR::UUID.3.gz
+%%PERL5_MAN3%%/APR::Util.3.gz
+%%PERL5_MAN3%%/Apache2::Access.3.gz
+%%PERL5_MAN3%%/Apache2::Build.3.gz
+%%PERL5_MAN3%%/Apache2::CmdParms.3.gz
+%%PERL5_MAN3%%/Apache2::Command.3.gz
+%%PERL5_MAN3%%/Apache2::Connection.3.gz
+%%PERL5_MAN3%%/Apache2::ConnectionUtil.3.gz
+%%PERL5_MAN3%%/Apache2::Const.3.gz
+%%PERL5_MAN3%%/Apache2::Directive.3.gz
+%%PERL5_MAN3%%/Apache2::Filter.3.gz
+%%PERL5_MAN3%%/Apache2::FilterRec.3.gz
+%%PERL5_MAN3%%/Apache2::HookRun.3.gz
+%%PERL5_MAN3%%/Apache2::Log.3.gz
+%%PERL5_MAN3%%/Apache2::MPM.3.gz
+%%PERL5_MAN3%%/Apache2::Module.3.gz
+%%PERL5_MAN3%%/Apache2::PerlSections.3.gz
+%%PERL5_MAN3%%/Apache2::Process.3.gz
+%%PERL5_MAN3%%/Apache2::Reload.3.gz
+%%PERL5_MAN3%%/Apache2::RequestIO.3.gz
+%%PERL5_MAN3%%/Apache2::RequestRec.3.gz
+%%PERL5_MAN3%%/Apache2::RequestUtil.3.gz
+%%PERL5_MAN3%%/Apache2::Resource.3.gz
+%%PERL5_MAN3%%/Apache2::Response.3.gz
+%%PERL5_MAN3%%/Apache2::ServerRec.3.gz
+%%PERL5_MAN3%%/Apache2::ServerUtil.3.gz
+%%PERL5_MAN3%%/Apache2::SizeLimit.3.gz
+%%PERL5_MAN3%%/Apache2::Status.3.gz
+%%PERL5_MAN3%%/Apache2::SubProcess.3.gz
+%%PERL5_MAN3%%/Apache2::SubRequest.3.gz
+%%PERL5_MAN3%%/Apache2::URI.3.gz
+%%PERL5_MAN3%%/Apache2::Util.3.gz
+%%PERL5_MAN3%%/Apache2::compat.3.gz
+%%PERL5_MAN3%%/Apache2::porting.3.gz
+%%PERL5_MAN3%%/Apache::Reload.3.gz
+%%PERL5_MAN3%%/Apache::SizeLimit.3.gz
+%%PERL5_MAN3%%/Apache::SizeLimit::Core.3.gz
+%%PERL5_MAN3%%/Apache::Test.3.gz
+%%PERL5_MAN3%%/Apache::TestConfig.3.gz
+%%PERL5_MAN3%%/Apache::TestHandler.3.gz
+%%PERL5_MAN3%%/Apache::TestMB.3.gz
+%%PERL5_MAN3%%/Apache::TestMM.3.gz
+%%PERL5_MAN3%%/Apache::TestReport.3.gz
+%%PERL5_MAN3%%/Apache::TestRequest.3.gz
+%%PERL5_MAN3%%/Apache::TestRun.3.gz
+%%PERL5_MAN3%%/Apache::TestRunPHP.3.gz
+%%PERL5_MAN3%%/Apache::TestRunPerl.3.gz
+%%PERL5_MAN3%%/Apache::TestServer.3.gz
+%%PERL5_MAN3%%/Apache::TestSmoke.3.gz
+%%PERL5_MAN3%%/Apache::TestTrace.3.gz
+%%PERL5_MAN3%%/Apache::TestUtil.3.gz
+%%PERL5_MAN3%%/Bundle::Apache2.3.gz
+%%PERL5_MAN3%%/Bundle::ApacheTest.3.gz
+%%PERL5_MAN3%%/ModPerl::BuildMM.3.gz
+%%PERL5_MAN3%%/ModPerl::CScan.3.gz
+%%PERL5_MAN3%%/ModPerl::Code.3.gz
+%%PERL5_MAN3%%/ModPerl::Config.3.gz
+%%PERL5_MAN3%%/ModPerl::Const.3.gz
+%%PERL5_MAN3%%/ModPerl::Global.3.gz
+%%PERL5_MAN3%%/ModPerl::MM.3.gz
+%%PERL5_MAN3%%/ModPerl::MethodLookup.3.gz
+%%PERL5_MAN3%%/ModPerl::PerlRun.3.gz
+%%PERL5_MAN3%%/ModPerl::PerlRunPrefork.3.gz
+%%PERL5_MAN3%%/ModPerl::Registry.3.gz
+%%PERL5_MAN3%%/ModPerl::RegistryBB.3.gz
+%%PERL5_MAN3%%/ModPerl::RegistryCooker.3.gz
+%%PERL5_MAN3%%/ModPerl::RegistryLoader.3.gz
+%%PERL5_MAN3%%/ModPerl::RegistryPrefork.3.gz
+%%PERL5_MAN3%%/ModPerl::Util.3.gz
+%%PERL5_MAN3%%/mod_perl2.3.gz
%%SITE_PERL%%/%%PERL_ARCH%%/APR.pm
%%SITE_PERL%%/%%PERL_ARCH%%/APR/Base64.pm
%%SITE_PERL%%/%%PERL_ARCH%%/APR/Brigade.pm
@@ -282,8 +374,10 @@ bin/mp2bug
%%SITE_PERL%%/%%PERL_ARCH%%/auto/ModPerl/Util/Util.so
%%SITE_PERL%%/%%PERL_ARCH%%/auto/mod_perl2/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/mod_perl2.pm
-%%APACHEMODDIR%%/mod_perl.so
-@exec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%F
+@unexec sed -i '' -E '/LoadModule[[:blank:]]+%%AP_NAME%%_module/d' %D/%%APACHEETCDIR%%/httpd.conf
+@unexec echo "Don't forget to remove all mod_perl2-related directives in your httpd.conf"
+%%APACHEMODDIR%%/%%AP_MODULE%%
+@exec %D/sbin/apxs -e %%AP_MOD_EN%% -n %%AP_NAME%% %D/%F
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/mod_perl2
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/ModPerl/Util
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/ModPerl/Global
@@ -350,5 +444,3 @@ bin/mp2bug
@dirrm %%APACHEINCLUDEDIR%%/modules/perl
@dirrmtry %%APACHEINCLUDEDIR%%/modules
@dirrmtry %%APACHEINCLUDEDIR%%
-@unexec sed -i '' -E '/LoadModule[[:blank:]]+%%AP_NAME%%_module/d' %D/%%APACHEETCDIR%%/httpd.conf
-@unexec echo "Don't forget to remove all mod_perl2-related directives in your httpd.conf"