aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/sawfish/Makefile
diff options
context:
space:
mode:
authornakai <nakai@FreeBSD.org>1999-11-11 18:18:40 +0800
committernakai <nakai@FreeBSD.org>1999-11-11 18:18:40 +0800
commit1150ac50ba2546be0b1d6a9f36cdc9316212fb73 (patch)
treea46d8782de8b4ed2913940f211f6843e1968c3f5 /x11-wm/sawfish/Makefile
parent75abc51cdb3c781f9090c705812ff37478da7d44 (diff)
downloadfreebsd-ports-gnome-1150ac50ba2546be0b1d6a9f36cdc9316212fb73.tar.gz
freebsd-ports-gnome-1150ac50ba2546be0b1d6a9f36cdc9316212fb73.tar.zst
freebsd-ports-gnome-1150ac50ba2546be0b1d6a9f36cdc9316212fb73.zip
Initial import.
Lisp configurable window manager.
Diffstat (limited to 'x11-wm/sawfish/Makefile')
-rw-r--r--x11-wm/sawfish/Makefile55
1 files changed, 55 insertions, 0 deletions
diff --git a/x11-wm/sawfish/Makefile b/x11-wm/sawfish/Makefile
new file mode 100644
index 000000000000..ff80a810d8dd
--- /dev/null
+++ b/x11-wm/sawfish/Makefile
@@ -0,0 +1,55 @@
+# New ports collection makefile for: sawmill
+# Version required: 0.16
+# Date created: 13 September 1999
+# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+DISTNAME= sawmill-0.16
+CATEGORIES= x11-wm
+MASTER_SITES= ftp://ftp.dcs.warwick.ac.uk/people/John.Harper/sawmill/
+
+MAINTAINER= nakai@FreeBSD.org
+
+LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
+ Imlib.5:${PORTSDIR}/graphics/imlib
+.if !defined(NOGNOME)
+LIB_DEPENDS+= capplet.1:${PORTSDIR}/sysutils/gnomecontrolcenter
+.endif
+BUILD_DEPENDS= rep:${PORTSDIR}/lang/librep \
+ ${LOCALBASE}/libexec/rep/${ARCH}--freebsd${OSREL}/libgtk.so:${PORTSDIR}/x11-toolkits/rep-gtk
+
+GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
+
+PLIST_SUB= GNUHOST=${ARCH}--freebsd${OSREL}
+
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
+ --datadir=${PREFIX}/share/gnome
+.if !defined(NOGNOME)
+CONFIGURE_ARGS+= --enable-capplet
+.endif
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include\
+ -I${LOCALBASE}/include/giflib" \
+ GTK_CONFIG="${GTK_CONFIG}" \
+ GLIB_CONFIG="${GLIB_CONFIG}" \
+ LIBS="-L${LOCALBASE}/lib -lxpg4"
+
+pre-build:
+.if !defined(DISPLAY)
+ @${ECHO_MSG} "*********************************************"
+ @${ECHO_MSG} "* W A R N I N G *"
+ @${ECHO_MSG} "*********************************************"
+ @${ECHO_MSG} "* You can't build this sawmill port from *"
+ @${ECHO_MSG} "* non-X terminal. Please build from xterm, *"
+ @${ECHO_MSG} "* rxvt, Eterm, kterm or so. *"
+ @${ECHO_MSG} "*********************************************"
+ @${ECHO_MSG}
+ @exit 1;
+.endif
+
+.include <bsd.port.mk>