aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ghub/Makefile
blob: d4033c105b06bf60985097d02a44f8202a4dd679 (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
# $FreeBSD$

PORTNAME=   ghub
DISTVERSIONPREFIX=  v
DISTVERSION=    2.0.1
PORTREVISION=   1
CATEGORIES= devel elisp
PKGNAMESUFFIX=  ${EMACS_PKGNAMESUFFIX}

MAINTAINER= yasu@utahime.org
COMMENT=    Minuscule client library for the Github API

LICENSE=    GPLv3+
LICENSE_FILE=   ${WRKSRC}/LICENSE

USES=       emacs gmake makeinfo
USE_GITHUB= yes
GH_ACCOUNT= magit
NO_ARCH=    yes

INFO=       ghub

PLIST_FILES=    ${EMACS_VERSION_SITE_LISPDIR}/ghub.el \
        ${EMACS_VERSION_SITE_LISPDIR}/ghub.elc \
        ${EMACS_VERSION_SITE_LISPDIR}/ghub-autoloads.el

OPTIONS_DEFINE= DOCS

PORTDOCS=   README.md

do-install:
    @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
    ${INSTALL_DATA} ${WRKSRC}/ghub*.el* \
        ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/*.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
    ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>