1994-08-21 15:19:28 +02:00
|
|
|
# New ports collection makefile for: GNU emacs
|
1994-10-29 22:49:46 +01:00
|
|
|
# Date created: 29 October 1994
|
1994-08-21 15:19:28 +02:00
|
|
|
# Whom: jkh
|
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1994-08-21 15:19:28 +02:00
|
|
|
#
|
|
|
|
|
2000-04-14 02:25:54 +02:00
|
|
|
PORTNAME= emacs
|
|
|
|
PORTVERSION= 19.34b
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 2
|
1996-11-11 06:07:53 +01:00
|
|
|
CATEGORIES= editors
|
1996-11-18 11:25:35 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
1999-01-27 08:41:29 +01:00
|
|
|
MASTER_SITE_SUBDIR= emacs
|
1995-04-09 08:11:17 +02:00
|
|
|
|
1999-08-31 08:53:31 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:12:51 +01:00
|
|
|
COMMENT= GNU editing macros
|
1997-07-17 12:38:15 +02:00
|
|
|
|
2007-05-03 19:15:47 +02:00
|
|
|
CONFLICTS= emacs-21.* emacs-22.* \
|
2005-05-06 11:07:45 +02:00
|
|
|
xemacs-[0-9]* xemacs-devel-[0-9]* \
|
|
|
|
xemacs-mule-[0-9]* xemacs-devel-mule-[0-9]*
|
|
|
|
|
2004-04-19 14:50:31 +02:00
|
|
|
ONLY_FOR_ARCHS= i386
|
2004-11-20 07:38:10 +01:00
|
|
|
DEPRECATED= "editors/emacs is recommended instead for new installations"
|
2004-04-19 14:50:31 +02:00
|
|
|
|
1998-09-14 09:26:05 +02:00
|
|
|
EMACS_VERSION= 19.34
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET= ${MACHINE_ARCH}--freebsd
|
1999-03-08 08:28:36 +01:00
|
|
|
PLIST_SUB= EMACS_VERSION=${EMACS_VERSION} EMACS_ARCH=${CONFIGURE_TARGET}
|
1998-04-04 09:36:46 +02:00
|
|
|
NO_LATEST_LINK= yes
|
1996-11-19 14:15:31 +01:00
|
|
|
WRKSRC= ${WRKDIR}/emacs-19.34
|
1996-10-18 10:56:31 +02:00
|
|
|
GNU_CONFIGURE= yes
|
1995-04-09 08:11:17 +02:00
|
|
|
USE_GMAKE= yes
|
2000-04-17 02:18:05 +02:00
|
|
|
.if !defined(WITHOUT_X11)
|
1999-03-08 08:28:36 +01:00
|
|
|
CONFIGURE_ARGS= --with-x-toolkit --sharedstatedir=/var/run
|
1999-07-04 05:28:44 +02:00
|
|
|
USE_XLIB= yes
|
2007-05-19 22:36:56 +02:00
|
|
|
USE_XORG= xbitmaps
|
1999-07-04 05:28:44 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS= --with-x=no --sharedstatedir=/var/run
|
|
|
|
.endif
|
1999-01-23 15:28:28 +01:00
|
|
|
|
1995-04-09 08:11:17 +02:00
|
|
|
STRIP=
|
1996-11-17 08:01:32 +01:00
|
|
|
MAN1= emacs.1 etags.1 ctags.1
|
1994-08-21 15:19:28 +02:00
|
|
|
|
2005-07-29 13:50:26 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-12-04 22:30:00 +01:00
|
|
|
.if ${OSVERSION} > 600000
|
|
|
|
PLIST_SUB+= NOTON6="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= NOTON6=""
|
2005-07-29 13:50:26 +02:00
|
|
|
.endif
|
|
|
|
|
1995-06-26 07:58:07 +02:00
|
|
|
post-install:
|
1997-05-20 12:25:12 +02:00
|
|
|
.for file in emacs-19.34 emacsclient etags ctags b2m
|
2003-09-24 11:37:11 +02:00
|
|
|
${STRIP_CMD} ${PREFIX}/bin/${file}
|
1997-05-20 12:25:12 +02:00
|
|
|
.endfor
|
1997-12-14 03:04:04 +01:00
|
|
|
.for info in emacs vip viper forms gnus mh-e cl sc dired-x ediff ccmode message
|
1997-05-20 12:25:12 +02:00
|
|
|
install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir
|
|
|
|
.endfor
|
1999-01-02 13:26:11 +01:00
|
|
|
# install emacs.sh into ${PREFIX}/etc/rc.d
|
1999-08-22 21:01:07 +02:00
|
|
|
${CHMOD} 1777 /var/run/emacs/lock
|
1999-01-02 13:26:11 +01:00
|
|
|
@${MKDIR} ${PREFIX}/etc/rc.d
|
|
|
|
@${INSTALL_SCRIPT} ${FILESDIR}/emacs.sh ${PREFIX}/etc/rc.d
|
1995-06-26 07:58:07 +02:00
|
|
|
|
2005-07-29 13:50:26 +02:00
|
|
|
.include <bsd.port.post.mk>
|