diff options
Diffstat (limited to 'devel/git-modes/Makefile')
-rw-r--r-- | devel/git-modes/Makefile | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/devel/git-modes/Makefile b/devel/git-modes/Makefile index 222937ac91fe..dce9f7ebbfcb 100644 --- a/devel/git-modes/Makefile +++ b/devel/git-modes/Makefile @@ -1,6 +1,5 @@ PORTNAME= git-modes -DISTVERSION= 1.4.0 -PORTREVISION= 6 +DISTVERSION= 1.4.1 PORTEPOCH= 1 CATEGORIES= devel elisp PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} @@ -12,28 +11,32 @@ WWW= https://github.com/magit/git-modes LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= git:devel/git +BUILD_DEPENDS= compat.el${EMACS_PKGNAMESUFFIX}>=29.1.3.4:misc/compat.el@${EMACS_FLAVOR} +RUN_DEPENDS= compat.el${EMACS_PKGNAMESUFFIX}>=29.1.3.4:misc/compat.el@${EMACS_FLAVOR} \ + git:devel/git USES= emacs gmake USE_GITHUB= yes GH_ACCOUNT= magit +MAKE_ENV+= LOAD_PATH="-L ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/compat" + NO_ARCH= yes -PLIST_SUB= ELISPDIR=${_ELISPDIR} -PORTDOCS= README.md +PLIST_SUB= ELISPDIR=${ELISPDIR} +PORTDOCS= README.org OPTIONS_DEFINE= DOCS -_ELISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME} +ELISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME} do-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/${_ELISPDIR} + @${MKDIR} ${STAGEDIR}${PREFIX}/${ELISPDIR} ${INSTALL_DATA} ${WRKSRC}/*.el ${WRKSRC}/*.elc \ - ${STAGEDIR}${PREFIX}/${_ELISPDIR} + ${STAGEDIR}${PREFIX}/${ELISPDIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.org ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |