summaryrefslogtreecommitdiff
path: root/security/veracrypt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/veracrypt/Makefile')
-rw-r--r--security/veracrypt/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/security/veracrypt/Makefile b/security/veracrypt/Makefile
index eba85814827b..f8d957369eaf 100644
--- a/security/veracrypt/Makefile
+++ b/security/veracrypt/Makefile
@@ -1,5 +1,6 @@
PORTNAME= veracrypt
-PORTVERSION= 1.26.20
+PORTVERSION= 1.26.24
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME:S/v/V/:S/c/C/}%20${PORTVERSION}/Source%20Code
DISTNAME= ${PORTNAME:S/v/V/:S/c/C/}_${PORTVERSION}_Source
@@ -34,13 +35,15 @@ MAKE_ENV+= LFLAGS=-Wl,-z,notext
post-patch:
${REINPLACE_CMD} -e 's|wx-config|${WX_CONFIG}|g' ${WRKSRC}/src/Makefile
- ${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|g' -e \
- 's|Icon=veracrypt|Icon=VeraCrypt-16x16|g' ${WRKSRC}/src/Setup/FreeBSD/veracrypt.desktop
+ ${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|g' ${WRKSRC}/src/Setup/FreeBSD/veracrypt.desktop
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/Main/veracrypt ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/src/Setup/FreeBSD/veracrypt.desktop ${STAGEDIR}${PREFIX}/share/applications/
- cd ${WRKSRC}/src/Resources/Icons && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/pixmaps "-name *\.xpm"
+. for RESO in 128 16 256 48
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${RESO}x${RESO}/apps
+ ${INSTALL_DATA} ${WRKSRC}/src/Resources/Icons/VeraCrypt-${RESO}x${RESO}.xpm ${STAGEDIR}${PREFIX}/share/icons/hicolor/${RESO}x${RESO}/apps/${PORTNAME}.xpm
+. endfor
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html