aboutsummaryrefslogtreecommitdiff
path: root/editors/xemacs-devel
diff options
context:
space:
mode:
authorGary Jennejohn <gj@FreeBSD.org>2002-01-28 20:44:11 +0000
committerGary Jennejohn <gj@FreeBSD.org>2002-01-28 20:44:11 +0000
commitfc3d466431bfde99c2a0bba0f99169e25e388b11 (patch)
tree32401aa20ad5f540b8c83e9ea7c6ee7684f838fb /editors/xemacs-devel
parent3f33de4577409b7f3b70ebab48ffe2b4208aaa56 (diff)
downloadports-fc3d466431bfde99c2a0bba0f99169e25e388b11.tar.gz
ports-fc3d466431bfde99c2a0bba0f99169e25e388b11.zip
Notes
Diffstat (limited to 'editors/xemacs-devel')
-rw-r--r--editors/xemacs-devel/Makefile24
1 files changed, 19 insertions, 5 deletions
diff --git a/editors/xemacs-devel/Makefile b/editors/xemacs-devel/Makefile
index aa02e81df554..4f9022295c4e 100644
--- a/editors/xemacs-devel/Makefile
+++ b/editors/xemacs-devel/Makefile
@@ -17,16 +17,18 @@ DIST_SUBDIR= xemacs
MAINTAINER= gj@FreeBSD.org
RUN_DEPENDS+= ${LOCALBASE}/lib/xemacs/xemacs-packages/etc/enriched.doc:${PORTSDIR}/editors/xemacs-packages
+.if !defined(WITHOUT_X11)
LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff
+USE_XLIB= yes
+USE_XPM= yes
+.endif
XEMACS_REL= 21.4
XEMACS_VER= 21.4.6
XEMACS_ARCH= ${CONFIGURE_TARGET}
-USE_XLIB= yes
-USE_XPM= yes
STRIP=
USE_AUTOCONF_VER=213
CONFIGURE_TARGET=${MACHINE_ARCH}--freebsd
@@ -35,8 +37,6 @@ CONFIGURE_ARGS?=--with-clash-detection \
--with-sound=native \
--site-includes=${LOCALBASE}/include \
--site-libraries=${LOCALBASE}/lib \
- --with-png=yes \
- --with-tiff=yes \
--with-ldap=no \
--with-site-lisp \
--with-database=berkdb \
@@ -50,7 +50,8 @@ PLIST_SUB= XEMACS_VER=${XEMACS_VER} XEMACS_ARCH=${XEMACS_ARCH}
pre-fetch:
.if !defined(WANT_GTK)
- @${ECHO_MSG} "If you want to use GTK, please set the environment variable WANT_GTK and recompile."
+ @${ECHO_MSG} "If you want to use GTK, please set the environment variable WANT_GTK "
+ @${ECHO_MSG} "and recompile."
.endif
.if defined(HAVE_MOTIF)
.if !defined(MOTIF_STATIC)
@@ -60,12 +61,25 @@ pre-fetch:
@${ECHO_MSG} "In this case, set the environment variable MOTIF_STATIC and recompile, "
@${ECHO_MSG} "which will force the use of athena widgets for dialogs."
.endif
+.if !defined(WITHOUT_X11)
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "Set the environment variable WITHOUT_X11 if you "
+ @${ECHO_MSG} "do not want to use X11."
+CONFIG_ARGS+= --with-png=yes --with-tiff=yes
+.endif
+.if defined(WITHOUT_X11)
+CONFIGURE_ARGS+= --without-x11
+.endif
# hack to avoid shipping binaries linked with Motif
.if defined(MOTIF_STATIC)
WITH_DIALOGS= --with-dialogs=athena
.endif
+.if defined(WITH_XAW3D)
+LIB_DEPENDS+= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d
+.endif
+
.if defined(WANT_GTK)
WITH_GTK= --with-gtk=yes \
--with-xpm=no