blob: 4cd6ea446644feb5077dc703ae34f3dfa297c631 (
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
36
37
38
39
40
41
42
43
44
45
|
# $NetBSD: Makefile,v 1.8 2011/03/21 06:12:19 obache Exp $
DISTNAME= leim-${VERSION}
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
PKGREVISION= 1
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_GNU:=emacs/}
DISTFILES= emacs-${VERSION}a${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/emacs/emacs.html
COMMENT= Libraries of Emacs Input Methods (for emacs21)
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/emacs-${VERSION}/leim
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
VERSION= 21.4
EMACS_VERSIONS_ACCEPTED= emacs21 emacs21nox
CONFIG_GUESS_OVERRIDE= ../config.guess
CONFIG_SUB_OVERRIDE= ../config.sub
EMACS21_FILESDIR= ${.CURDIR}/../../editors/emacs21/files
INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX}
INSTALLATION_DIRS+= share/emacs/${VERSION}/leim
post-extract:
@${ECHO} '#!/bin/sh' >${WRKSRC}/configure
@${ECHO} 'cd ..' >>${WRKSRC}/configure
@${ECHO} 'exec ./configure $$*' >>${WRKSRC}/configure
@${CHMOD} +x ${WRKSRC}/configure
${CP} ${EMACS21_FILESDIR}/dragonfly.h ${WRKSRC}/../src/s
.include "../../mk/bsd.prefs.mk"
post-install:
@${CHOWN} -R ${ROOT_USER} ${DESTDIR}${PREFIX}/share/emacs/${VERSION}/leim
.include "../../editors/emacs/modules.mk"
.include "../../mk/bsd.pkg.mk"
|