aboutsummaryrefslogtreecommitdiff
path: root/security/gorilla/Makefile
blob: 8159b1db72e6c72552044bd89b404f73611f9bf9 (plain) (blame)
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
# New ports collection makefile for:	gorilla
# Date created:				2006-02-11
# Whom:					Kay Lehmann <kay_lehmann@web.de>
#
# $FreeBSD$
#

PORTNAME=	gorilla
PORTVERSION=	1.4
PORTREVISION=	1
CATEGORIES=	security
MASTER_SITES=	http://www.fpx.de/fp/Software/Gorilla/download/

MAINTAINER=	kay_lehmann@web.de
COMMENT=	Password Gorilla is cross-platform Password Manager

LIB_DEPENDS=	itcl.3:${PORTSDIR}/lang/itcl
RUN_DEPENDS=	${LOCALBASE}/lib/bwidget/init.tcl:${PORTSDIR}/x11-toolkits/bwidget

USE_TCL_RUN=	yes
USE_TK=		yes
GNU_CONFIGURE=	yes
NO_BUILD=	yes

do-install:
	@${MKDIR} ${PREFIX}/lib/gorilla
	@${INSTALL_SCRIPT} ${WRKSRC}/*.tcl ${PREFIX}/lib/gorilla
	${TAR} -C ${WRKSRC} -cf - blowfish pics pwsafe twofish sha1 | \
		${TAR} -C ${PREFIX}/lib/gorilla --unlink -xf -
	@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin

post-install:
	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/gorilla
	@${CHMOD} ugo+rx ${PREFIX}/lib/gorilla/blowfish/*.tcl
	@${CHMOD} ugo+rx ${PREFIX}/lib/gorilla/pwsafe/*.tcl
	@${CHMOD} ugo+rx ${PREFIX}/lib/gorilla/twofish/*.tcl
	@${CHMOD} ugo+rx ${PREFIX}/lib/gorilla/sha1/*.tcl

.include <bsd.port.mk>