aboutsummaryrefslogtreecommitdiffstats
path: root/security/easypg/Makefile
blob: 99c9da55d5b2e696e9c299658e93e4080d5c2de0 (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
48
49
50
51
52
53
54
# New ports collection makefile for:   EasyPG
# Date created:     25 December 2007
# Whom:         Shota Iwazaki <iwazaki8@yahoo.co.jp>
#
# $FreeBSD$
#

PORTNAME=   easypg
PORTVERSION=    0.0.15
PORTREVISION=   1
CATEGORIES= security
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE_JP}
MASTER_SITE_SUBDIR= epg/27030
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

.if defined(WITH_COMPILED_ELISP)
PLIST_SUB=  COMPILED_ELISP=""
.else
PLIST_SUB=  COMPILED_ELISP="@comment "
.endif

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

do-install:
    cd ${WRKSRC};\
    ${MKDIR} ${PREFIX}/${EMACS_SITE_LISPDIR}/epg;\
    ${INSTALL_DATA} *.el ${PREFIX}/${EMACS_SITE_LISPDIR}/epg
.if defined(WITH_COMPILED_ELISP)
    cd ${WRKSRC};\
    ${INSTALL_DATA} *.elc ${PREFIX}/${EMACS_SITE_LISPDIR}/epg
.endif
    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.mk>