Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / security / tkpasman / Makefile
blobb38e1b69128dc85872c228d9218e8c399a60bab0
1 # $NetBSD: Makefile,v 1.22 2012/10/23 18:17:01 asau Exp $
4 DISTNAME= TkPasMan-2.2a
5 PKGNAME= ${DISTNAME:S/TkPasMan/tkpasman/}
6 PKGREVISION= 9
7 CATEGORIES= security
8 MASTER_SITES= http://www.xs4all.nl/~wbsoft/linux/projects/
10 MAINTAINER= pkgsrc-users@NetBSD.org
11 HOMEPAGE= http://www.xs4all.nl/~wbsoft/linux/tkpasman.html
12 COMMENT= Username and password manager that uses the Tk toolkit
14 CONFIG_SUBST= PREFIX="${PREFIX}"
15 CONFIG_SUBST+= SHELL="${SH}"
16 CONFIG_SUBST+= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
17 CONFIG_SUBST+= TCLSH="${BUILDLINK_PREFIX.tcl}/bin/tclsh"
18 CONFIG_SUBST+= WISH="${BUILDLINK_PREFIX.tk}/bin/wish"
19 CONFIG_SUBST_SED= ${CONFIG_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/}
21 .include "options.mk"
23 BUILD_TARGET= tkpasman
24 INSTALLATION_DIRS= bin share/doc/tkpasman
26 post-extract:
27 ${MV} ${WRKSRC}/config ${WRKSRC}/config.in
29 do-configure:
30 ${SED} ${CONFIG_SUBST_SED} ${WRKSRC}/config.in > ${WRKSRC}/config
32 do-install:
33 ${INSTALL_SCRIPT} ${WRKSRC}/tkpasman ${DESTDIR}${PREFIX}/bin
34 ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/tkpasman
36 .include "../../x11/tk/buildlink3.mk"
37 .include "../../mk/bsd.pkg.mk"