freebsd-ports/devel/ghub/Makefile
Rainer Hurling 8bb7528d3a devel/ghub: Update to 3.5.1
Changelog: https://github.com/magit/ghub/blob/v3.5.1/CHANGELOG

PR:		252218
Submitted by:	Yasuhiro Kimura <yasu@utahime.org> (maintainer)
Approved by:	arrowd, tcberner (mentors, implicit)
2020-12-27 20:55:15 +00:00

43 lines
1.0 KiB
Makefile

# $FreeBSD$
PORTNAME= ghub
DISTVERSIONPREFIX= v
DISTVERSION= 3.5.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
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>