ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/editors/emacs/Makefile
Revision: 6367
Committed: Mon Sep 29 21:17:42 2008 UTC (15 years, 7 months ago) by laffer1
File size: 1873 byte(s)
Log Message:
Update to 22.2

File Contents

# User Rev Content
1 laffer1 165 # New ports collection makefile for: GNU emacs
2     # Date created: 11 October 2001
3     # Whom: MANTANI Nobutaka <nobutaka@nobutaka.com>
4     #
5 laffer1 6367 # $MidnightBSD$
6 ctriv 2694 # $FreeBSD: ports/editors/emacs/Makefile,v 1.71 2007/07/24 15:10:13 rafan Exp $
7 laffer1 165 #
8    
9     PORTNAME= emacs
10 ctriv 2694 PORTVERSION= ${EMACS_VER}
11 laffer1 165 CATEGORIES= editors ipv6
12 ctriv 2694 MASTER_SITES= ${MASTER_SITE_GNU}
13 laffer1 165 MASTER_SITE_SUBDIR= ${PORTNAME}
14    
15 laffer1 6367 MAINTAINER= ports@MidnightBSD.org
16 laffer1 165 COMMENT= GNU editing macros
17 ctriv 2694 LICENSE= gpl2
18 laffer1 165
19 ctriv 2694 CONFLICTS= emacs-19.* emacs-21.* \
20 laffer1 165 xemacs-[0-9]* xemacs-devel-[0-9]* \
21     xemacs-mule-[0-9]* xemacs-devel-mule-[0-9]*
22    
23 laffer1 6367 EMACS_VER= 22.2
24 ctriv 2694 GNU_CONFIGURE= yes
25     USE_GMAKE= yes
26    
27     OPTIONS= X11 "Enable X11 support." On \
28     GTP "Enable GTK+ support." On \
29     XIM "Enable X11 Input Method supper." On
30    
31     MAN1= ctags.1 emacs.1 emacsclient.1 etags.1
32     PLIST_SUB= EMACS_VER=${EMACS_VER} EMACS_ARCH=${CONFIGURE_TARGET}
33    
34     MAKE_ENV= LC_ALL=C
35    
36     INFO= ada-mode autotype calc ccmode cl dired-x ebrowse ediff \
37     efaq eintr elisp emacs-mime emacs erc eshell eudc \
38     flymake forms gnus idlwave info message mh-e newsticker \
39     org pcl-cvs pgg rcirc reftex sc ses sieve smtpmail speedbar \
40     tramp url vip viper widget woman
41    
42     LATEST_LINK= emacs
43     WANT_GNOME= yes
44    
45     .include <bsd.port.pre.mk>
46    
47 laffer1 165 .if !defined(WITHOUT_X11)
48 ctriv 2694 .if defined(WITHOUT_GTK)
49     LIB_DEPENDS= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d
50     .endif
51     LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg \
52 laffer1 165 tiff.4:${PORTSDIR}/graphics/tiff \
53     ungif.5:${PORTSDIR}/graphics/libungif \
54     png.5:${PORTSDIR}/graphics/png
55 ctriv 2694 .endif
56    
57     .if !defined(WITHOUT_X11)
58     .if !defined(WITHOUT_GTK)
59     USE_GNOME= gtk20
60     .else
61 laffer1 165 USE_XLIB= yes
62 ctriv 2694 .endif
63 laffer1 165 USE_XPM= yes
64     .endif
65    
66 ctriv 2694 CONFIGURE_TARGET= ${MACHINE_ARCH}-freebsd
67 laffer1 165 .if defined(WITHOUT_X11)
68     CONFIGURE_ARGS= --with-x=no
69 ctriv 2694 .else
70     .if !defined(WITHOUT_GTK)
71     CONFIGURE_ARGS= --with-gtk
72 laffer1 165 .endif
73 ctriv 2694 .endif
74    
75 laffer1 165 .if defined(WITHOUT_XIM)
76     CONFIGURE_ARGS+= --without-xim
77     .endif
78    
79     .include <bsd.port.post.mk>

Properties

Name Value
cvs2svn:cvs-rev 1.5