diff options
author | pgollucci <pgollucci@FreeBSD.org> | 2009-05-11 15:35:41 +0800 |
---|---|---|
committer | pgollucci <pgollucci@FreeBSD.org> | 2009-05-11 15:35:41 +0800 |
commit | 2c17f7fe0861289b0c96acff7893c45e7ff2ed7e (patch) | |
tree | c2d81eea02f5470218146ba34920ce949a0f8768 /www | |
parent | d705e2b3a8f951b3c9ba6bd4df282b5f63940626 (diff) | |
download | freebsd-ports-gnome-2c17f7fe0861289b0c96acff7893c45e7ff2ed7e.tar.gz freebsd-ports-gnome-2c17f7fe0861289b0c96acff7893c45e7ff2ed7e.tar.zst freebsd-ports-gnome-2c17f7fe0861289b0c96acff7893c45e7ff2ed7e.zip |
- Cleanup apxs -> APXS usage
- Clean up PLIST_SUB vars
- Use %%AP*%% in pkg-plist
Diffstat (limited to 'www')
-rw-r--r-- | www/mod_auth_kerb/Makefile | 19 | ||||
-rw-r--r-- | www/mod_auth_kerb/pkg-plist | 2 |
2 files changed, 2 insertions, 19 deletions
diff --git a/www/mod_auth_kerb/Makefile b/www/mod_auth_kerb/Makefile index 01d338a98c65..413749263a81 100644 --- a/www/mod_auth_kerb/Makefile +++ b/www/mod_auth_kerb/Makefile @@ -17,29 +17,12 @@ MASTER_SITE_SUBDIR=modauthkerb MAINTAINER= apache@FreeBSD.org COMMENT= An Apache module for authenticating users with Kerberos v5 -# -# This module allows users to send their Kerberos password in -# plain text; it should only be used over an encrypted connection -# (i.e., HTTP over SSL/TLS). Thus, we require as a dependency -# a version of Apache which can do this. -# USE_APACHE= 1.3 USE_GMAKE= yes -# Don't fsck with CFLAGS -CFLAGS:= GNU_CONFIGURE= yes PORTSCOUT= limit:^5.3 -.include <bsd.port.pre.mk> - -.if exists(${PREFIX}/sbin/apxs) -APACHE_MODULE_DIR!=${PREFIX}/sbin/apxs -q LIBEXECDIR -.else -APACHE_MODULE_DIR=libexec/apache -.endif -PLIST_SUB+= APMODDIR=${APACHE_MODULE_DIR:S/^${PREFIX}\///} - .if defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libgssapi_krb5.a) CONFIGURE_ARGS+= --with-krb5=${KRB5_HOME} --without-krb4 .elif defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME}/lib/libgssapi.a) @@ -51,4 +34,4 @@ LIB_DEPENDS+= krb5:${PORTSDIR}/security/krb5 CONFIGURE_ARGS+= --with-krb5=${LOCALBASE} --without-krb4 .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/www/mod_auth_kerb/pkg-plist b/www/mod_auth_kerb/pkg-plist index e10a6259ef13..cd2cc90e3dc4 100644 --- a/www/mod_auth_kerb/pkg-plist +++ b/www/mod_auth_kerb/pkg-plist @@ -1,3 +1,3 @@ -%%APMODDIR%%/mod_auth_kerb.so +%%APACHEMODDIR%%/mod_auth_kerb.so @exec %D/sbin/apxs -e -A -n auth_kerb %D/%F @unexec %D/sbin/apxs -e -A -n auth_kerb %D/%F |