summaryrefslogtreecommitdiff
path: root/editors/emacs/Makefile
diff options
context:
space:
mode:
authortron <tron>1998-09-04 02:28:52 +0000
committertron <tron>1998-09-04 02:28:52 +0000
commit01c54452c20148ecf3aee28d613f3f6c0da8bd02 (patch)
tree5dbb6496b6b910ec0901759fb183165f45929fd0 /editors/emacs/Makefile
parent7e05a932a3733ade6963166016b9b49854f47fa6 (diff)
downloadpkgsrc-01c54452c20148ecf3aee28d613f3f6c0da8bd02.tar.gz
Lots of bug fixes:
- sync package list with reality and use "mkdir -p" - add missing RCSIds - split patches - don't install texinfo documentation - avoid conflict with "xemacs" and "vim" - remove unnecessary "${WRKSRC}" - add missing info files to "${INFO}" - don't remove "share/emacs/20.3/etc/DOC-20.3.[13-9]*" (fixes PR pkg/6097)
Diffstat (limited to 'editors/emacs/Makefile')
-rw-r--r--editors/emacs/Makefile19
1 files changed, 7 insertions, 12 deletions
diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile
index d223c4c74d6..48bcc925b6f 100644
--- a/editors/emacs/Makefile
+++ b/editors/emacs/Makefile
@@ -1,13 +1,12 @@
-# $NetBSD: Makefile,v 1.19 1998/09/01 20:04:33 mellon Exp $
+# $NetBSD: Makefile,v 1.20 1998/09/04 02:28:52 tron Exp $
# FreeBSD Id: Makefile,v 1.30 1997/12/14 02:03:53 asami Exp
#
DISTNAME= emacs-20.3
-WRKSRC= ${WRKDIR}/emacs-20.3
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_GNU}
-MAINTAINER= mellon@netbsd.org
+MAINTAINER= tron@netbsd.org
HOMEPAGE= http://www.gnu.org/software/emacs/emacs.html
CONFLICTS= emacs-20.2
@@ -16,19 +15,15 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS+= --with-pop --with-x --with-x-toolkit=lucid
OPSYS!= uname -s
-MAKE_ENV+= INSTALL_STRIP=${STRIPFLAG} \
- INSTALL_SCRIPT="${INSTALL_SCRIPT}"
-INFO_FILES= emacs vip viper forms gnus mh-e cl sc dired-x ediff ccmode message
+MAKE_ENV+= INSTALL_STRIP=${STRIPFLAG}
+INFO_FILES= emacs vip viper forms gnus mh-e cl sc dired-x ediff ccmode message widget reftex forms customize
INSTALL_PROGRAM= ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
+pre-install:
+ @find ${WRKSRC} -type f -name "*.orig" | xargs rm -f
+
post-install:
- ${RM} -f ${PREFIX}/share/emacs/20.3/etc/DOC-20.3.[13-9]*
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/emacs
-.if (${OPSYS} != "NetBSD")
- if [ ! -f ${PREFIX}/info/dir ]; then \
- ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
- fi
-.endif
.include "../../mk/bsd.pkg.mk"