freebsd-ports/devel/ghub/Makefile
Li-Wen Hsu 57d500c652 Update to 3.4.0
PR:		248131
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org> (maintainer)
2020-07-21 03:13:44 +00:00

42 lines
1 KiB
Makefile

# $FreeBSD$
PORTNAME= ghub
DISTVERSIONPREFIX= v
DISTVERSION= 3.4.0
CATEGORIES= devel elisp
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
MAINTAINER= yasu@utahime.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
NO_ARCH= yes
MAKE_ARGS= LOAD_PATH="-L ${PREFIX}/${EMACS_SITE_LISPDIR} -L ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} -L ."
INFO= ghub
OPTIONS_DEFINE= DOCS
PORTDOCS= README.md
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/*.el* \
${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
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>