2003-06-04 18:37:25 +02:00
|
|
|
# $NetBSD: Makefile,v 1.24 2003/06/04 16:37:25 magick Exp $
|
2003-05-03 01:31:34 +02:00
|
|
|
|
2003-06-04 18:37:25 +02:00
|
|
|
DISTNAME= xemacs-21.5.14
|
2002-03-24 20:40:29 +01:00
|
|
|
CATEGORIES= editors
|
2003-02-25 10:13:07 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_XEMACS:=xemacs-21.5/}
|
2002-03-24 20:40:29 +01:00
|
|
|
|
|
|
|
MAINTAINER= magick@netbsd.org
|
|
|
|
HOMEPAGE= http://www.xemacs.org/
|
2003-06-04 18:37:25 +02:00
|
|
|
COMMENT= *BETA* XEmacs text editor version 21.5.14
|
2002-03-24 20:40:29 +01:00
|
|
|
|
2002-09-21 13:56:47 +02:00
|
|
|
USE_BUILDLINK2= YES
|
2002-03-25 20:35:15 +01:00
|
|
|
USE_X11= YES
|
2002-03-24 20:40:29 +01:00
|
|
|
|
2003-06-04 18:37:25 +02:00
|
|
|
PLIST_SUBST+= EMACSVER=xemacs-21.5-b14
|
|
|
|
MESSAGE_SUBST+= EMACSVER=xemacs-21.5-b14
|
2002-03-24 20:40:29 +01:00
|
|
|
|
2002-05-20 18:46:29 +02:00
|
|
|
.if (${MACHINE_ARCH} == "arm32")
|
2003-06-02 16:05:00 +02:00
|
|
|
. include "../../mk/gcc.buildlink2.mk"
|
2002-05-20 18:46:29 +02:00
|
|
|
.endif
|
|
|
|
|
2002-03-24 20:40:29 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2002-09-21 13:56:47 +02:00
|
|
|
XEMACS_WIDGETS?= lucid
|
|
|
|
.if ${XEMACS_WIDGETS} == "gtk"
|
|
|
|
. include "../../x11/gtk/buildlink2.mk"
|
2002-03-24 20:40:29 +01:00
|
|
|
WITH_WIDGETS= --with-gtk
|
2002-09-21 13:56:47 +02:00
|
|
|
.elif ${XEMACS_WIDGETS} == "gnome"
|
|
|
|
. include "../../x11/gnome-libs/buildlink2.mk"
|
2002-03-24 20:40:29 +01:00
|
|
|
WITH_WIDGETS= --with-gnome
|
2002-09-21 13:56:47 +02:00
|
|
|
.elif ${XEMACS_WIDGETS} == "motif"
|
|
|
|
. include "../../mk/motif.buildlink2.mk"
|
2002-03-24 20:40:29 +01:00
|
|
|
.else
|
2002-09-21 13:56:47 +02:00
|
|
|
. include "../../mk/xaw.buildlink2.mk"
|
2002-03-24 20:40:29 +01:00
|
|
|
WITH_WIDGETS= --with-widgets=lucid
|
|
|
|
.endif
|
|
|
|
|
2002-09-21 13:56:47 +02:00
|
|
|
.if defined(XEMACS_ESD) && (${XEMACS_ESD} == "YES")
|
|
|
|
. include "../../audio/esound/buildlink2.mk"
|
2002-03-24 20:40:29 +01:00
|
|
|
.endif
|
|
|
|
|
2002-09-21 13:56:47 +02:00
|
|
|
.if defined(USE_LDAP) && (${USE_LDAP} == "YES")
|
|
|
|
WITH_LDAP= --with-ldap
|
|
|
|
. include "../../databases/openldap/buildlink2.mk"
|
2002-03-24 20:40:29 +01:00
|
|
|
.else
|
2002-09-21 13:56:47 +02:00
|
|
|
WITH_LDAP= --without-ldap
|
2002-03-24 20:40:29 +01:00
|
|
|
.endif
|
|
|
|
|
2002-09-21 13:56:47 +02:00
|
|
|
.if defined(USE_XFACE) && (${USE_XFACE} == "YES")
|
|
|
|
. include "../../mail/faces/buildlink2.mk"
|
|
|
|
WITH_XFACE= --with-xface
|
2002-03-24 20:40:29 +01:00
|
|
|
.else
|
2002-09-21 13:56:47 +02:00
|
|
|
WITH_XFACE= --without-xface
|
2002-03-24 20:40:29 +01:00
|
|
|
.endif
|
|
|
|
|
2002-09-21 13:56:47 +02:00
|
|
|
.if defined(EMACS_CANNA) && (${EMACS_CANNA} == "YES")
|
|
|
|
. include "../../inputmethod/canna-lib/buildlink2.mk"
|
|
|
|
WITH_CANNA= --with-canna
|
2002-04-05 20:44:01 +02:00
|
|
|
.else
|
2002-09-21 13:56:47 +02:00
|
|
|
WITH_CANNA= --without-canna
|
2002-04-05 20:44:01 +02:00
|
|
|
.endif
|
|
|
|
|
2002-09-21 13:56:47 +02:00
|
|
|
.include "../../databases/gdbm/buildlink2.mk"
|
|
|
|
.include "../../graphics/jpeg/buildlink2.mk"
|
|
|
|
.include "../../graphics/png/buildlink2.mk"
|
|
|
|
.include "../../graphics/tiff/buildlink2.mk"
|
|
|
|
|
|
|
|
INFOPATH= ${PREFIX}/info:${X11BASE}/info:/usr/local/info
|
|
|
|
|
|
|
|
HAS_CONFIGURE= YES
|
|
|
|
CONFIGURE_ARGS+= ${MACHINE_GNU_PLATFORM}
|
|
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX}
|
|
|
|
CONFIGURE_ARGS+= --with-clash-detection
|
|
|
|
CONFIGURE_ARGS+= --error-checking=none
|
|
|
|
CONFIGURE_ARGS+= --with-mule=yes
|
|
|
|
CONFIGURE_ARGS+= --without-ncurses
|
|
|
|
CONFIGURE_ARGS+= --without-msw
|
|
|
|
CONFIGURE_ARGS+= ${WITH_WIDGETS} ${WITH_LDAP} ${WITH_XFACE} ${WITH_CANNA}
|
|
|
|
CONFIGURE_ARGS+= --infopath="${INFOPATH}"
|
|
|
|
CONFIGURE_ARGS+= --site-includes=${PREFIX}/include:${WRKDIR}
|
|
|
|
CONFIGURE_ARGS+= --site-libraries=${PREFIX}/lib
|
2002-03-24 20:40:29 +01:00
|
|
|
|
|
|
|
CFLAGS+= -Dunix
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${RM} -f ${WRKSRC}/etc/ctags.1.orig
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|