pkgsrc/editors/leim/Makefile

31 lines
829 B
Makefile

# $NetBSD: Makefile,v 1.15 2004/01/22 08:30:30 grant Exp $
DISTNAME= leim-${VERSION}
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_GNU:=emacs/}
DISTFILES= emacs-${VERSION}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/emacs/emacs.html
COMMENT= Libraries of Emacs Input Methods (for emacs21)
DEPENDS+= emacs>=${VERSION}:../emacs
WRKSRC= ${WRKDIR}/emacs-${VERSION}/leim
GNU_CONFIGURE= yes
USE_GNU_TOOLS+= make
VERSION= 21.3
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/${VERSION}/leim
.include "../../mk/bsd.pkg.mk"