diff options
author | hubertf <hubertf@pkgsrc.org> | 1998-02-12 13:33:01 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1998-02-12 13:33:01 +0000 |
commit | c8512bc9f6501d4e8de97c77f009508a78424d1b (patch) | |
tree | fa2f1b3cebbe2c89ab4623b77747ff185b094b64 /editors/emacs/Makefile | |
parent | 31ed1168f1f7867f0cc6e3f4ff565e5f6d13c441 (diff) | |
download | pkgsrc-c8512bc9f6501d4e8de97c77f009508a78424d1b.tar.gz |
Better handling of binary stripping and DOC file handling, based on
suggestions from PR 4979 by Johnny Chi-Lung Lam <jlbg+@andrew.cmu.edu>.
Diffstat (limited to 'editors/emacs/Makefile')
-rw-r--r-- | editors/emacs/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile index 67b01b1f046..3ab4038dc75 100644 --- a/editors/emacs/Makefile +++ b/editors/emacs/Makefile @@ -3,7 +3,7 @@ # Date created: 11 October 1997 # Whom: hubertf # -# $NetBSD: Makefile,v 1.6 1998/02/09 00:29:14 hubertf Exp $ +# $NetBSD: Makefile,v 1.7 1998/02/12 13:33:01 hubertf Exp $ # FreeBSD Id: Makefile,v 1.30 1997/12/14 02:03:53 asami Exp # @@ -22,11 +22,11 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS+= ${MACHINE_ARCH}--netbsd --with-pop --with-x --with-x-toolkit=lucid MAN1= emacs.1 etags.1 ctags.1 OPSYS!= uname -s +MAKE_ENV+= INSTALL_STRIP=${STRIPFLAG} \ + INSTALL_SCRIPT="${INSTALL_SCRIPT}" post-install: -.for file in emacs-20.2 emacsclient etags ctags b2m - strip ${PREFIX}/bin/${file} -.endfor + rm -f ${PREFIX}/share/emacs/20.2/etc/DOC-20.2.[2-9]* .if (${OPSYS} != "NetBSD") if [ ! -f ${PREFIX}/info/dir ]; then \ ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \ @@ -35,7 +35,5 @@ post-install: .for info in emacs vip viper forms gnus mh-e cl sc dired-x ediff ccmode message install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir .endfor - cd ${PREFIX}/share/emacs/20.2/etc ; [ -f DOC-20.2.3 ] && rm -f DOC-20.2.2 - cd ${PREFIX}/share/emacs/20.2/etc ; [ -f DOC-20.2.2 ] && rm -f DOC-20.2.1 .include <bsd.port.mk> |