2011-05-07 07:15:21 +02:00
|
|
|
# $NetBSD: Makefile,v 1.17 2011/05/07 05:15:21 manu Exp $
|
2009-03-02 17:47:42 +01:00
|
|
|
#
|
|
|
|
|
2009-03-03 11:53:15 +01:00
|
|
|
PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:S/mod_//:S/_/-/}
|
2011-04-04 10:45:43 +02:00
|
|
|
DISTNAME= mod_auth_mellon-0.3.0
|
2011-05-07 07:15:21 +02:00
|
|
|
PKGREVISION= 3
|
2009-03-02 17:47:42 +01:00
|
|
|
CATEGORIES= www security
|
|
|
|
MASTER_SITES= http://modmellon.googlecode.com/files/
|
|
|
|
|
|
|
|
MAINTAINER= manu@NetBSD.org
|
|
|
|
HOMEPAGE= http://code.google.com/p/modmellon/
|
|
|
|
COMMENT= SAML 2.0 authentication for Apache
|
2011-03-18 10:48:54 +01:00
|
|
|
LICENSE= gnu-gpl-v2 # or later
|
|
|
|
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
2009-03-02 17:47:42 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
USE_LIBTOOL= YES
|
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
|
|
|
|
APACHE_MODULE= YES
|
|
|
|
APACHE_MODULE_NAME= auth_mellon_module
|
2011-03-18 10:48:54 +01:00
|
|
|
PKG_APACHE_ACCEPTED= apache22
|
2009-03-02 17:47:42 +01:00
|
|
|
.include "../../mk/apache.mk"
|
2011-03-18 10:48:54 +01:00
|
|
|
BUILDLINK_API_DEPENDS.apache+= apache>=2.0.47
|
2009-03-02 17:47:42 +01:00
|
|
|
|
2011-03-18 10:48:54 +01:00
|
|
|
SUBST_CLASSES+= pthflags
|
|
|
|
SUBST_MESSAGES= Convert -pthread flag to apxs style
|
|
|
|
SUBST_STAGE.pthflags= post-configure
|
|
|
|
SUBST_FILES.pthflags= Makefile
|
|
|
|
SUBST_SED.pthflags= -e 's| -pthread | ${"${PTHREAD_CFLAGS:M-pthread}":?-Wc,-pthread:} ${"${PTHREAD_LDFLAGS:M-pthread}":?-Wl,-pthread:} |g'
|
2010-01-04 16:43:17 +01:00
|
|
|
|
2011-03-18 10:48:54 +01:00
|
|
|
INSTALLATION_DIRS+= lib/httpd
|
2009-03-02 17:47:42 +01:00
|
|
|
|
2011-03-18 10:48:54 +01:00
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
libexecdir=`${APXS} -q LIBEXECDIR` && \
|
|
|
|
${APXS} -i -S LIBEXECDIR=${DESTDIR}"$${libexecdir}" \
|
|
|
|
-n auth_mellon mod_auth_mellon.la
|
2009-12-20 12:31:30 +01:00
|
|
|
|
2009-03-02 17:47:42 +01:00
|
|
|
.include "../../security/lasso/buildlink3.mk"
|
|
|
|
.include "../../www/curl/buildlink3.mk"
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|