2394f51acd
suggested by bentley@
46 lines
1.0 KiB
Makefile
46 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.4 2013/08/07 21:58:00 naddy Exp $
|
|
|
|
COMMENT = cross-platform password manager
|
|
|
|
V = 1.5.3.6.3
|
|
REVISION = 0
|
|
DISTNAME = zdia-gorilla-v${V}-0-gfc80d95
|
|
PKGNAME = password-gorilla-${V}
|
|
CATEGORIES = security
|
|
|
|
HOMEPAGE = http://wiki.github.com/zdia/gorilla/
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MASTER_SITES = https://github.com/zdia/gorilla/tarball/v${V}/ \
|
|
http://spacehopper.org/mirrors/
|
|
|
|
USE_X11 = Yes
|
|
MODULES = x11/tk
|
|
|
|
RUN_DEPENDS = devel/itcl \
|
|
devel/tcllib \
|
|
devel/tklib \
|
|
${MODTK_RUN_DEPENDS}
|
|
|
|
NO_BUILD = Yes
|
|
NO_TEST = Yes
|
|
PKG_ARCH = *
|
|
|
|
WRKDIST = ${WRKDIR}/zdia-gorilla-fc80d95/sources
|
|
|
|
GORILLALIB = ${PREFIX}/lib/password-gorilla
|
|
GORILLASTUFF = blowfish isaac.tcl viewhelp.tcl pwsafe \
|
|
msgs pics pwsafe sha1 twofish modules
|
|
|
|
do-install:
|
|
${MODTCL_WISH_ADJ} ${WRKDIST}/gorilla.tcl
|
|
${SUBST_CMD} ${WRKDIST}/gorilla.tcl
|
|
${INSTALL_PROGRAM_DIR} ${GORILLALIB}
|
|
@cd ${WRKDIST}; \
|
|
tar -cf - ${GORILLASTUFF} | tar -xf - -C ${GORILLALIB}
|
|
${INSTALL_SCRIPT} ${WRKDIST}/gorilla.tcl ${PREFIX}/bin/gorilla
|
|
|
|
.include <bsd.port.mk>
|