summaryrefslogtreecommitdiff
path: root/x11-wm/scwm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/scwm/Makefile')
-rw-r--r--x11-wm/scwm/Makefile26
1 files changed, 15 insertions, 11 deletions
diff --git a/x11-wm/scwm/Makefile b/x11-wm/scwm/Makefile
index 01d0e726cf1e..f5156bd438d1 100644
--- a/x11-wm/scwm/Makefile
+++ b/x11-wm/scwm/Makefile
@@ -1,34 +1,38 @@
# New ports collection makefile for: scwm
-# Version required: 0.9
+# Version required: 0.99.3
# Date created: 26 December 1997
# Whom: Yukihiro Nakai <nacai@iname.com>
#
# $FreeBSD$
#
-DISTNAME= scwm-0.9
+DISTNAME= scwm-0.99.3
CATEGORIES= x11-wm
-MASTER_SITES= ftp://huis-clos.mit.edu/pub/scwm/
+MASTER_SITES= ftp://scwm.mit.edu/pub/scwm/
-MAINTAINER= nacai@iname.com
+MAINTAINER= nakai@FreeBSD.org
LIB_DEPENDS= guile.4:${PORTSDIR}/lang/guile \
- Xpm.4:${PORTSDIR}/graphics/xpm
-RUN_DEPENDS= ${X11BASE}/include/X11/pixmaps/Animator.xpm:${PORTSDIR}/graphics/scwm-icons
+ Imlib.4:${PORTSDIR}/graphics/imlib
+RUN_DEPENDS= ${X11BASE}/share/scwm/pixmaps/Animator.xpm:${PORTSDIR}/graphics/scwm-icons
+
+GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-guile-prefix=${LOCALBASE}
+CONFIGURE_ENV+= CPPFLAGS="-I${X11BASE}/include" \
+ GTK_CONFIG="${GTK_CONFIG}" \
+ GLIB_CONFIG="${GLIB_CONFIG}" \
+ LIBS="-L${LOCALBASE}/lib"
+
.if defined(MULTIBYTE)
CONFIGURE_ARGS+= --enable-multibyte=yes
-CONFIGURE_ENV+= LIBS="-lxpg4"
+CONFIGURE_ENV+= LIBS="-L${X11BASE}/lib -lxpg4"
.endif
USE_GMAKE= yes
USE_X_PREFIX= yes
MAN1= scwm.1 scwmexec.1 scwmrepl.1
-post-install:
- ${INSTALL_DATA} ${WRKSRC}/sample.scwmrc/*.scwmrc \
- ${PREFIX}/lib/X11/scwm
-
.include <bsd.port.mk>