1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/devel/git-modes/Makefile
Joseph Mingrone 26421ac37c
Chase editors/emacs update
- Bump Emacs version in Mk/Uses/emacs.mk to update version-specific
  paths
- Bump PORTREVISION of ports with USES=emacs.  This is required for two
  reasons.  Emacs lisp files need to be byte compiled for the new Emacs
  version, and files installed under, e.g., EMACS_VERSION_SITE_LISPDIR
  need to be relocated.

Reviewed by:	ashish
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D44492
2024-03-26 19:51:47 -03:00

45 lines
1.0 KiB
Makefile

PORTNAME= git-modes
DISTVERSION= 1.4.2
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= devel elisp
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
MAINTAINER= yasu@FreeBSD.org
COMMENT= GNU Emacs modes for Git-related files
WWW= https://github.com/magit/git-modes
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= compat.el${EMACS_PKGNAMESUFFIX}>=29.1.4.1:misc/compat.el@${EMACS_FLAVOR}
RUN_DEPENDS= compat.el${EMACS_PKGNAMESUFFIX}>=29.1.4.1: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"
MAKE_JOBS_UNSAFE= yes
NO_ARCH= yes
PLIST_SUB= ELISPDIR=${ELISPDIR}
PORTDOCS= README.org
OPTIONS_DEFINE= DOCS
ELISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${ELISPDIR}
${INSTALL_DATA} ${WRKSRC}/*.el ${WRKSRC}/*.elc \
${STAGEDIR}${PREFIX}/${ELISPDIR}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.org ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>