pkgsrc/editors/emacs-nox11/Makefile

40 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.8 2004/01/27 00:53:12 heinz Exp $
# FreeBSD Id: Makefile,v 1.30 1997/12/14 02:03:53 asami Exp
DISTNAME= emacs-21.3
PKGNAME= emacs-nox11-21.3
PKGREVISION= 1
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_GNU:=emacs/}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/emacs/emacs.html
COMMENT= GNU editing macros (editor)
CONFLICTS= mule-[0-9]*
CONFLICTS+= emacs-[0-9]*
GNU_CONFIGURE= yes
USE_GNU_TOOLS+= make
USE_BUILDLINK2= yes
PATCHDIR= ${PKGDIR}/../emacs/patches
FILESDIR= ${PKGDIR}/../emacs/files
DISTINFO_FILE= ${PKGDIR}/../emacs/distinfo
CONFIGURE_ARGS+=--without-x
INFO_FILES= ada-mode autotype ccmode cl dired-x ebrowse ediff efaq emacs
INFO_FILES+= emacs-mime eshell eudc forms gnus idlwave message mh-e pcl-cvs
INFO_FILES+= reftex sc speedbar vip viper widget woman
post-extract:
${CP} ${FILESDIR}/site-init.el ${WRKSRC}/lisp
pre-install:
@${FIND} ${WRKSRC} -type f -name "*.orig" -print | ${XARGS} ${RM} -f
post-install:
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/emacs
.include "../../mk/bsd.pkg.mk"