aboutsummaryrefslogtreecommitdiff
path: root/security/easypg/Makefile
blob: 8f60162d4c10b12c01514dfd3245fc58ef571b2e (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
37
38
39
40
41
42
43
44
45
46
47
# Created by: Shota Iwazaki <iwazaki8@yahoo.co.jp>
# $FreeBSD$

PORTNAME=	easypg
PORTVERSION=	0.0.16
PORTREVISION=	11
CATEGORIES=	security elisp
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_JP}
MASTER_SITE_SUBDIR=	epg/29289
DISTNAME=	epg-${PORTVERSION}

MAINTAINER=	iwazaki8@yahoo.co.jp
COMMENT=	EasyPG is yet another GnuPG interface for Emacs

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

GNU_CONFIGURE=	yes
USE_EMACS=	yes

NO_STAGE=	yes
.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

INFO=	epa
.if !defined(NOPORTDOCS)
PORTDOCS=	ChangeLog NEWS README
.endif

do-install:
	cd ${WRKSRC};\
	${MKDIR} ${PREFIX}/${EMACS_SITE_LISPDIR}/epg;\
	${INSTALL_DATA} *.el *.elc ${PREFIX}/${EMACS_SITE_LISPDIR}/epg
	cd ${WRKSRC};\
	${INSTALL_MAN} epa.info ${PREFIX}/${INFO_PATH}
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR};\
	cd ${WRKSRC};\
	${INSTALL_MAN} ${PORTDOCS} ${DOCSDIR}
.endif

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>