summaryrefslogtreecommitdiff
path: root/security/pinentry-emacs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/pinentry-emacs/Makefile')
-rw-r--r--security/pinentry-emacs/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/security/pinentry-emacs/Makefile b/security/pinentry-emacs/Makefile
new file mode 100644
index 0000000..b27fe1d
--- /dev/null
+++ b/security/pinentry-emacs/Makefile
@@ -0,0 +1,33 @@
+PORTNAME= pinentry-emacs
+DISTVERSION= g20171127
+CATEGORIES= security
+
+MAINTAINER= cashmere@autistici.org
+COMMENT= Emacs pinentry helper for GnuPG
+WWW= https://github.com/ecraven/pinentry-emacs
+
+LICENSE= GPLv3+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+RUN_DEPENDS= bash:shells/bash \
+ emacs:editors/emacs \
+ pinentry-curses:security/pinentry-curses
+
+USE_GITHUB= yes
+GH_ACCOUNT= ecraven
+GH_PROJECT= pinentry-emacs
+GH_TAGNAME= b6afcb01c5c43653c8d504309df13e58f8247b06
+
+NO_ARCH= yes
+NO_BUILD= yes
+
+PLIST_FILES= bin/pinentry-emacs
+
+post-patch:
+ @${REINPLACE_CMD} -e '1s|/bin/bash|${LOCALBASE}/bin/bash|' \
+ ${WRKSRC}/pinentry-emacs
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/pinentry-emacs ${STAGEDIR}${PREFIX}/bin/pinentry-emacs
+
+.include <bsd.port.mk>