2010-12-22 09:53:26 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.50 2010/12/22 14:53:26 espie Exp $
|
2000-02-28 07:20:33 -05:00
|
|
|
|
2009-02-08 16:56:18 -05:00
|
|
|
COMMENT= small and fast window manager
|
2001-03-26 08:08:25 -05:00
|
|
|
|
2010-12-12 14:13:01 -05:00
|
|
|
DISTNAME= icewm-1.3.7
|
2010-12-19 17:03:47 -05:00
|
|
|
REVISION= 0
|
2008-04-09 06:15:36 -04:00
|
|
|
CATEGORIES= x11
|
2000-03-24 17:11:32 -05:00
|
|
|
|
2008-04-09 06:15:36 -04:00
|
|
|
HOMEPAGE= http://www.icewm.org/
|
2000-02-28 07:20:33 -05:00
|
|
|
|
2008-04-09 06:15:36 -04:00
|
|
|
# LGPLv2
|
2001-03-26 08:08:25 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-06-30 02:10:17 -04:00
|
|
|
|
2010-12-12 14:13:01 -05:00
|
|
|
WANTLIB += ICE SM X11 Xau Xdmcp Xext Xft Xinerama Xrandr Xrender
|
|
|
|
WANTLIB += c expat fontconfig freetype gdk_pixbuf-2.0 gdk_pixbuf_xlib-2.0
|
|
|
|
WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 m png
|
|
|
|
WANTLIB += pthread pthread-stubs stdc++ xcb z
|
2004-12-04 12:25:19 -05:00
|
|
|
|
2008-04-09 06:15:36 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=icewm/}
|
2000-11-29 07:33:17 -05:00
|
|
|
|
2008-04-09 06:15:36 -04:00
|
|
|
MODULES= devel/gettext
|
2006-07-09 05:32:01 -04:00
|
|
|
|
2010-12-22 09:53:26 -05:00
|
|
|
# XXX LIB_DEPENDS are only checked directly. Indirect dependencies are not
|
|
|
|
# enough for a @depends line
|
2010-12-19 17:03:47 -05:00
|
|
|
LIB_DEPENDS= graphics/gdk-pixbuf2 \
|
|
|
|
x11/gtk+2
|
2008-04-09 06:15:36 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
2010-12-12 14:13:01 -05:00
|
|
|
CONFIGURE_ARGS= --with-docdir=${PREFIX}/share/doc \
|
2008-04-09 06:15:36 -04:00
|
|
|
--with-libdir=${PREFIX}/share/icewm \
|
|
|
|
--with-cfgdir=${SYSCONFDIR}/icewm \
|
|
|
|
--with-kdedatadir=${LOCALBASE}/share \
|
|
|
|
--with-x \
|
|
|
|
--enable-shaped-decorations \
|
|
|
|
--enable-corefonts \
|
|
|
|
--enable-i18n
|
2009-03-05 03:08:02 -05:00
|
|
|
|
|
|
|
# XXX rendering bug on big-endian systems
|
|
|
|
.if ${MACHINE_ARCH} != "hppa" && ${MACHINE_ARCH} != "m68k" && \
|
|
|
|
${MACHINE_ARCH} != "m88k" && ${MACHINE_ARCH} != "mips64" && \
|
|
|
|
${MACHINE_ARCH} != "powerpc" && ${MACHINE_ARCH} != "sparc" && \
|
|
|
|
${MACHINE_ARCH} != "sparc64"
|
|
|
|
CONFIGURE_ARGS+= --enable-gradients
|
|
|
|
.endif
|
|
|
|
|
2009-02-08 16:56:18 -05:00
|
|
|
# XXX TODO
|
|
|
|
#CONFIGURE_ARGS+=--with-icesound=sndio
|
2009-03-05 03:08:02 -05:00
|
|
|
|
2008-04-09 06:15:36 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2001-03-26 08:08:25 -05:00
|
|
|
|
2008-08-21 03:34:07 -04:00
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/doc/icewm-7.html
|
2001-03-26 08:08:25 -05:00
|
|
|
|
2000-02-28 07:20:33 -05:00
|
|
|
.include <bsd.port.mk>
|
2010-03-21 07:35:26 -04:00
|
|
|
|
|
|
|
.for m in ${MACHINE_ARCH} ${MACHINE}
|
|
|
|
.if ${APM_ARCHS:L:M$m}
|
|
|
|
PATCH_LIST= patch-* apm-*
|
|
|
|
.endif
|
|
|
|
.endfor
|