svn commit: r461412 - head/editors/encryptpad
Yuri Victorovich
yuri at FreeBSD.org
Sat Feb 10 18:59:00 UTC 2018
Author: yuri
Date: Sat Feb 10 18:58:59 2018
New Revision: 461412
URL: https://svnweb.freebsd.org/changeset/ports/461412
Log:
editors/encryptpad: Update to 0.4.0.2
Changelog:
https://github.com/evpo/EncryptPad/blob/v0.4.0.2/CHANGES.md
Additional port changes:
* Added a committed upstream patch that isn't yet released
* Changed dependency to security/botan2
* Moved USESxx statements to one section
* Added 256 512 icon sizes
* Installing DOCS with ${COPYTREE_SHARE} instead of ${CP}
PR: 225806
Submitted by: Dmitri Goutnik <dg at syrec.org> (maintainer)
Approved by: tcberner (mentor, implicit)
Modified:
head/editors/encryptpad/Makefile
head/editors/encryptpad/distinfo
head/editors/encryptpad/pkg-plist
Modified: head/editors/encryptpad/Makefile
==============================================================================
--- head/editors/encryptpad/Makefile Sat Feb 10 18:06:58 2018 (r461411)
+++ head/editors/encryptpad/Makefile Sat Feb 10 18:58:59 2018 (r461412)
@@ -2,11 +2,13 @@
# $FreeBSD$
PORTNAME= encryptpad
-PORTVERSION= 0.3.2.5
DISTVERSIONPREFIX= v
-PORTREVISION= 1
+DISTVERSION= 0.4.0.2
CATEGORIES= editors security
+PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES= 55fd37480d.patch:-p1
+
MAINTAINER= dg at syrec.org
COMMENT= Minimalist secure text editor and binary encryptor
@@ -14,23 +16,22 @@ LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/license.txt
BUILD_DEPENDS= bash:shells/bash
-LIB_DEPENDS= libbotan-1.10.so:security/botan110
+LIB_DEPENDS= libbotan-2.so:security/botan2
+USES= desktop-file-utils gmake pkgconfig shared-mime-info
USE_GITHUB= yes
GH_ACCOUNT= evpo
GH_PROJECT= EncryptPad
-
-USES= desktop-file-utils gmake pkgconfig shared-mime-info
-USE_QT5= core gui widgets qmake_build buildtools_build
+USE_QT5= core gui widgets buildtools_build qmake_build
USE_GL= gl
-PORTDOCS= CHANGES.* README.* docs
-
OPTIONS_DEFINE= DOCS
+PORTDOCS= *
+
do-build:
- (cd ${WRKSRC} && ${SETENV} MAKE=${MAKE_CMD} PATH=${QT_BINDIR}:${PATH} \
- ./configure.sh --all --use-system-libs)
+ @cd ${WRKSRC} && ${SETENV} MAKE=${MAKE_CMD} PATH=${QT_BINDIR}:${PATH} \
+ ./configure.sh --all --use-system-libs
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/release/* ${STAGEDIR}${PREFIX}/bin
@@ -40,7 +41,7 @@ do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages
${INSTALL_DATA} ${WRKSRC}/encryptpad.xml \
${STAGEDIR}${PREFIX}/share/mime/packages
-.for sz in 16 32 128
+.for sz in 16 32 128 256 512
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${sz}x${sz}/apps
${INSTALL_DATA} ${WRKSRC}/images/icns.iconset/icon_${sz}x${sz}.png \
${STAGEDIR}${PREFIX}/share/icons/hicolor/${sz}x${sz}/apps/encryptpad.png
@@ -48,6 +49,6 @@ do-install:
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${CP} -a ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}/${DOCSDIR}
.include <bsd.port.mk>
Modified: head/editors/encryptpad/distinfo
==============================================================================
--- head/editors/encryptpad/distinfo Sat Feb 10 18:06:58 2018 (r461411)
+++ head/editors/encryptpad/distinfo Sat Feb 10 18:58:59 2018 (r461412)
@@ -1,3 +1,5 @@
-TIMESTAMP = 1484432907
-SHA256 (evpo-EncryptPad-v0.3.2.5_GH0.tar.gz) = f9870c4aad45dd8171f92e97632e748b9504a52a1436c232cb387246672666e5
-SIZE (evpo-EncryptPad-v0.3.2.5_GH0.tar.gz) = 7988782
+TIMESTAMP = 1518271775
+SHA256 (evpo-EncryptPad-v0.4.0.2_GH0.tar.gz) = ac3f2787d9ed0b41fa88c49bc088ab8cef2d85ef86f39204738669911ed41379
+SIZE (evpo-EncryptPad-v0.4.0.2_GH0.tar.gz) = 11579309
+SHA256 (55fd37480d.patch) = 9e06f1e93df35ebf935bfabe1df2275747ab06161acd7165230757290253c43f
+SIZE (55fd37480d.patch) = 1095
Modified: head/editors/encryptpad/pkg-plist
==============================================================================
--- head/editors/encryptpad/pkg-plist Sat Feb 10 18:06:58 2018 (r461411)
+++ head/editors/encryptpad/pkg-plist Sat Feb 10 18:58:59 2018 (r461412)
@@ -1,7 +1,9 @@
bin/encryptpad
bin/encryptcli
share/applications/encryptpad.desktop
-share/icons/hicolor/128x128/apps/encryptpad.png
share/icons/hicolor/16x16/apps/encryptpad.png
share/icons/hicolor/32x32/apps/encryptpad.png
+share/icons/hicolor/128x128/apps/encryptpad.png
+share/icons/hicolor/256x256/apps/encryptpad.png
+share/icons/hicolor/512x512/apps/encryptpad.png
share/mime/packages/encryptpad.xml
More information about the svn-ports-head
mailing list