blob: f2013f61c4808c777c5462f75a9ec77bd648a407 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# 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>
|