freebsd-ports/x11-wm/kahakai/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

61 lines
1.5 KiB
Makefile

# New ports collection makefile for: kahakai
# Date created: 10 March 2004
# Whom: Greg J. <xcas@cox.net>
#
# $FreeBSD$
#
PORTNAME= kahakai
PORTVERSION= 0.6.2
PORTREVISION= 3
CATEGORIES= x11-wm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
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.3:${PORTSDIR}/graphics/imlib2 \
Xft.2:${PORTSDIR}/x11-fonts/libXft
RUN_DEPENDS= \
${X11BASE}/lib/X11/fonts/artwiz-fonts:${PORTSDIR}/x11-fonts/artwiz-fonts
DEPRECATED= "Development ceased"
USE_BZIP2= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:13:inc
USE_PYTHON= yes
USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_GCC= 3.4
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} == "alpha"
BROKEN= "Does not compile on alpha 4.x"
.endif
post-patch:
@${REINPLACE_CMD} -e 's|/tmp/ktest|${X11BASE}|' \
${WRKSRC}/data/styles/Default.kastyle.in
@${REINPLACE_CMD} -e 's|bool max|bool wmax|' \
${WRKSRC}/src/Window.hh
@${REINPLACE_CMD} -e 's|flags.max|flags.wmax|g' \
${WRKSRC}/src/*.cc
pre-install:
@${REINPLACE_CMD} -e 's|^None|globals()["None"]|' \
${WRKSRC}/src/kahakai.py
.include <bsd.port.post.mk>