aboutsummaryrefslogtreecommitdiffstats
path: root/security/easypg/Makefile
blob: 31baf2f636b2e2b6ae4a1ac2bdc6004687a81fa0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Created by: Shota Iwazaki <iwazaki8@yahoo.co.jp>
# $FreeBSD$

PORTNAME=   easypg
PORTVERSION=    0.0.16
PORTREVISION=   14
CATEGORIES= security elisp
MASTER_SITES=   SFJP/epg/29289
DISTNAME=   epg-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    EasyPG is yet another GnuPG interface for Emacs

RUN_DEPENDS=    gpg:${PORTSDIR}/security/gnupg1

GNU_CONFIGURE=  yes
USE_EMACS=  yes

OPTIONS_DEFINE= DOCS
INFO=   epa
PORTDOCS=   ChangeLog NEWS README

.include <bsd.port.pre.mk>

.if (${EMACS_PORT_NAME} == "emacs23") || (${EMACS_PORT_NAME} == "emacs24") || (${EMACS_PORT_NAME} == "emacs-devel")
IGNORE=     easyPG has been part of Emacs 23 and Emacs 24
.endif

do-install:
    @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/epg
    ${INSTALL_DATA} ${WRKSRC}/*.el ${WRKSRC}/*.elc ${PREFIX}/${EMACS_SITE_LISPDIR}/epg
    ${INSTALL_MAN} ${WRKSRC}/epa.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    (cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})

.include <bsd.port.post.mk>