From e32c042c5e01ad38a93afcbed52bf78356f7ad00 Mon Sep 17 00:00:00 2001 From: markd Date: Wed, 8 Jun 2005 14:39:40 +0000 Subject: Share a Makefile.common between emacs and emacs-nox11. Should fix PR pkg/30462. Also convert emacs to options framework. --- editors/emacs-nox11/Makefile | 38 +++++--------------------------------- 1 file changed, 5 insertions(+), 33 deletions(-) (limited to 'editors/emacs-nox11/Makefile') 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" -- cgit v1.2.3