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
/}
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
!@
/}
23 BUILD_TARGET
= tkpasman
24 INSTALLATION_DIRS
= bin share
/doc
/tkpasman
27 ${MV} ${WRKSRC}/config
${WRKSRC}/config.in
30 ${SED} ${CONFIG_SUBST_SED} ${WRKSRC}/config.in
> ${WRKSRC}/config
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"