summaryrefslogtreecommitdiff
path: root/editors/leim21/Makefile
diff options
context:
space:
mode:
authoruebayasi <uebayasi@pkgsrc.org>2007-10-29 13:41:26 +0000
committeruebayasi <uebayasi@pkgsrc.org>2007-10-29 13:41:26 +0000
commitbbca178221c84f950ea7bcaabc8284f1fa7ea5c3 (patch)
treec0e778dc75bbbe8065e62338bd5a0e9607d210bf /editors/leim21/Makefile
parent17d6e1251e417bec8a679c4e0f720cf406fd736d (diff)
downloadpkgsrc-bbca178221c84f950ea7bcaabc8284f1fa7ea5c3.tar.gz
Move editors/leim to editors/leim21 as it's only for emacs21.
Diffstat (limited to 'editors/leim21/Makefile')
-rw-r--r--editors/leim21/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/editors/leim21/Makefile b/editors/leim21/Makefile
new file mode 100644
index 00000000000..6cfa05d1d37
--- /dev/null
+++ b/editors/leim21/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.6 2007/10/29 13:41:29 uebayasi 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)
+
+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
+
+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} ${PREFIX}/share/emacs/${VERSION}/leim
+
+.include "../../mk/emacs.mk"
+.include "../../mk/bsd.pkg.mk"