summaryrefslogtreecommitdiff
path: root/net/twittering-mode/Makefile
blob: e41c215cb182db294f7e0491e52fde3db4c98222 (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
# $NetBSD: Makefile,v 1.1 2013/06/14 13:41:46 mef Exp $

DISTNAME=	twittering-mode-3.0.0
CATEGORIES=	net
MASTER_SITES+=	http://sourceforge.net/projects/twmode/files/twittering-mode-3.0.0/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/hayamiz/twittering-mode/
COMMENT=	Emacs client for twitter
LICENSE=	gnu-gpl-v2

NO_BUILD=	yes

USE_LANGUAGES=	# none

# Original shows vHEAD by M-x twittering-mode-version, but it might be nice
# to tell a user the version number by this command (mef@).
SUBST_CLASSES+=		version
SUBST_MESSAGE.version=	Replace version string 'HEAD' by ${PKGVERSION}
SUBST_STAGE.version=	post-patch
SUBST_FILES.version=	twittering-mode.el
SUBST_SED.version=	-e '/defconst/s,HEAD,${PKGVERSION},'

.include "../../editors/emacs/modules.mk"
# Avoid single file spread out just under site-lisp directory.
# And directory name should get higher precedence, so begins with 'a'.
INSTALLATION_DIRS=	${EMACS_LISPPREFIX}/a-files

TEST_TARGET=	check

do-install:
	${INSTALL_DATA}   ${WRKSRC}/twittering-mode.el  ${DESTDIR}${INSTALLATION_DIRS}

.include "../../mk/bsd.pkg.mk"