head	1.20;
access;
symbols
	RELEASE_8_3_0:1.19
	RELEASE_9_0_0:1.17
	RELEASE_7_4_0:1.14
	RELEASE_8_2_0:1.14
	RELEASE_6_EOL:1.13
	RELEASE_8_1_0:1.11
	RELEASE_7_3_0:1.11
	RELEASE_8_0_0:1.10
	RELEASE_7_2_0:1.10
	RELEASE_7_1_0:1.9
	RELEASE_6_4_0:1.9
	RELEASE_5_EOL:1.8
	RELEASE_7_0_0:1.8
	RELEASE_6_3_0:1.8
	PRE_XORG_7:1.7
	RELEASE_4_EOL:1.6
	RELEASE_6_2_0:1.5;
locks; strict;
comment	@# @;


1.20
date	2012.11.17.06.01.04;	author svnexp;	state Exp;
branches;
next	1.19;

1.19
date	2012.02.26.16.58.55;	author crees;	state Exp;
branches;
next	1.18;

1.18
date	2012.02.16.18.08.13;	author crees;	state Exp;
branches;
next	1.17;

1.17
date	2011.10.14.15.02.14;	author crees;	state Exp;
branches;
next	1.16;

1.16
date	2011.06.17.06.46.04;	author crees;	state Exp;
branches;
next	1.15;

1.15
date	2011.06.01.01.47.47;	author wen;	state Exp;
branches;
next	1.14;

1.14
date	2011.01.26.21.12.02;	author beat;	state Exp;
branches;
next	1.13;

1.13
date	2010.08.09.22.51.54;	author araujo;	state Exp;
branches;
next	1.12;

1.12
date	2010.07.12.03.04.21;	author miwi;	state Exp;
branches;
next	1.11;

1.11
date	2009.11.21.15.28.44;	author miwi;	state Exp;
branches;
next	1.10;

1.10
date	2009.02.23.14.46.34;	author mm;	state Exp;
branches;
next	1.9;

1.9
date	2008.06.03.02.42.05;	author linimon;	state Exp;
branches;
next	1.8;

1.8
date	2007.05.19.20.22.32;	author flz;	state Exp;
branches;
next	1.7;

1.7
date	2007.04.02.22.56.13;	author pav;	state Exp;
branches;
next	1.6;

1.6
date	2007.01.08.00.00.57;	author pav;	state Exp;
branches;
next	1.5;

1.5
date	2006.10.03.08.55.22;	author stefan;	state Exp;
branches;
next	1.4;

1.4
date	2006.08.23.11.41.37;	author rafan;	state Exp;
branches;
next	1.3;

1.3
date	2006.05.21.02.23.05;	author mnag;	state Exp;
branches;
next	1.2;

1.2
date	2006.03.26.14.27.11;	author pav;	state Exp;
branches;
next	1.1;

1.1
date	2006.03.20.19.20.10;	author pav;	state Exp;
branches;
next	;


desc
@@


1.20
log
@Switch exporter over
@
text
@# New ports collection Makefile for:	gorilla
# Date created:				2006-02-11
# Whom:					Kay Lehmann <kay_lehmann@@web.de>
#
# $FreeBSD: head/security/gorilla/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	gorilla
PORTVERSION=	1.5.3.6
DISTVERSIONSUFFIX=	a72f9d7
CATEGORIES=	security
MASTER_SITES=	LOCAL/crees/gorilla/				\
		http://www.bayofrum.net/dist/${PORTNAME}/
DISTFILES=	zdia-${PORTNAME}-v${DISTVERSION}-0-g${DISTVERSIONSUFFIX}${EXTRACT_SUFX}

MAINTAINER=	crees@@FreeBSD.org
COMMENT=	Password Gorilla is a cross-platform Password Manager

LICENSE=	GPLv2

RUN_DEPENDS=	itcl>=3.4:${PORTSDIR}/lang/itcl \
		wish:${PORTSDIR}/x11-toolkits/tk-wrapper

.include <bsd.port.options.mk>

.if ${ARCH} == i386
GORILLAARCH=	FreeBSD-x86
DISTFILES+=	gorilla-sha256-${DISTVERSION}_1${EXTRACT_SUFX}
.elif ${ARCH} == amd64
GORILLAARCH=	FreeBSD-${ARCH}
DISTFILES+=	gorilla-sha256-${DISTVERSION}_1${EXTRACT_SUFX}
.else
GORILLAARCH=	bogus
WITHOUTSO=	"@@comment "
.endif

PLIST_SUB+=	GORILLAARCH=${GORILLAARCH:L} WITHOUTSO=${WITHOUTSO}

WRKSRC=		${WRKDIR}/zdia-${PORTNAME}-${DISTVERSIONSUFFIX}
USE_TCL_RUN=	85+
USE_TK=		85+
SUB_FILES=	gorilla
SUB_LIST=	WISH=${WISH}
PORTDOCS=	*

SRC_DIRS=	blowfish modules msgs pics pwsafe tcllib twofish

