1994-08-21 09:19:28 -04:00
|
|
|
# New ports collection makefile for: GNU emacs
|
1996-11-19 08:15:31 -05:00
|
|
|
# Version required: 19.34b
|
1994-10-29 17:49:46 -04:00
|
|
|
# Date created: 29 October 1994
|
1994-08-21 09:19:28 -04:00
|
|
|
# Whom: jkh
|
|
|
|
#
|
1999-08-22 15:01:07 -04:00
|
|
|
# $Id: Makefile,v 1.40 1999/07/04 03:28:44 cpiazza Exp $
|
1994-08-21 09:19:28 -04:00
|
|
|
#
|
|
|
|
|
1996-11-19 08:15:31 -05:00
|
|
|
DISTNAME= emacs-19.34b
|
1996-11-11 00:07:53 -05:00
|
|
|
CATEGORIES= editors
|
1996-11-18 05:25:35 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
1999-01-27 02:41:29 -05:00
|
|
|
MASTER_SITE_SUBDIR= emacs
|
1995-04-09 02:11:17 -04:00
|
|
|
|
1997-07-17 06:38:15 -04:00
|
|
|
MAINTAINER= ports@FreeBSD.ORG
|
|
|
|
|
1999-03-11 16:47:15 -05:00
|
|
|
Y2K= http://www.gnu.org/software/year2000.html
|
|
|
|
|
1998-09-14 03:26:05 -04:00
|
|
|
EMACS_VERSION= 19.34
|
1999-03-08 02:28:36 -05:00
|
|
|
CONFIGURE_TARGET= ${MACHINE_ARCH}--freebsd
|
|
|
|
PLIST_SUB= EMACS_VERSION=${EMACS_VERSION} EMACS_ARCH=${CONFIGURE_TARGET}
|
1998-04-04 02:36:46 -05:00
|
|
|
NO_LATEST_LINK= yes
|
1996-11-19 08:15:31 -05:00
|
|
|
WRKSRC= ${WRKDIR}/emacs-19.34
|
1996-10-18 04:56:31 -04:00
|
|
|
GNU_CONFIGURE= yes
|
1995-04-09 02:11:17 -04:00
|
|
|
USE_GMAKE= yes
|
1999-07-03 23:28:44 -04:00
|
|
|
.if !defined(NO_X11)
|
1999-03-08 02:28:36 -05:00
|
|
|
CONFIGURE_ARGS= --with-x-toolkit --sharedstatedir=/var/run
|
1999-07-03 23:28:44 -04:00
|
|
|
USE_XLIB= yes
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS= --with-x=no --sharedstatedir=/var/run
|
|
|
|
.endif
|
1999-01-23 09:28:28 -05:00
|
|
|
|
1995-04-09 02:11:17 -04:00
|
|
|
STRIP=
|
1996-11-17 02:01:32 -05:00
|
|
|
MAN1= emacs.1 etags.1 ctags.1
|
1994-08-21 09:19:28 -04:00
|
|
|
|
1995-06-26 01:58:07 -04:00
|
|
|
post-install:
|
1997-05-20 06:25:12 -04:00
|
|
|
.for file in emacs-19.34 emacsclient etags ctags b2m
|
|
|
|
strip ${PREFIX}/bin/${file}
|
|
|
|
.endfor
|
1997-12-13 21:04:04 -05:00
|
|
|
.for info in emacs vip viper forms gnus mh-e cl sc dired-x ediff ccmode message
|
1997-05-20 06:25:12 -04:00
|
|
|
install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir
|
|
|
|
.endfor
|
1999-01-02 07:26:11 -05:00
|
|
|
# install emacs.sh into ${PREFIX}/etc/rc.d
|
1999-08-22 15:01:07 -04:00
|
|
|
${CHMOD} 1777 /var/run/emacs/lock
|
1999-01-02 07:26:11 -05:00
|
|
|
@${MKDIR} ${PREFIX}/etc/rc.d
|
|
|
|
@${INSTALL_SCRIPT} ${FILESDIR}/emacs.sh ${PREFIX}/etc/rc.d
|
1995-06-26 01:58:07 -04:00
|
|
|
|
1994-08-21 09:19:28 -04:00
|
|
|
.include <bsd.port.mk>
|