summaryrefslogtreecommitdiff
path: root/editors/xemacs-current/Makefile
diff options
context:
space:
mode:
authoruebayasi <uebayasi>2007-11-12 01:48:47 +0000
committeruebayasi <uebayasi>2007-11-12 01:48:47 +0000
commit902dc58806a89aef6b1eea9b587ae2ed0e790a02 (patch)
tree0abc61f1d468a4dc5091aa9c7a0f4e1998016680 /editors/xemacs-current/Makefile
parent2220274e4465d2e3f47c17fdd8cde64a9d343504 (diff)
downloadpkgsrc-902dc58806a89aef6b1eea9b587ae2ed0e790a02.tar.gz
Support XEmacs 21.5.x without X too.
Diffstat (limited to 'editors/xemacs-current/Makefile')
-rw-r--r--editors/xemacs-current/Makefile70
1 files changed, 2 insertions, 68 deletions
diff --git a/editors/xemacs-current/Makefile b/editors/xemacs-current/Makefile
index 49b4bde87a2..068b25f7ce1 100644
--- a/editors/xemacs-current/Makefile
+++ b/editors/xemacs-current/Makefile
@@ -1,71 +1,5 @@
-# $NetBSD: Makefile,v 1.62 2007/06/30 17:59:03 joerg Exp $
+# $NetBSD: Makefile,v 1.63 2007/11/12 01:48:47 uebayasi Exp $
-DISTNAME= xemacs-21.5.27
-
-CATEGORIES= editors
-MASTER_SITES= ${MASTER_SITE_XEMACS:=xemacs-21.5/}
-
-MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://www.xemacs.org/
-COMMENT= *BETA* XEmacs text editor version 21.5.27
-
-CONFLICTS+= gnuclient-[0-9]*
-
-
-BUILD_DEFS+= XEMACS_WIDGETS
-EMACSVERSION= 21.5-b27
-PLIST_SUBST+= EMACSVER=xemacs-${EMACSVERSION}
-MESSAGE_SUBST+= EMACSVER=xemacs-${EMACSVERSION}
-
-.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
-GCC_REQD+= 2.95.3
-.endif
-
-.include "options.mk"
-
-XEMACS_WIDGETS?= lucid
-.if ${XEMACS_WIDGETS} == "gtk"
-. include "../../x11/gtk/buildlink3.mk"
-WITH_WIDGETS= --with-gtk
-.elif ${XEMACS_WIDGETS} == "motif"
-. include "../../mk/motif.buildlink3.mk"
-.else
-. include "../../mk/xaw.buildlink3.mk"
-WITH_WIDGETS= --with-widgets=lucid
-.endif
-
-.include "../../databases/gdbm/buildlink3.mk"
-.include "../../graphics/jpeg/buildlink3.mk"
-.include "../../graphics/png/buildlink3.mk"
-.include "../../graphics/tiff/buildlink3.mk"
-.include "../../x11/xbitmaps/buildlink3.mk"
-
-INFOPATH= ${PREFIX}/${PKGINFODIR}:${X11BASE}/${PKGINFODIR}:${LOCALBASE}/${PKGINFODIR}
-
-HAS_CONFIGURE= YES
-CONFIGURE_ARGS+= ${MACHINE_GNU_PLATFORM}
-CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
-CONFIGURE_ARGS+= --with-clash-detection
-CONFIGURE_ARGS+= --with-mule=yes
-CONFIGURE_ARGS+= --without-ncurses
-CONFIGURE_ARGS+= --without-msw
-CONFIGURE_ARGS+= ${WITH_WIDGETS}
-CONFIGURE_ARGS+= --with-infopath=${INFOPATH:Q}
-CONFIGURE_ARGS+= --with-site-includes=${PREFIX}/include:${WRKDIR}
-CONFIGURE_ARGS+= --with-site-libraries=${PREFIX}/lib
-
-CFLAGS+= -Dunix
-# newer gcc has big trouble with aliasing otherwise - this should be fixed
-# in the source, but untill then, use the big hammer here:
-CFLAGS+= -fno-strict-aliasing
-
-INFO_FILES= # PLIST
-
-# build PATH in the dumped emacs is not a problem
-CHECK_WRKREF_SKIP+= bin/xemacs
-CHECK_WRKREF_SKIP+= bin/xemacs-${EMACSVERSION}
-
-post-patch:
- rm -f ${WRKSRC}/etc/ctags.1.orig
+.include "../../editors/xemacs-current/Makefile.common"
.include "../../mk/bsd.pkg.mk"