blob: d818ba635db100b94b1d83a1b06b3be7250787eb (
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
|
# $NetBSD: Makefile,v 1.12 2004/12/03 15:15:09 wiz Exp $
#
DISTNAME= TkPasMan-2.2a
PKGNAME= ${DISTNAME:S/TkPasMan/tkpasman/}
PKGREVISION= 5
CATEGORIES= security
MASTER_SITES= http://www.xs4all.nl/~wbsoft/linux/projects/
MAINTAINER= jmmv@NetBSD.org
HOMEPAGE= http://www.xs4all.nl/~wbsoft/linux/tkpasman.html
COMMENT= Username and password manager that uses the Tk toolkit
USE_BUILDLINK3= YES
CONFIG_SUBST= PREFIX="${PREFIX}"
CONFIG_SUBST+= SHELL="${SH}"
CONFIG_SUBST+= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
CONFIG_SUBST+= TCLSH="${BUILDLINK_PREFIX.tcl}/bin/tclsh"
CONFIG_SUBST+= WISH="${BUILDLINK_PREFIX.tk}/bin/wish"
CONFIG_SUBST_SED= ${CONFIG_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/}
.include "../../mk/bsd.prefs.mk"
# SSL support
.if defined(TKPASMAN_USE_SSL) && ${TKPASMAN_USE_SSL} == "YES"
. include "../../security/openssl/buildlink3.mk"
CONFIG_SUBST+= USE_OPENSSL="true"
CONFIG_SUBST+= OPENSSL="${BUILDLINK_PREFIX.openssl}/bin/openssl"
.else
CONFIG_SUBST+= USE_OPENSSL="false"
CONFIG_SUBST+= OPENSSL=""
.endif
BUILD_TARGET= tkpasman
post-extract:
${MV} ${WRKSRC}/config ${WRKSRC}/config.in
do-configure:
${SED} ${CONFIG_SUBST_SED} ${WRKSRC}/config.in > ${WRKSRC}/config
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/tkpasman ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tkpasman
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/tkpasman
.include "../../x11/tk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|