Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= vlock |
8 |
PORTNAME= vlock |
9 |
PORTVERSION= 2.2.1 |
9 |
PORTVERSION= 2.2.2 |
10 |
CATEGORIES= security |
10 |
CATEGORIES= security |
11 |
MASTER_SITES= http://cthulhu.c3d2.de/~toidinamai/vlock/archive/ |
11 |
MASTER_SITES= http://cthulhu.c3d2.de/~toidinamai/vlock/archive/ |
12 |
|
12 |
|
Lines 21-30
Link Here
|
21 |
--with-modules="${VLOCKMODULES}" \ |
21 |
--with-modules="${VLOCKMODULES}" \ |
22 |
--with-scripts="${VLOCKSCRIPTS}" \ |
22 |
--with-scripts="${VLOCKSCRIPTS}" \ |
23 |
VLOCK_GROUP="${VLOCKGRP}" \ |
23 |
VLOCK_GROUP="${VLOCKGRP}" \ |
24 |
VLOCK_MODE="0750" |
24 |
VLOCK_MODE="0750" \ |
25 |
CONFIGURE_ENV= LOCALBASE=${LOCALBASE} |
25 |
EXTRA_CFLAGS="-I${LOCALBASE}/include" \ |
|
|
26 |
EXTRA_LDFLAGS="-L${LOCALBASE}/lib" |
26 |
|
27 |
|
27 |
OPTIONS= VLOCKSCRIPTS "Install sample hook scripts" off \ |
28 |
OPTIONS= ROOTPWD "Enable unlock using root password" on \ |
|
|
29 |
VLOCKSCRIPTS "Install sample hook scripts" off \ |
28 |
CACASAVER "Enable libcaca screensaver" off |
30 |
CACASAVER "Enable libcaca screensaver" off |
29 |
|
31 |
|
30 |
MANLANG= "" |
32 |
MANLANG= "" |
Lines 42-47
Link Here
|
42 |
|
44 |
|
43 |
.include <bsd.port.pre.mk> |
45 |
.include <bsd.port.pre.mk> |
44 |
|
46 |
|
|
|
47 |
.if !defined(WITHOUT_ROOTPWD) |
48 |
CONFIGURE_ARGS+= --enable-root-password |
49 |
.else |
50 |
CONFIGURE_ARGS+= --disable-root-password |
51 |
.endif |
52 |
|
45 |
.if !defined(WITHOUT_VLOCKSCRIPTS) |
53 |
.if !defined(WITHOUT_VLOCKSCRIPTS) |
46 |
VLOCKSCRIPTS+= amarok.sh example_script.sh mplayer.sh |
54 |
VLOCKSCRIPTS+= amarok.sh example_script.sh mplayer.sh |
47 |
PLIST_SUB+= PL_VLOCKSCRIPTS="" |
55 |
PLIST_SUB+= PL_VLOCKSCRIPTS="" |