blob: c0fe4ddec69265f263fb619b0154e95805e2831a (
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
|
# Created by: donnex
# $FreeBSD$
PORTNAME= pwsafe
PORTVERSION= 0.2.0
PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://nsd.dyndns.org/pwsafe/releases/
MAINTAINER= donnex@donnex.net
COMMENT= Cmdline program that manages encrypted password databases
OPTIONS_DEFINE= SETUID X11
SETUID_DESC= Install setuid pwsafe binary
GNU_CONFIGURE= yes
USE_GMAKE= yes
MAN1= pwsafe.1
PLIST_FILES= bin/pwsafe
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MX11}
CONFIGURE_ARGS= --with-x
USE_XORG= ice sm x11 xmu
.else
CONFIGURE_ARGS= ac_cv_have_x="have_x=no" \
ac_cv_lib_ICE_IceConnectionNumber=no \
ac_cv_lib_X11_XOpenDisplay=no \
ac_cv_lib_Xmu_XmuInternAtom=no
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pwsafe ${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/pwsafe.1 ${PREFIX}/man/man1/
.if ${PORT_OPTIONS:MSETUID}
${CHMOD} u+s ${PREFIX}/bin/pwsafe
.endif
.include <bsd.port.mk>
|