d971a332da
packages - specially of packages that I haven't touched for a long while or those that other people can handle better than me.
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.16 2006/01/20 16:15:53 jmmv Exp $
|
|
#
|
|
|
|
DISTNAME= TkPasMan-2.2a
|
|
PKGNAME= ${DISTNAME:S/TkPasMan/tkpasman/}
|
|
PKGREVISION= 5
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.xs4all.nl/~wbsoft/linux/projects/
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://www.xs4all.nl/~wbsoft/linux/tkpasman.html
|
|
COMMENT= Username and password manager that uses the Tk toolkit
|
|
|
|
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 "options.mk"
|
|
|
|
BUILD_TARGET= tkpasman
|
|
INSTALLATION_DIRS= bin
|
|
|
|
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"
|