ports/devel/git-modes/Makefile
Joseph Mingrone a3cc513bfc Flavorize and modernize Emacs ports
- Convert USE_EMACS to USES=emacs
- Remove editors/emacs-nox11 (refer to nox flavors of editors/emacs and
  editors/emacs-devel)
- Permit default Emacs flavor to be specified in make.conf
- Rename japanese/migemo-emacs23 to japanese/migemo-emacs
- Update and simplify audio/emms and fix build on FreeBSD 10 [1]
- Update databases/bbdd and fix build on FreeBSD 10 [1]
- Update editors/emacs-devel
- Ensure Makefile shell commands that change directory are executed in a
  subshell
- Silence some portlint warnings

[1] By not depending on base texinfo

PR:		225404
Reviewed by:	antoine
Approved by:	portmgr (mat) ashish (maintainer)
Differential Revision:	https://reviews.freebsd.org/D13506
2018-02-01 18:03:09 +00:00

43 lines
996 B
Makefile

# Created by: KIMURA Yasuhiro <yasu@utahime.org>
# $FreeBSD$
PORTNAME= git-modes
PORTVERSION= 1.2.6
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= devel elisp
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
MAINTAINER= yasu@utahime.org
COMMENT= GNU Emacs modes for Git-related files
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
USES= emacs gmake
USE_GITHUB= yes
GH_ACCOUNT= magit
PORTDOCS= README.md
NO_ARCH= yes
ALL_TARGET= lisp
OPTIONS_DEFINE= DOCS GIT_SUBVERSION
ELISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
PLIST_SUB= ELISPDIR=${ELISPDIR}
GIT_SUBVERSION_DESC= Use devel/git-subversion as backend
GIT_SUBVERSION_RUN_DEPENDS= git-subversion>0:devel/git-subversion
GIT_SUBVERSION_RUN_DEPENDS_OFF= git>0:devel/git
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.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>