head	1.13;
access;
symbols
	RELEASE_8_3_0:1.7
	RELEASE_9_0_0:1.3;
locks; strict;
comment	@# @;


1.13
date	2013.03.07.12.47.57;	author svnexp;	state Exp;
branches;
next	1.12;

1.12
date	2012.12.14.15.53.06;	author svnexp;	state Exp;
branches;
next	1.11;

1.11
date	2012.11.17.06.01.21;	author svnexp;	state Exp;
branches;
next	1.10;

1.10
date	2012.10.10.11.25.06;	author zi;	state Exp;
branches;
next	1.9;

1.9
date	2012.09.28.07.44.38;	author bapt;	state Exp;
branches;
next	1.8;

1.8
date	2012.09.26.06.40.47;	author bapt;	state Exp;
branches;
next	1.7;

1.7
date	2012.03.10.12.39.27;	author zi;	state Exp;
branches;
next	1.6;

1.6
date	2012.02.10.22.09.24;	author zi;	state Exp;
branches;
next	1.5;

1.5
date	2012.02.05.16.17.53;	author zi;	state Exp;
branches;
next	1.4;

1.4
date	2012.01.29.00.33.31;	author zi;	state Exp;
branches;
next	1.3;

1.3
date	2011.10.09.22.33.40;	author zi;	state Exp;
branches;
next	1.2;

1.2
date	2011.07.15.21.15.28;	author zi;	state Exp;
branches;
next	1.1;

1.1
date	2011.06.11.01.32.37;	author wxs;	state Exp;
branches;
next	;


desc
@@


1.13
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313527
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Ryan Steinmetz <rpsfa@@rit.edu>
# $FreeBSD: head/security/truecrypt/Makefile 313527 2013-03-06 16:52:02Z bapt $

PORTNAME=	truecrypt
PORTVERSION=	7.1a
CATEGORIES=	security
MASTER_SITES=	SF/wxwindows/${WX_VER}/:wxwidgets \
		ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/:rsa \
		http://mirrors.rit.edu/zi/pkcs-11/v2-20/:rsa
DISTFILES=	${TC_SRCFILE}:tc \
		wxWidgets-${WX_VER}.tar.gz:wxwidgets \
		pkcs11.h:rsa \
		pkcs11f.h:rsa \
		pkcs11t.h:rsa
EXTRACT_ONLY=	${TC_SRCFILE} wxWidgets-${WX_VER}.tar.gz

MAINTAINER=	zi@@FreeBSD.org
COMMENT=	Free open-source disk encryption software

BUILD_DEPENDS=	nasm:${PORTSDIR}/devel/nasm
RUN_DEPENDS=	sudo:${PORTSDIR}/security/sudo

WRKSRC=		${WRKDIR}/truecrypt-${PORTVERSION}-source

USES=		fuse
USE_GMAKE=	yes
USE_ICONV=	yes
RESTRICTED=	Downloading requires acceptance of license agreement
NO_CDROM=	Distribution requires acceptance of license agreement
NO_PACKAGE=	Distribution requires acceptance of license agreement

TC_SRCFILE=	TrueCrypt_${PORTVERSION}_Source.tar.gz
WX_VER=		2.8.12

LICENSE_FILE=	${WRKSRC}/License.txt

PLIST_FILES=	bin/truecrypt

OPTIONS_DEFINE=	X11 DOCS
X11_DESC=	With GUI (depends on X)

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MDOCS}
PLIST_FILES+=	%%DOCSDIR%%/TrueCrypt\ User\ Guide.pdf
PLIST_FILES+=	%%DOCSDIR%%/License.txt
PLIST_DIRS=	%%DOCSDIR%%
.endif

.if ${PORT_OPTIONS:MX11}
USE_GNOME=	gtk20
NOGUI=
.else
NOGUI=		NOGUI=1
.endif

.if (!exists(${DISTDIR}/${TC_SRCFILE}))
DISTFILE_INSTRUCTIONS=\n\
Due to licensing restrictions, certain files must be fetched manually.\n\n\
Please visit http://www.truecrypt.org/downloads2 with a web browser and accept the\
License Agreement.\n\
Select the Mac OS X / Linux (.tar.gz) version\n\n\
Place the downloaded file into ${DISTDIR} and rename it to ${TC_SRCFILE}\n\n\
Then, please restart the build.\n\n
.endif

pre-fetch:
.if defined(DISTFILE_INSTRUCTIONS)
	@@${PRINTF} "${DISTFILE_INSTRUCTIONS}"
	@@exit 1
.endif

do-build:
	@@${MKDIR} ${WRKDIR}/rsa
	@@${CP} ${DISTDIR}/pkcs11.h ${WRKDIR}/rsa
	@@${CP} ${DISTDIR}/pkcs11t.h ${WRKDIR}/rsa
	@@${CP} ${DISTDIR}/pkcs11f.h ${WRKDIR}/rsa
	cd ${WRKSRC} && ${GMAKE} ${NOGUI} PKCS11_INC=${WRKDIR}/rsa WX_ROOT=${WRKDIR}/wxWidgets-${WX_VER} wxbuild
	cd ${WRKSRC} && ${GMAKE} ${NOGUI} WXSTATIC=1 PKCS11_INC=${WRKDIR}/rsa

