![]() ![]() | ![]() |
File: [cvs.NetBSD.org] / pkgsrc / www / ap-jk / Attic / Makefile (download)
Revision 1.36, Fri Jun 2 18:27:59 2006 UTC (17 years, 6 months ago) by joerg
Rename all PHP 4 packages to php4-*, all PHP 5 packages to php5-*, all PEAR packages to php?-pear-* and all Apache packages to ap13-* or ap2-* respectively. Add new variables to simplify the Makefile handling. Add CONFLICTS on the old names. Reset revisions of bumped packages. ap-php will now depend on the default Apache and PHP version. All programs using it have an implicit option of the Apache version as well. OK from jlam@ and adrianp@. |
# $NetBSD: Makefile,v 1.36 2006/06/02 18:27:59 joerg Exp $ DISTNAME= jakarta-tomcat-connectors-${JK_VERSION}-src PKGNAME= ap13-jk-${JK_VERSION} JK_VERSION= 1.2.15 CATEGORIES= www java MASTER_SITES= http://www.apache.org/dist/jakarta/tomcat-connectors/jk/source/jk-${JK_VERSION}/ MAINTAINER= erh@NetBSD.org HOMEPAGE= http://jakarta.apache.org/tomcat/connectors-doc/ COMMENT= Apache connector for accessing Jakarta Tomcat CONFLICTS= ap-jk-[0-9]* WRKSRC= ${WRKDIR}/${DISTNAME}/jk/native APACHE_MODULE= YES BUILD_DEFS+= JK_ENABLE_JNI GNU_CONFIGURE= yes USE_TOOLS+= gmake SUBST_CLASSES+= jk-lt SUBST_STAGE.jk-lt= post-configure SUBST_FILES.jk-lt= Makefile common/Makefile apache-2.0/Makefile SUBST_SED.jk-lt= -e "s|^\(LIBTOOL =\) [^ ]*$$|\1 \$$(SHELL) \$$(top_builddir)/libtool|g" SUBST_MESSAGE.jk-lt= Fixing libtool references. # XXX The standard --with-apxs2 when using apache2 doesn't work CONFIGURE_ARGS+= --with-apxs=${APXS:Q} .if defined(JK_ENABLE_JNI) USE_JAVA= yes CONFIGURE_ARGS+= --enable-jni CONFIGURE_ARGS+= --with-java-home=${JAVA_HOME:Q} SUBST_FILES.jk-lt+= jni/Makefile .endif .include "../../mk/apache.mk" .if defined(JK_ENABLE_JNI) .include "../../mk/java-vm.mk" .endif .include "../../mk/bsd.pkg.mk"