freebsd-ports/security/pam_bsdbioapi/Makefile
Martin Wilke f6825e276c - Update to 1.5.1
PR:		121732
Submitted by:	"Fredrik Lindberg" <fli@shapeshifter.se> (maintainer)
2008-03-17 19:59:53 +00:00

53 lines
1.1 KiB
Makefile

# Ports collection makefile for: pam_bsdbioapi
# Date created: 13 January 2006
# Whom: Fredrik Lindberg <fli@shapeshifter.se>
#
# $FreeBSD$
#
PORTNAME= pam_bsdbioapi
PORTVERSION= 1.5.1
CATEGORIES= security
MASTER_SITES= http://www.shapeshifter.se/pub/pam_bsdbioapi/
MAINTAINER= fli@shapeshifter.se
COMMENT= PAM module for BioAPI
LIB_DEPENDS= bioapi100.0:${PORTSDIR}/security/bioapi
USE_LDCONFIG= yes
SUB_FILES= pkg-message
MAN8= pam_bsdbioapi.8
MAN3= libbirdb.3
MAN1= bbdm.1
OPTIONS= FILEDB "Filebacked database backend" on \
MYSQL "MySQL backend" off \
PLAIN "Plain ASCII backend" on
.include <bsd.port.pre.mk>
PLIST_FILES= etc/birdb.conf.sample
BACKENDS=
.if defined(WITH_FILEDB)
BACKENDS+= filedb
PLIST_FILES+= share/birdb/birdb_filedb.so
.endif
.if defined(WITH_MYSQL)
USE_MYSQL= yes
BACKENDS+= mysql
PLIST_FILES+= share/birdb/birdb_mysql.so
.endif
.if defined(WITH_PLAIN)
BACKENDS+= plain
PLIST_FILES+= share/birdb/birdb_plain.so
.endif
CFLAGS+= -fPIC
MAKE_ENV= BACKENDS="${BACKENDS}"
post-install:
${INSTALL} ${WRKSRC}/etc/birdb.conf ${PREFIX}/etc/birdb.conf.sample
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>