2014-06-10 15:17:42 +02:00
|
|
|
# $NetBSD: Makefile,v 1.21 2014/06/10 13:17:42 joerg Exp $
|
2005-01-13 22:51:08 +01:00
|
|
|
|
2014-06-10 15:17:42 +02:00
|
|
|
DISTNAME= openpam-20130907
|
2005-01-13 22:51:08 +01:00
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openpam/}
|
|
|
|
|
2006-03-14 17:23:46 +01:00
|
|
|
MAINTAINER= joerg@NetBSD.org
|
2005-01-13 22:51:08 +01:00
|
|
|
HOMEPAGE= http://www.openpam.org/
|
2005-12-05 21:49:47 +01:00
|
|
|
COMMENT= Open-source PAM library
|
2011-12-13 16:57:08 +01:00
|
|
|
LICENSE= modified-bsd
|
2005-01-13 22:51:08 +01:00
|
|
|
|
|
|
|
CONFLICTS+= PAM-[0-9]*
|
|
|
|
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
2005-01-13 22:51:08 +01:00
|
|
|
CONFIGURE_ARGS+= --without-pam-su
|
|
|
|
CONFIGURE_ARGS+= --with-pam-unix
|
|
|
|
CONFIGURE_ARGS+= --with-modules-dir=${PREFIX}/lib/security
|
|
|
|
|
2014-06-10 15:17:42 +02:00
|
|
|
CPPFLAGS+= -DSYSCONFDIR=\"$(PKG_SYSCONFDIR)\"
|
|
|
|
|
2005-02-10 03:55:38 +01:00
|
|
|
OWN_DIRS= ${PKG_SYSCONFDIR}/pam.d
|
|
|
|
|
2005-01-13 22:54:22 +01:00
|
|
|
.include "../../mk/dlopen.buildlink3.mk"
|
|
|
|
|
2005-01-13 22:51:08 +01:00
|
|
|
# Create a fake perl binary to avoid recreating the man pages.
|
|
|
|
post-tools:
|
|
|
|
${RM} -f ${TOOLS_DIR}/bin/perl
|
2005-01-17 17:55:21 +01:00
|
|
|
${ECHO} "#!${TOOLS_SHELL}" > ${TOOLS_DIR}/bin/perl
|
|
|
|
${ECHO} "${TRUE}" >> ${TOOLS_DIR}/bin/perl
|
|
|
|
${CHMOD} +x ${TOOLS_DIR}/bin/perl
|
2005-01-13 22:51:08 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|