1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

- Update to 7.1

- Add OPTIONS for GUI support
This commit is contained in:
Ryan Steinmetz 2011-10-09 22:33:40 +00:00
parent 81ce45aebf
commit 48faa092ee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=283266
2 changed files with 16 additions and 5 deletions

View File

@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= truecrypt
PORTVERSION= 7.0a
PORTVERSION= 7.1
CATEGORIES= security
MASTER_SITES= SF/wxwindows/${WX_VER}/:wxwidgets \
ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/:rsa
@ -44,6 +44,17 @@ PLIST_FILES+= %%DOCSDIR%%/License.txt
PLIST_DIRS= %%DOCSDIR%%
.endif
OPTIONS= GUI "With GUI" off
.include <bsd.port.options.mk>
.ifdef(WITH_GUI)
USE_GNOME= gtk20
NOGUI=
.else
NOGUI= NOGUI=1
.endif
.include <bsd.port.pre.mk>
.if (!exists(${DISTDIR}/${TC_SRCFILE}))
@ -67,8 +78,8 @@ do-build:
@${CP} ${DISTDIR}/pkcs11.h ${WRKDIR}/rsa
@${CP} ${DISTDIR}/pkcs11t.h ${WRKDIR}/rsa
@${CP} ${DISTDIR}/pkcs11f.h ${WRKDIR}/rsa
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
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

View File

@ -1,5 +1,5 @@
SHA256 (TrueCrypt_7.0a_Source.tar.gz) = 6c845153ee868429e2a531407383e9349754d1579cf66fc838632c44baaba021
SIZE (TrueCrypt_7.0a_Source.tar.gz) = 1996312
SHA256 (TrueCrypt_7.1_Source.tar.gz) = 94815d6c72f36fb194fc53d2527088f3bf7060797530f7eafd63d1b9596fd9f4
SIZE (TrueCrypt_7.1_Source.tar.gz) = 1950519
SHA256 (wxWidgets-2.8.12.tar.gz) = 197c94f7d46269a7fc261a3c8c943f03a9807acf65381944489a538fd8b5dd21
SIZE (wxWidgets-2.8.12.tar.gz) = 18924737
SHA256 (pkcs11.h) = 1563d877b6f8868b8eb8687358162bfb7f868104ed694beb35ae1c5cf1a58b9b