summaryrefslogtreecommitdiff
path: root/x11-wm/scwm/Makefile
blob: 229fecb9dc9dd017f748e43ba857b6195de82a1d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# New ports collection makefile for:   scwm
# Date created:        26 December 1997
# Whom:                Yukihiro Nakai <nacai@iname.com>
#
# $FreeBSD$
#

PORTNAME=	scwm
PORTVERSION=	0.99.6.1
CATEGORIES=	x11-wm
MASTER_SITES=	ftp://scwm.mit.edu/pub/scwm/

MAINTAINER=	nakai@FreeBSD.org

LIB_DEPENDS=	guile.6:${PORTSDIR}/lang/guile \
		Imlib.5:${PORTSDIR}/graphics/imlib \
		esd.2:${PORTSDIR}/audio/esound
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
INSTALLS_SHLIB=	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="-L${X11BASE}/lib -lxpg4"
.endif
USE_GMAKE=	yes
USE_X_PREFIX=	yes
USE_XPM=	yes

MAN1=		scwm.1 scwmexec.1 scwmrepl.1

post-install:
		${RM} -rf ${PREFIX}/share/scwm/ViaVoice

.include <bsd.port.mk>