mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
10c30f1825
Approved by: meta (mentor) Differential Revision: https://reviews.freebsd.org/D32170
40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
PORTNAME= ghub
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 3.5.3
|
|
CATEGORIES= devel elisp
|
|
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
|
|
|
|
MAINTAINER= yasu@FreeBSD.org
|
|
COMMENT= Minuscule client library for the Github API
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= treepy.el${EMACS_PKGNAMESUFFIX}>=0.1.1:devel/treepy.el@${EMACS_FLAVOR}
|
|
RUN_DEPENDS= treepy.el${EMACS_PKGNAMESUFFIX}>=0.1.1:devel/treepy.el@${EMACS_FLAVOR}
|
|
|
|
USES= emacs gmake makeinfo
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= magit
|
|
|
|
MAKE_ARGS= LOAD_PATH="-L ${PREFIX}/${EMACS_SITE_LISPDIR} -L ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} -L ."
|
|
|
|
NO_ARCH= yes
|
|
|
|
INFO= ghub
|
|
PORTDOCS= README.md
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
|
|
${INSTALL_DATA} ${WRKSRC}/*.el* \
|
|
${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
|
|
${INSTALL_DATA} ${WRKSRC}/*.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|