2012-06-04 21:04:42 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.52 2012/06/04 21:05:36 pascal Exp $
|
2000-02-28 12:20:33 +00:00
|
|
|
|
2009-02-08 21:56:18 +00:00
|
|
|
COMMENT= small and fast window manager
|
2001-03-26 13:08:25 +00:00
|
|
|
|
2010-12-12 19:13:01 +00:00
|
|
|
DISTNAME= icewm-1.3.7
|
2010-12-19 22:03:47 +00:00
|
|
|
REVISION= 0
|
2008-04-09 10:15:36 +00:00
|
|
|
CATEGORIES= x11
|
2000-03-24 22:11:32 +00:00
|
|
|
|
2008-04-09 10:15:36 +00:00
|
|
|
HOMEPAGE= http://www.icewm.org/
|
2000-02-28 12:20:33 +00:00
|
|
|
|
2008-04-09 10:15:36 +00:00
|
|
|
# LGPLv2
|
2001-03-26 13:08:25 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-06-30 06:10:17 +00:00
|
|
|
|
2010-12-12 19:13:01 +00: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 17:25:19 +00:00
|
|
|
|
2008-04-09 10:15:36 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=icewm/}
|
2000-11-29 12:33:17 +00:00
|
|
|
|
2008-04-09 10:15:36 +00:00
|
|
|
MODULES= devel/gettext
|
2006-07-09 09:32:01 +00:00
|
|
|
|
2010-12-22 14:53:26 +00:00
|
|
|
# XXX LIB_DEPENDS are only checked directly. Indirect dependencies are not
|
|
|
|
# enough for a @depends line
|
2010-12-19 22:03:47 +00:00
|
|
|
LIB_DEPENDS= graphics/gdk-pixbuf2 \
|
|
|
|
x11/gtk+2
|
2008-04-09 10:15:36 +00:00
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
2010-12-12 19:13:01 +00:00
|
|
|
CONFIGURE_ARGS= --with-docdir=${PREFIX}/share/doc \
|
2008-04-09 10:15:36 +00: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 08:08:02 +00:00
|
|
|
|
2012-03-31 11:10:57 +00:00
|
|
|
# XXX TODO
|
|
|
|
#CONFIGURE_ARGS+=--with-icesound=sndio
|
|
|
|
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
.include <bsd.port.arch.mk>
|
|
|
|
|
2009-03-05 08:08:02 +00:00
|
|
|
# XXX rendering bug on big-endian systems
|
2012-06-04 21:04:42 +00:00
|
|
|
.if ${PROPERTIES:Mle}
|
2009-03-05 08:08:02 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-gradients
|
|
|
|
.endif
|
|
|
|
|
2012-03-31 11:10:57 +00:00
|
|
|
.if ${PROPERTIES:Mapm}
|
|
|
|
PATCH_LIST= patch-* apm-*
|
|
|
|
.endif
|
2001-03-26 13:08:25 +00:00
|
|
|
|
2008-08-21 07:34:07 +00:00
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/doc/icewm-7.html
|
2001-03-26 13:08:25 +00:00
|
|
|
|
2000-02-28 12:20:33 +00:00
|
|
|
.include <bsd.port.mk>
|