summaryrefslogtreecommitdiff
path: root/x11-wm/kahakai/Makefile
blob: 05ddf543765389b76d788c9cf28decb9f9b5d77c (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
45
46
47
48
49
50
51
52
# New ports collection makefile for:	kahakai
# Date created:		10 March 2004
# Whom:			Greg J. <xcas@cox.net>
#
# $FreeBSD$
#

PORTNAME=	kahakai
PORTVERSION=	0.6.2
CATEGORIES=	x11-wm
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

DEPRECATED=	"Development ceased"

MAINTAINER=	xcas@cox.net
COMMENT=	Kahakai window manager

BUILD_DEPENDS=	swig:${PORTSDIR}/devel/swig13 \
	${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost
LIB_DEPENDS=	Imlib2.2:${PORTSDIR}/graphics/imlib2 \
		Xft.2:${PORTSDIR}/x11-fonts/libXft
RUN_DEPENDS=	\
	${X11BASE}/lib/X11/fonts/artwiz-fonts:${PORTSDIR}/x11-fonts/artwiz-fonts

USE_BZIP2=	yes
USE_GMAKE=	yes
USE_INC_LIBTOOL_VER=13
USE_PYTHON=	yes
USE_REINPLACE=	yes
USE_X_PREFIX=	yes
USE_GCC=	3.3

MAN1=		kahakai.1

CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=	CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
		CFLAGS=${PTHREAD_CFLAGS} \
		LDFLAGS=-L${X11BASE}/lib \
		LIBS=${PTHREAD_LIBS}

.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64"
BROKEN=		"Does not compile on amd64"
.endif

post-patch:
	@${REINPLACE_CMD} -e 's|/tmp/ktest|${X11BASE}|' \
		${WRKSRC}/data/styles/Default.kastyle.in

.include <bsd.port.post.mk>