blob: 6d93bdd0f68c3482545aed53f2f0d2463f567c1f (
plain) (
blame)
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
|
# Created by: Martin Mersberger
# $FreeBSD$
PORTNAME= pam_mkhomedir
PORTVERSION= 0.2
CATEGORIES= security
MASTER_SITES= http://portal-to-web.de/pam_mkhomedir/
MAINTAINER= gremlin@portal-to-web.de
COMMENT= Create HOME with a PAM module on demand
USES= uidfix
SUB_FILES= pkg-message
PLIST_FILES= lib/pam_mkhomedir.so \
lib/pam_mkhomedir.so.2 \
man/man8/pam_mkhomedir.8.gz
.if defined(WITH_PROFILE)
PLIST_FILES+= lib/libpam_mkhomedir_p.a
MAKE_ARGS+= PROFILE=yes
WITH_STATIC= yes
.else
MAKE_ARGS+= NO_PROFILE=yes
.endif
.if defined(WITH_STATIC)
PLIST_FILES+= lib/libpam_mkhomedir.a
.else
MAKE_ARGS+= NO_INSTALLLIB=yes
.endif
pre-everything::
.if !defined(WITH_PROFILE) || !defined(WITH_STATIC)
@${ECHO_CMD} ""
@${ECHO_CMD} "All definable build options"
@${ECHO_CMD} "---------------------------"
@${ECHO_CMD} ""
@${ECHO_CMD} "WITH_PROFILE=yes Build with static lib with profile"
@${ECHO_CMD} "WITH_STATIC=yes Build with static lib"
@${ECHO_CMD} ""
.endif
.include <bsd.port.mk>
|