2006-03-07 02:22:16 +01:00
|
|
|
# $NetBSD: Makefile,v 1.6 2006/03/07 01:22:16 joerg Exp $
|
2005-05-05 22:16:42 +02:00
|
|
|
|
2006-03-07 02:22:16 +01:00
|
|
|
DISTNAME= pam_mysql-0.7RC1
|
|
|
|
PKGNAME= ${DISTNAME:S/_/-/:S/RC/rc/}
|
2005-05-05 22:16:42 +02:00
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pam-mysql/}
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2005-05-05 22:16:42 +02:00
|
|
|
HOMEPAGE= http://pam-mysql.sourceforge.net/
|
|
|
|
COMMENT= PAM module for authenticating with MySQL
|
|
|
|
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/pam-mysql
|
|
|
|
|
2006-03-07 02:22:16 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
2005-06-17 05:50:19 +02:00
|
|
|
|
2006-03-07 02:22:16 +01:00
|
|
|
CONFIGURE_ARGS+= --with-mysql=${BUILDLINK_PREFIX.mysql-client:Q}
|
|
|
|
CONFIGURE_ARGS+= --with-pam-mods-dir=${PREFIX:Q}/lib/security
|
|
|
|
CONFIGURE_ARGS+= --disable-static
|
2005-05-05 22:16:42 +02:00
|
|
|
|
2006-03-07 02:22:16 +01:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR:Q}
|
|
|
|
cd ${WRKSRC:Q} && ${INSTALL_DATA} CREDITS ChangeLog README ${DOCDIR:Q}
|
2005-05-05 22:16:42 +02:00
|
|
|
|
2006-03-07 02:22:16 +01:00
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
2005-05-05 22:16:42 +02:00
|
|
|
.include "../../mk/mysql.buildlink3.mk"
|
|
|
|
.include "../../mk/pam.buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|