[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / www / ap2-jk

Annotation of pkgsrc/www/ap2-jk/Makefile, Revision 1.12

1.12    ! manu        1: # $NetBSD: Makefile,v 1.11.4.1 2018/08/24 11:32:02 manu Exp $
1.1       abs         2:
1.2       abs         3: DISTNAME=      tomcat-connectors-${JK_VERSION}-src
1.4       joerg       4: PKGNAME=       ${APACHE_PKG_PREFIX}-jk-${JK_VERSION}
1.12    ! manu        5: JK_VERSION=    1.2.43
1.9       joerg       6: CATEGORIES=    www java
                      7: MASTER_SITES=  ${MASTER_SITE_APACHE:=tomcat/tomcat-connectors/jk/}
                      8:
                      9: MAINTAINER=    pkgsrc-users@NetBSD.org
                     10: HOMEPAGE=      http://tomcat.apache.org/connectors-doc/
                     11: COMMENT=       Apache connector for accessing Jakarta Tomcat
1.11      wiz        12: LICENSE=       apache-2.0
1.9       joerg      13:
                     14: CONFLICTS=     ap-jk-[0-9]*
1.1       abs        15:
1.2       abs        16: MAKE_PARAMS+=          USE_APXS=1
                     17: MAKE_PARAMS+=          WITH_APXS=${APXS}
                     18:
1.5       joerg      19: INSTALLATION_DIRS+=    lib/httpd
                     20:
                     21: do-install:
                     22:        ${PREFIX}/share/httpd/build/instdso.sh \
                     23:            SH_LIBTOOL=${PREFIX}/share/httpd/build/libtool \
                     24:            ${WRKSRC}/apache-2.0/mod_jk.la \
                     25:            ${DESTDIR}${PREFIX}/lib/httpd
                     26:
1.9       joerg      27: WRKSRC=                ${WRKDIR}/${DISTNAME}/native
                     28: APACHE_MODULE= YES
                     29: BUILD_DEFS+=   JK_ENABLE_JNI
                     30:
                     31: GNU_CONFIGURE= yes
                     32: USE_LIBTOOL=   yes
                     33: USE_TOOLS+=    gmake
1.10      joerg      34: OVERRIDE_DIRDEPTH=     3
1.9       joerg      35:
                     36: SUBST_CLASSES+=                jk-lt
                     37: SUBST_STAGE.jk-lt=     post-configure
                     38: SUBST_FILES.jk-lt=     Makefile common/Makefile apache-2.0/Makefile
1.12    ! manu       39: SUBST_SED.jk-lt=       -e "s|^\\(LIBTOOL *=\\).*\$$|\\1 \$$(SHELL) \$$(top_builddir)/libtool|g"
1.9       joerg      40: SUBST_MESSAGE.jk-lt=   Fixing libtool references.
                     41:
1.12    ! manu       42: SUBST_CLASSES+=                jk-shlt
        !            43: SUBST_STAGE.jk-shlt=   post-configure
        !            44: SUBST_FILES.jk-shlt=   scripts/build/instdso.s
        !            45: SUBST_SED.jk-shlt=     -e "s|^\\(SH_LIBTOOL *=\\).*\$$|\\1 \$$(SHELL) \$$(top_builddir)/libtool|g"
        !            46: SUBST_MESSAGE.jk-shlt= Fixing libtool references in install script.
        !            47:
1.9       joerg      48: # XXX The standard --with-apxs2 when using apache2 doesn't work
                     49: CONFIGURE_ARGS+=       --with-apxs=${APXS:Q}
                     50:
                     51: .if defined(JK_ENABLE_JNI)
                     52: USE_JAVA=      yes
                     53: CONFIGURE_ARGS+=       --enable-jni
                     54: CONFIGURE_ARGS+=       --with-java-home=${JAVA_HOME:Q}
                     55: SUBST_FILES.jk-lt+=    jni/Makefile
                     56: .endif
                     57:
                     58: .if defined(JK_ENABLE_JNI)
                     59: .include "../../mk/java-vm.mk"
                     60: .endif
                     61:
1.3       xtraeme    62: .include "../../mk/apache.mk"
1.1       abs        63: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>