do-install:
	@@${INSTALL_PROGRAM} ${WRKSRC}/Main/truecrypt ${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
	@@${MKDIR} ${DOCSDIR}
	@@${INSTALL_DATA} ${WRKSRC}/License.txt ${DOCSDIR}
	@@${INSTALL_DATA} ${WRKSRC}/Release/Setup\ Files/TrueCrypt\ User\ Guide.pdf ${DOCSDIR}
.endif

post-install:
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.12
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308910
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308910 | flo | 2012-12-14 15:47:00 +0000 (Fri, 14 Dec 2012) | 8 lines
## SVN ##
## SVN ## - introduce a USE_FUSE macro
## SVN ## - convert all fuse ports to use the new macro
## SVN ##
## SVN ## The macro makes sure sysutils/fusefs-libs gets installed and depending on
## SVN ## fuse being in base or not it installs sysutils/fusefs-kmod.
## SVN ##
## SVN ## Approved by:	portmgr (bapt)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/security/truecrypt/Makefile 308910 2012-12-14 15:47:00Z flo $
d25 1
a25 1
USE_FUSE=	yes
@


1.11
log
@Switch exporter over
@
text
@d2 1
a2 1
# $FreeBSD: head/security/truecrypt/Makefile 305640 2012-10-10 11:25:06Z zi $
d20 2
a21 5
BUILD_DEPENDS=	${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod \
		nasm:${PORTSDIR}/devel/nasm
LIB_DEPENDS=	fuse.2:${PORTSDIR}/sysutils/fusefs-libs
RUN_DEPENDS=	${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod \
		sudo:${PORTSDIR}/security/sudo
d25 1
@


1.10
log
@SVN rev 305640 on 2012-10-10 11:25:06Z by zi

- Add additional MASTER_SITES for pkcs header files.
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.9
log
@SVN rev 304986 on 2012-09-28 07:44:38Z by bapt

Fix type in headed

Reported by:	zi (maintainer)
@
text
@d8 2
a9 1
		ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/:rsa
@


1.8
log
@SVN rev 304878 on 2012-09-26 06:40:47Z by bapt

Convert to OptionsNG
@
text
@d1 1
a1 1
# Creater by: Ryan Steinmetz <rpsfa@@rit.edu>
@


1.7
log
@- Add security/sudo to RUN_DEPENDS
- Do not bump PORTREVISION

PR:		ports/165755
Submitted by:	Olivier Cochard-Labb <olivier@@cochard.me>
Feature safe:	yes
@
text
@d1 1
a1 4
# New ports collection makefile for:	truecrypt
# Date created: 	9 May 2011
# Whom:			Ryan Steinmetz
#
d39 7
a45 1
.if !defined(NOPORTDOCS)
d51 1
a51 5
OPTIONS=	X11     "With GUI (depends on X)" off

.include <bsd.port.options.mk>

.ifdef(WITH_X11)
a57 2
.include <bsd.port.pre.mk>

d84 1
a84 1
.if !defined(NOPORTDOCS)
d93 1
a93 1
.include <bsd.port.post.mk>
@


1.6
log
@- Update to 7.1a
- Unbreak on 10-CURRENT
@
text
@d25 2
a26 1
RUN_DEPENDS=	${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod
@


1.5
log
@- Replace WITH_GUI with WITH_X11 to adhear to standards
@
text
@d8 1
a8 1
PORTVERSION=	7.1
a57 4
.if ${OSVERSION} >= 1000000
BROKEN=		does not currently build under FreeBSD 10
.endif

@


1.4
log
@- Mark BROKEN under FreeBSD 10
@
text
@d47 1
a47 1
OPTIONS=	GUI     "With GUI" off
d51 1
a51 1
.ifdef(WITH_GUI)
@


1.3
log
@- Update to 7.1
- Add OPTIONS for GUI support
@
text
@d58 4
@


1.2
log
@Update my email address on the ports I maintain.

Approved by: wxs@@ (mentor)
@
text
@d8 1
a8 1
PORTVERSION=	7.0a
d47 11
d81 2
a82 2
	cd ${WRKSRC} && ${GMAKE} NOGUI=1 PKCS11_INC=${WRKDIR}/rsa WX_ROOT=${WRKDIR}/wxWidgets-${WX_VER} wxbuild
	cd ${WRKSRC} && ${GMAKE} NOGUI=1 WXSTATIC=1 PKCS11_INC=${WRKDIR}/rsa
@


1.1
log
@Free open-source disk encryption software

Main Features:
* Creates a virtual encrypted disk within a file and mounts it as
  a real disk.
* Encrypts an entire partition or storage device such as USB flash
  drive or hard drive.
* Encryption is automatic, real-time (on-the-fly) and transparent.
* Parallelization and pipelining allow data to be read and written
  as fast as if the drive was not encrypted.
* Provides plausible deniability, in case an adversary forces you
  to reveal the password:
  Hidden volume (steganography) and hidden operating system.

WWW: http://www.truecrypt.org/

NOTE: This port is experimental and provides no GUI for managing
truecrypt volumes.

PR:		ports/157072
Submitted by:	Ryan Steinmetz <rpsfa@@rit.edu>
@
text
@d19 1
a19 1
MAINTAINER=	rpsfa@@rit.edu
@

