diff options
author | magick <magick@pkgsrc.org> | 2002-03-24 19:40:29 +0000 |
---|---|---|
committer | magick <magick@pkgsrc.org> | 2002-03-24 19:40:29 +0000 |
commit | a2059564c3b442efaf872f1f8d4d958d3165608d (patch) | |
tree | 2dfbf38bc80239d052e0571386b28e62df481967 /editors/xemacs-current/Makefile | |
parent | a594c75f3bb8eac39c3bbfc2260f0d8ccbdc839d (diff) | |
download | pkgsrc-a2059564c3b442efaf872f1f8d4d958d3165608d.tar.gz |
Initial import of XEmacs 21.5.5
This is the *BETA* developement line of XEmacs so handle with care.
This package is based on pkg/14132 contributed by Eric Gillespie Jr.
Most notable change to the release is the possibility to compile
xemacs with gtk+. Set XEMACS_WIDGETS accordingly in your mk.conf
Possible values are:
lucid (default)
gtk
gnome
motif
Diffstat (limited to 'editors/xemacs-current/Makefile')
-rw-r--r-- | editors/xemacs-current/Makefile | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/editors/xemacs-current/Makefile b/editors/xemacs-current/Makefile new file mode 100644 index 00000000000..1dcd649bc83 --- /dev/null +++ b/editors/xemacs-current/Makefile @@ -0,0 +1,75 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/03/24 19:40:29 magick Exp $ + +DISTNAME= xemacs-21.5.5 +CATEGORIES= editors +MASTER_SITES= ftp://ftp.xemacs.org/pub/xemacs/xemacs-21.5/ \ + ftp://ftp.mpi-sb.mpg.de/pub/gnu/mirror/ftp.xemacs.org/xemacs/xemacs-21.5/ \ + ftp://ftp.usyd.edu.au/pub/Xemacs/xemacs-21.5/ \ + ftp://ftp.lab.kdd.co.jp/xemacs/xemacs-21.5/ \ + ftp://ftp.th-darmstadt.de/pub/editors/xemacs/xemacs-21.5/ + +MAINTAINER= magick@netbsd.org +HOMEPAGE= http://www.xemacs.org/ +COMMENT= *BETA* XEmacs text editor version 21.5.5 + +USE_BUILDLINK_ONLY= YES +HAS_CONFIGURE= YES + +PLIST_SUBST= EMACSVER=xemacs-21.5-b5 + +.include "../../mk/bsd.prefs.mk" + +XEMACS_WIDGETS?= lucid +.if ${XEMACS_WIDGETS} == gtk +.include "../../x11/gtk/buildlink.mk" +WITH_WIDGETS= --with-gtk +.elif ${XEMACS_WIDGETS} == gnome +.include "../../x11/gnome-libs/buildlink.mk" +WITH_WIDGETS= --with-gnome +.elif ${XEMACS_WIDGETS} == motif +.include "../../mk/motif.buildlink.mk" +.else +USE_XAW= YES +WITH_WIDGETS= --with-widgets=lucid +.endif + +.if defined(XEMACS_ESD) && ${XEMACS_ESD} == YES +.include "../../audio/esound/buildlink.mk" +.endif + +.if defined(USE_LDAP) && ${USE_LDAP} == YES +WITH_LDAP= --with-ldap=yes +.include "../../databases/openldap/buildlink.mk" +.else +WITH_LDAP= --with-ldap=no +.endif + +.if defined(USE_XFACE) && ${USE_XFACE} == YES +.include "../../mail/faces/buildlink.mk" +WITH_XFACE= --with-xface=yes +.else +WITH_XFACE= --with-xface=no +.endif + +.include "../../databases/gdbm/buildlink.mk" +.include "../../graphics/jpeg/buildlink.mk" +.include "../../graphics/png/buildlink.mk" +.include "../../graphics/tiff/buildlink.mk" + +CONFIGURE_ARGS+= ${MACHINE_GNU_PLATFORM} --prefix=${PREFIX} \ + --with-clash-detection --with-mule=yes \ + --with-ncurses=no ${WITH_WIDGETS} \ + ${WITH_LDAP} ${WITH_XFACE} \ + --infopath="${PREFIX}/info:${X11BASE}/info:/usr/local/info" \ + --site-includes=${PREFIX}/include:${WRKDIR} \ + --site-libraries=${PREFIX}/lib \ + --error-checking=none + +CFLAGS+= -Dunix +MAKE_ENV+= INSTALL_MAN="${INSTALL_MAN}" + +post-patch: + @${RM} -f ${WRKSRC}/etc/ctags.1.orig + +.include "../../mk/x11.buildlink.mk" +.include "../../mk/bsd.pkg.mk" |