1994-08-21 15:19:28 +02:00
|
|
|
# New ports collection makefile for: GNU emacs
|
2004-03-21 08:39:49 +01:00
|
|
|
# Date created: 11 October 2001
|
|
|
|
# Whom: MANTANI Nobutaka <nobutaka@nobutaka.com>
|
1994-08-21 15:19:28 +02:00
|
|
|
#
|
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
|
2007-07-16 19:06:44 +02:00
|
|
|
PORTVERSION= ${EMACS_VER}
|
2004-03-21 08:39:49 +01:00
|
|
|
CATEGORIES= editors ipv6
|
2007-07-16 19:06:44 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
2004-03-21 08:39:49 +01:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
1995-04-09 08:11:17 +02:00
|
|
|
|
2007-07-16 19:06:44 +02:00
|
|
|
MAINTAINER= keramida@ceid.upatras.gr
|
2003-02-20 18:12:51 +01:00
|
|
|
COMMENT= GNU editing macros
|
1997-07-17 12:38:15 +02:00
|
|
|
|
2000-04-17 02:18:05 +02:00
|
|
|
.if !defined(WITHOUT_X11)
|
2007-07-16 19:06:44 +02:00
|
|
|
.if defined(WITHOUT_GTK)
|
|
|
|
LIB_DEPENDS= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d
|
|
|
|
.endif
|
|
|
|
LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
2004-03-21 08:39:49 +01:00
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff \
|
|
|
|
ungif.5:${PORTSDIR}/graphics/libungif \
|
|
|
|
png.5:${PORTSDIR}/graphics/png
|
1999-07-04 05:28:44 +02:00
|
|
|
.endif
|
1999-01-23 15:28:28 +01:00
|
|
|
|
2007-07-16 19:06:44 +02:00
|
|
|
CONFLICTS= emacs-19.* emacs-21.* \
|
|
|
|
xemacs-[0-9]* xemacs-devel-[0-9]* \
|
|
|
|
xemacs-mule-[0-9]* xemacs-devel-mule-[0-9]*
|
1994-08-21 15:19:28 +02:00
|
|
|
|
2008-11-10 23:30:51 +01:00
|
|
|
EMACS_VER= 22.3
|
2007-07-16 19:06:44 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2004-03-21 08:39:49 +01:00
|
|
|
USE_GMAKE= yes
|
2004-02-25 11:34:28 +01:00
|
|
|
|
2007-07-16 19:06:44 +02:00
|
|
|
.if !defined(WITHOUT_X11)
|
|
|
|
.if !defined(WITHOUT_GTK)
|
|
|
|
USE_GNOME= gtk20
|
|
|
|
.else
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= x11
|
2007-07-16 19:06:44 +02:00
|
|
|
.endif
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= xpm xft
|
2007-07-16 19:06:44 +02:00
|
|
|
.endif
|
|
|
|
|
2004-03-21 08:39:49 +01:00
|
|
|
.if defined(WITHOUT_X11)
|
|
|
|
CONFIGURE_ARGS= --with-x=no
|
2007-07-16 19:06:44 +02:00
|
|
|
.else
|
|
|
|
.if !defined(WITHOUT_GTK)
|
|
|
|
CONFIGURE_ARGS= --with-gtk
|
2004-03-21 08:39:49 +01:00
|
|
|
.endif
|
2007-07-16 19:06:44 +02:00
|
|
|
.endif
|
|
|
|
|
2004-03-21 08:39:49 +01:00
|
|
|
.if defined(WITHOUT_XIM)
|
|
|
|
CONFIGURE_ARGS+= --without-xim
|
2004-02-25 11:34:28 +01:00
|
|
|
.endif
|
|
|
|
|
2007-07-16 19:06:44 +02:00
|
|
|
MAN1= ctags.1 emacs.1 emacsclient.1 etags.1
|
|
|
|
PLIST_SUB= EMACS_VER=${EMACS_VER} EMACS_ARCH=${CONFIGURE_TARGET}
|
|
|
|
|
|
|
|
MAKE_ENV= LC_ALL=C
|
|
|
|
|
|
|
|
INFO= ada-mode autotype calc ccmode cl dired-x ebrowse ediff \
|
|
|
|
efaq eintr elisp emacs-mime emacs erc eshell eudc \
|
|
|
|
flymake forms gnus idlwave info message mh-e newsticker \
|
|
|
|
org pcl-cvs pgg rcirc reftex sc ses sieve smtpmail speedbar \
|
|
|
|
tramp url vip viper widget woman
|
2004-03-21 08:39:49 +01:00
|
|
|
|
2005-05-05 19:22:06 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "ia64"
|
2007-07-16 19:06:44 +02:00
|
|
|
BROKEN= Emacs 22.X does not currently build on ia64
|
2005-05-05 19:22:06 +02:00
|
|
|
.endif
|
|
|
|
|
2004-03-21 08:39:49 +01:00
|
|
|
pre-everything::
|
2007-07-16 19:06:44 +02:00
|
|
|
.if !defined(WITHOUT_X11) && !defined(WITHOUT_GTK)
|
2004-03-21 08:39:49 +01:00
|
|
|
@${ECHO_MSG} "====>"
|
2007-07-16 19:06:44 +02:00
|
|
|
@${ECHO_MSG} "====> To disable GTK+ interface support, define WITHOUT_X11 or WITHOUT_GTK"
|
|
|
|
@${ECHO_MSG} "====>"
|
|
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_X11) && !defined(WITHOUT_XIM)
|
|
|
|
@${ECHO_MSG} "====>"
|
|
|
|
@${ECHO_MSG} "====> To disable X11 Input Method support, define WITHOUT_XIM"
|
2004-03-21 08:39:49 +01:00
|
|
|
@${ECHO_MSG} "====>"
|
|
|
|
.endif
|
|
|
|
|
2007-09-27 08:16:36 +02:00
|
|
|
post-patch:
|
|
|
|
@${RM} -f ${WRKSRC}/info/*
|
|
|
|
|
2005-05-05 19:22:06 +02:00
|
|
|
.include <bsd.port.post.mk>
|