post-patch:
# We don't want Linux/Windows/Darwin binaries thank you
.for irrelevant in linux-ix86 linux-x86_64 macosx-ix86 \
		   macosx-x86_64 win32-ix86 win32-x86_64
	${RM} -r ${WRKSRC}/sources/tcllib/sha256c/${irrelevant}
.endfor
.for irrelevant in f32-Darwin-x86.dylib f32-Windows-x86.dll \
		   f32-Linux-x86.so f32-Linux-x86_64.so
	${RM} ${WRKSRC}/sources/twofish/${irrelevant}
.endfor

do-build:
.if !defined(WITHOUTSO)
	${MV} ${WRKDIR}/${PORTNAME}-sha256/sha256/${GORILLAARCH}/ \
		${WRKSRC}/sources/tcllib/sha256c/${GORILLAARCH:L}
.endif


do-install:
	@@${MKDIR} ${PREFIX}/lib/gorilla
	@@${INSTALL_SCRIPT} ${WRKSRC}/sources/*.tcl ${PREFIX}/lib/gorilla
.for dir in ${SRC_DIRS}
	@@${MKDIR} ${PREFIX}/lib/${PORTNAME}/${dir}
	@@cd ${WRKSRC}/sources/${dir} \
		&& ${COPYTREE_SHARE} \* \
		${PREFIX}/lib/${PORTNAME}/${dir}
.endfor
	@@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin

post-install:
	@@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/gorilla
	@@${FIND} ${PREFIX}/lib/${PORTNAME}/ -name "*.tcl" \
		| ${XARGS} ${CHMOD} ${BINMODE}
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	@@${INSTALL_DATA} ${WRKSRC}/README			\
		${WRKSRC}/sources/README.install-from-source	\
		${WRKSRC}/sources/CHANGES.txt			\
	   ${DOCSDIR}
.endif

.include <bsd.port.mk>
@


1.19
log
@Fix i386 packaging-- sha256c.so was named wrongly in the binaries tarball
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.18
log
@Update to 1.5.3.6

With much handholding from upstream (Thanks!), include C sha256 module for
FreeBSD/amd64 and FreeBSD/i386
@
text
@d28 1
a28 1
DISTFILES+=	gorilla-sha256-${DISTVERSION}${EXTRACT_SUFX}
d31 1
a31 1
DISTFILES+=	gorilla-sha256-${DISTVERSION}${EXTRACT_SUFX}
@


1.17
log
@Add local MASTER_SITE

Feature safe:	yes
@
text
@d9 2
a10 2
PORTVERSION=	1.5.3.4
DISTVERSIONSUFFIX=	7c3e819
d12 1
a12 1
MASTER_SITES=	LOCAL/crees/gorilla				\
d14 1
a14 1
DISTNAME=	zdia-${PORTNAME}-v${DISTVERSION}-0-g${DISTVERSIONSUFFIX}
d19 2
d24 14
a37 1
LICENSE=	GPLv2
a41 1
NO_BUILD=	yes
d46 1
a46 1
SRC_DIRS=	blowfish msgs pics pwsafe sha1 sha256c tooltip twofish
d50 15
a64 5
	${FIND} ${WRKSRC} \( \
		-name "*.so" \
		-or -name "*.dll" \
		-or -name "*.dylib" \
	   \) -delete
@


1.16
log
@- Update maintainer address

Approved by: rene (mentor)
@
text
@d12 2
a13 1
MASTER_SITES=	http://www.bayofrum.net/dist/${PORTNAME}/
@


1.15
log
@- Update to 1.5.3.4
- Use explicit WISH version in start script
- Update dependencies
- Include PORTDOCS

PR:		ports/157434
Submitted by:	Chris Rees <utisoft@@gmail.com> (maintainer)
@
text
@d15 1
a15 1
MAINTAINER=	utisoft@@gmail.com
@


1.14
log
@- Add tk-wrapper as run dependency to fix execution of gorilla script

PR:		ports/153706
Reported by:	Aldis Berjoza <aldis AT bsdroot.lv>
Submitted by:	Chris Rees <utisoft AT gmail.com> (maintainer)
Feature safe:	yes
@
text
@d9 2
a10 3
PORTVERSION=	1.5.3.1
DISTVERSIONSUFFIX=	c05eb4e
PORTREVISION=	1
d12 1
a12 2
MASTER_SITES=	http://www.bayofrum.net/dist/gorilla/ \
		http://cerberus.bayofrum.net/dist/gorilla/
d18 1
a18 2
RUN_DEPENDS=	${LOCALBASE}/lib/bwidget/init.tcl:${PORTSDIR}/x11-toolkits/bwidget \
		itcl>=3.4:${PORTSDIR}/lang/itcl \
d28 12
a39 1
SUB_LIST=	WISH=wish
d44 6
a49 2
	${TAR} -C ${WRKSRC}/sources -cf - blowfish pics pwsafe twofish sha1 | \
		${TAR} -C ${PREFIX}/lib/gorilla --unlink -xf -
d54 9
a62 4
	@@${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
@


1.13
log
@- Update to 1.5.3.1.
- Add license info.

PR:		ports/148939
Submitted by:	Chris Rees <utisoft@@gmail.com> (maintainer)
@
text
@d11 1
d21 2
a22 1
		itcl>=3.4:${PORTSDIR}/lang/itcl
@


1.12
log
@- Update to 1.5.3
- Pass maintainership to submitter

PR:		147833
Submitted by:	Chris Rees <utisoft@@gmail.com>
@
text
@d1 1
a1 1
# New ports collection makefile for:	gorilla
d9 2
a10 2
PORTVERSION=	1.5.3
DISTVERSIONSUFFIX=	1996106
d12 3
a14 3
MASTER_SITES=	http://download.github.com/\
				http://www.bayofrum.net/dist/gorilla/
DISTNAME=		zdia-${PORTNAME}-v${DISTVERSION}-0-g${DISTVERSIONSUFFIX}
d20 1
a20 1
				itcl>=3.4:${PORTSDIR}/lang/itcl
d22 3
a24 1
WRKSRC=			${WRKDIR}/zdia-${PORTNAME}-${DISTVERSIONSUFFIX}
@


1.11
log
@- Use explicit tk/tcl 84
- Bump PORTREVISION

PR:		139801
Submitted by:	Artyom Bisyarin <artyom@@zool.in.ua>
@
text
@d9 2
a10 2
PORTVERSION=	1.4
PORTREVISION=	4
d12 13
a24 11
MASTER_SITES=	http://www.fpx.de/fp/Software/Gorilla/download/

MAINTAINER=	ports@@FreeBSD.org
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=	84
USE_TK=		84
GNU_CONFIGURE=	yes
d26 2
d31 2
a32 2
	@@${INSTALL_SCRIPT} ${WRKSRC}/*.tcl ${PREFIX}/lib/gorilla
	${TAR} -C ${WRKSRC} -cf - blowfish pics pwsafe twofish sha1 | \
d34 1
a34 1
	@@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
@


1.10
log
@- Change default Tcl/Tk version to 8.5
- Bump PORTVERSION of ports affected

Tested by:	pointyhat (pav)
@
text
@d10 1
a10 1
PORTREVISION=	3
d20 2
a21 2
USE_TCL_RUN=	yes
USE_TK=		yes
@


1.9
log
@Reset kay_lehmann@@web.de by request due to lack to time to maintain ports.  We
appreciate all the help in the past.
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.8
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d14 1
a14 1
MAINTAINER=	kay_lehmann@@web.de
@


1.7
log
@- Convert existing ports to a new bsd.tcl.mk order

PR:		ports/109097
Submitted by:	Martin Matuska <martin@@matuska.org>
Tested on:	pointyhat exp-run
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.6
log
@- Use new USE_TCL_BUILD/USE_TK_BUILD macros
@
text
@d20 1
a20 1
USE_TCL=	yes
a21 1
USE_TK_BUILD=	yes
@


1.5
log
@Fix file permissions to make the program usable again.

PR:		102896
Noticed by:	George L. Yermunlik <yz@@yz.kiev.ua>
Patch by:	maintainer
@
text
@a16 1
BUILD_DEPENDS=	wish${TK_VER}:${PORTSDIR}/x11-toolkits/tk${USE_TK}
d22 1
@


1.4
log
@- Update to 1.4

PR:		ports/102423
Submitted by:	Kay Lehmann <kay_lehmann at web.de> (maintainer)
@
text
@d10 1
d28 2
a29 2
	@@${INSTALL_DATA} ${WRKSRC}/*.tcl ${PREFIX}/lib/gorilla
	${TAR} -C ${WRKSRC} -cf - blowfish pics pwsafe twofish | \
d31 1
a31 1
	@@${INSTALL_DATA} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
d35 4
a38 1
	@@${CHMOD} ugo+x ${PREFIX}/bin/gorilla
@


1.3
log
@- Fix dependencies since lang/itcl are updated
- Bump PORTREVISION

PR:		97534
Notified by:	Kay Lehmann <kay_lehmann___web.de>
Pointy hat to:	mi
@
text
@d9 1
a9 2
PORTVERSION=	1.3
PORTREVISION=	1
@


1.2
log
@- Update email address in header
- Update pkg-descr

PR:		ports/94950
Submitted by:	Kay Lehmann <kay_lehmann@@web.de> (maintainer)
@
text
@d10 1
d18 1
a18 1
LIB_DEPENDS=	itcl32.1:${PORTSDIR}/lang/itcl
@


1.1
log
@Password Gorilla is cross-platform Password Manager.
It uses TCL/Tk and runs on most platforms supported by Tcl/Tk.

WWW:	http://www.fpx.de/fp/Software/Gorilla

PR:		ports/93179
Submitted by:	Kay Lehmann <kay_lehmann@@web.de>
@
text
@d3 1
a3 1
# Whom:					Kay Lehmann <kay@@bippes.finkenkrug.ev>
@

