summaryrefslogtreecommitdiff
path: root/editors/leim20/Makefile
diff options
context:
space:
mode:
authoruebayasi <uebayasi>2003-04-11 01:12:21 +0000
committeruebayasi <uebayasi>2003-04-11 01:12:21 +0000
commitaa6a0a37a7f1adc4c66b5d5cd576e08c950a247d (patch)
treee41a8381c76acdb3cbfac9001885fbafd794e620 /editors/leim20/Makefile
parent9af40adf61b510c52fa13d40ad72ab45393bf3e3 (diff)
downloadpkgsrc-aa6a0a37a7f1adc4c66b5d5cd576e08c950a247d.tar.gz
Re-import Leim for Emacs 20, which has settled down in editors/leim.
Diffstat (limited to 'editors/leim20/Makefile')
-rw-r--r--editors/leim20/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/editors/leim20/Makefile b/editors/leim20/Makefile
new file mode 100644
index 00000000000..b8a53710f7e
--- /dev/null
+++ b/editors/leim20/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/04/11 01:12:21 uebayasi Exp $
+
+DISTNAME= leim-${VERSION}
+PKGREVISION= 2
+WRKSRC= ${WRKDIR}/emacs-20.7/leim
+CATEGORIES= editors
+MASTER_SITES= ${MASTER_SITE_GNU:=emacs/}
+DISTFILES= emacs-${VERSION}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.gnu.org/software/emacs/emacs.html
+COMMENT= Libraries of Emacs Input Methods
+
+DEPENDS+= emacs-${VERSION}nb2:../emacs20
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+
+VERSION= 20.7
+
+post-extract:
+ @${ECHO} '#!/bin/sh' >${WRKSRC}/configure
+ @${ECHO} 'cd ..' >>${WRKSRC}/configure
+ @${ECHO} 'exec ./configure $$*' >>${WRKSRC}/configure
+ @${CHMOD} +x ${WRKSRC}/configure
+
+.include "../../mk/bsd.prefs.mk"
+
+post-install:
+ @${CHOWN} -R ${ROOT_USER} ${PREFIX}/share/emacs/20.7/leim
+
+.include "../../mk/bsd.pkg.mk"