summaryrefslogtreecommitdiff
path: root/editors/emacs-nox11/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/emacs-nox11/Makefile')
-rw-r--r--editors/emacs-nox11/Makefile38
1 files changed, 5 insertions, 33 deletions
diff --git a/editors/emacs-nox11/Makefile b/editors/emacs-nox11/Makefile
index 1d6bc305ac4..4213cd5f6fd 100644
--- a/editors/emacs-nox11/Makefile
+++ b/editors/emacs-nox11/Makefile
@@ -1,43 +1,15 @@
-# $NetBSD: Makefile,v 1.18 2005/05/22 20:07:56 jlam Exp $
+# $NetBSD: Makefile,v 1.19 2005/06/08 14:39:40 markd Exp $
-DISTNAME= emacs-21.4a
-PKGNAME= emacs-nox11-21.4a
+DISTNAME= emacs-${EMACSVERSION}a
+PKGNAME= emacs-nox11-${EMACSVERSION}a
PKGREVISION= 1
CATEGORIES= editors
-MASTER_SITES= ${MASTER_SITE_GNU:=emacs/}
+COMMENT= GNU editing macros (editor) - non X11 version
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.gnu.org/software/emacs/emacs.html
-COMMENT= GNU editing macros (editor)
+.include "../../editors/emacs/Makefile.common"
-CONFLICTS= mule-[0-9]*
CONFLICTS+= emacs-[0-9]*
-GNU_CONFIGURE= yes
-USE_TOOLS+= gmake
-
-PATCHDIR= ${.CURDIR}/../emacs/patches
-FILESDIR= ${.CURDIR}/../emacs/files
-DISTINFO_FILE= ${.CURDIR}/../emacs/distinfo
-
-# needed for 21.4a, can probably go away on next update
-WRKSRC= ${WRKDIR}/emacs-21.4
-PLIST_SUBST+= EMACSVERSION=21.4
-
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
- ${CP} ${FILESDIR}/amd64.h ${WRKSRC}/src/m
-
-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"