summaryrefslogtreecommitdiff
path: root/devel/ecb/Makefile
blob: 1e8a246bf6ee71150a92f9e148a5f3f9fa02c8f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $NetBSD: Makefile,v 1.2 2020/04/04 03:44:57 mef Exp $

DISTNAME=	ecb-2.50
PKGNAME=	${EMACS_PKGNAME_PREFIX}${DISTNAME}
CATEGORIES=	devel

MASTER_SITES=	${MASTER_SITE_GITHUB:=ecb-home/}
GITHUB_TAG=	1330a44cf3c171781083b0b926ab7622f64e6e81

MAINTAINER=	pho@cielonegro.org
HOMEPAGE=	https://github.com/ecb-home/ecb
COMMENT=	Emacs Code Browser
LICENSE=	gnu-gpl-v2

USE_TOOLS=	find gmake makeinfo tar
INFO_FILES=	yes

MAKE_FLAGS+=		EMACS=${EMACS_BIN}
MAKE_FLAGS+=		SHELL=${SH:Q}
EMACS_MODULES=		base
EMACS_BUILDLINK=	yes

INSTALLATION_DIRS+=	\
	${PKGINFODIR} \
	${EMACS_LISPPREFIX}/${PKGBASE}

do-install:
	${INSTALL_DATA} ${WRKSRC}/*.el  ${DESTDIR}${EMACS_LISPPREFIX}/${PKGBASE}
	${INSTALL_DATA} ${WRKSRC}/*.elc ${DESTDIR}${EMACS_LISPPREFIX}/${PKGBASE}
	${INSTALL_DATA} ${WRKSRC}/info-help/ecb.info* ${DESTDIR}${PREFIX}/${PKGINFODIR}
	${TAR} -cf - -C ${WRKSRC} ecb-images | \
		${TAR} -xf - -C ${DESTDIR}${EMACS_LISPPREFIX}/${PKGBASE}

.include "../../editors/emacs/modules.mk"
.include "../../mk/bsd.pkg.mk"