Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Mar 2017 09:21:01 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r436480 - in head/editors: . encryptpad
Message-ID:  <201703190921.v2J9L1Eg036446@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Sun Mar 19 09:21:01 2017
New Revision: 436480
URL: https://svnweb.freebsd.org/changeset/ports/436480

Log:
  Add new port `editors/encryptpad', a minimalist secure text editor and
  binary encryptor.
  
  WWW: http://evpo.net/encryptpad/
  
  Because GitHub releases (tarballs) are not fetched with correct modification
  time, set TIMESTAMP to 1484432907 which corresponds to commit c9e6636 tagged
  as this release.
  
  PR:		215639
  Submitted by:	Dmitri Goutnik

Added:
  head/editors/encryptpad/
  head/editors/encryptpad/Makefile   (contents, props changed)
  head/editors/encryptpad/distinfo   (contents, props changed)
  head/editors/encryptpad/pkg-descr   (contents, props changed)
  head/editors/encryptpad/pkg-plist   (contents, props changed)
Modified:
  head/editors/Makefile

Modified: head/editors/Makefile
==============================================================================
--- head/editors/Makefile	Sun Mar 19 09:14:10 2017	(r436479)
+++ head/editors/Makefile	Sun Mar 19 09:21:01 2017	(r436480)
@@ -53,6 +53,7 @@
     SUBDIR += emacs
     SUBDIR += emacs-devel
     SUBDIR += emacs-nox11
+    SUBDIR += encryptpad
     SUBDIR += fileobj
     SUBDIR += flim
     SUBDIR += focuswriter

Added: head/editors/encryptpad/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/encryptpad/Makefile	Sun Mar 19 09:21:01 2017	(r436480)
@@ -0,0 +1,52 @@
+# Created by: Dmitri Goutnik <dg@syrec.org>
+# $FreeBSD$
+
+PORTNAME=	encryptpad
+PORTVERSION=	0.3.2.5
+DISTVERSIONPREFIX=	v
+CATEGORIES=	editors security
+
+MAINTAINER=	dg@syrec.org
+COMMENT=	Minimalist secure text editor and binary encryptor
+
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/license.txt
+
+BUILD_DEPENDS=	bash:shells/bash
+LIB_DEPENDS=	libbotan-1.10.so:security/botan110
+
+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_GL=		gl
+
+PORTDOCS=	CHANGES.* README.* docs
+
+OPTIONS_DEFINE=	DOCS
+
+do-build:
+	(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
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/applications
+	${INSTALL_DATA} ${WRKSRC}/encryptpad.desktop \
+		${STAGEDIR}${PREFIX}/share/applications
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages
+	${INSTALL_DATA} ${WRKSRC}/encryptpad.xml \
+		${STAGEDIR}${PREFIX}/share/mime/packages
+.for sz in 16 32 128
+	@${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
+.endfor
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${CP} -a ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/editors/encryptpad/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/encryptpad/distinfo	Sun Mar 19 09:21:01 2017	(r436480)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1484432907
+SHA256 (evpo-EncryptPad-v0.3.2.5_GH0.tar.gz) = f9870c4aad45dd8171f92e97632e748b9504a52a1436c232cb387246672666e5
+SIZE (evpo-EncryptPad-v0.3.2.5_GH0.tar.gz) = 7988782

Added: head/editors/encryptpad/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/encryptpad/pkg-descr	Sun Mar 19 09:21:01 2017	(r436480)
@@ -0,0 +1,9 @@
+EncryptPad is an application for viewing and editing symmetrically encrypted
+text.  It also provides a tool for encrypting and decrypting binary files on
+disk.  The application offers effective measures for protecting information
+with simple and convenient graphical and command line interface.  The editor
+uses most widely chosen quality file format OpenPGP RFC 4880.  Unlike other
+OpenPGP software which main purpose is asymmetric encryption, the primary
+focus of EncryptPad is symmetric encryption.
+
+WWW: http://evpo.net/encryptpad/

Added: head/editors/encryptpad/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/encryptpad/pkg-plist	Sun Mar 19 09:21:01 2017	(r436480)
@@ -0,0 +1,7 @@
+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/mime/packages/encryptpad.xml



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703190921.v2J9L1Eg036446>