2014-06-04 01:07:59 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.56 2014/06/04 05:07:59 giovanni 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
|
|
|
|
2014-01-04 04:05:24 -05:00
|
|
|
DISTNAME= icewm-1.3.8
|
2014-06-04 01:07:59 -04:00
|
|
|
REVISION= 1
|
|
|
|
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
|
2000-06-30 02:10:17 -04:00
|
|
|
|
2014-01-04 04:05:24 -05:00
|
|
|
WANTLIB += ICE SM X11 Xext Xft Xinerama Xrandr Xrender c fontconfig
|
|
|
|
WANTLIB += freetype gdk_pixbuf-2.0 gdk_pixbuf_xlib-2.0 glib-2.0
|
|
|
|
WANTLIB += gmodule-2.0 gobject-2.0 m pthread stdc++ 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
|
|
|
|
2014-01-04 04:05:24 -05:00
|
|
|
LIB_DEPENDS= graphics/gdk-pixbuf2
|
2008-04-09 06:15:36 -04:00
|
|
|
|
2014-06-04 01:07:59 -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
|
|
|
|
2012-03-31 07:10:57 -04:00
|
|
|
# XXX TODO
|
|
|
|
#CONFIGURE_ARGS+=--with-icesound=sndio
|
|
|
|
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
2014-04-11 11:25:24 -04:00
|
|
|
USE_GROFF= Yes
|
|
|
|
|
2012-03-31 07:10:57 -04:00
|
|
|
.include <bsd.port.arch.mk>
|
|
|
|
|
2014-06-04 01:07:59 -04:00
|
|
|
# XXX rendering bug on big-endian systems
|
2012-06-04 17:04:42 -04:00
|
|
|
.if ${PROPERTIES:Mle}
|
2009-03-05 03:08:02 -05:00
|
|
|
CONFIGURE_ARGS+= --enable-gradients
|
|
|
|
.endif
|
|
|
|
|
2012-03-31 07:10:57 -04:00
|
|
|
.if ${PROPERTIES:Mapm}
|
|
|
|
PATCH_LIST= patch-* apm-*
|
|
|
|
.endif
|
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>
|