2019-11-09 14:06:33 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.71 2019/11/09 14:06:33 fcambus Exp $
|
2000-02-28 12:20:33 +00:00
|
|
|
|
2019-11-09 14:06:33 +00:00
|
|
|
V= 1.6.2
|
2009-02-08 21:56:18 +00:00
|
|
|
COMMENT= small and fast window manager
|
2019-03-14 13:48:23 +00:00
|
|
|
DISTNAME= icewm-${V}
|
2019-08-26 19:43:45 +00:00
|
|
|
EXTRACT_SUFX= .tar.lz
|
2014-06-04 05:07:59 +00:00
|
|
|
CATEGORIES= x11
|
2000-03-24 22:11:32 +00:00
|
|
|
|
2019-03-14 13:48:23 +00:00
|
|
|
HOMEPAGE= https://www.ice-wm.org/
|
2000-02-28 12:20:33 +00:00
|
|
|
|
2019-03-14 13:48:23 +00:00
|
|
|
# LGPLv2 only
|
2019-06-13 21:53:34 +00:00
|
|
|
PERMIT_PACKAGE= Yes
|
2000-06-30 06:10:17 +00:00
|
|
|
|
2019-08-26 19:43:45 +00:00
|
|
|
WANTLIB += ${COMPILER_LIBCXX} FLAC ICE SM X11 Xcomposite Xdamage
|
2019-11-09 14:06:33 +00:00
|
|
|
WANTLIB += Xext Xfixes Xft Xinerama Xpm Xrandr Xrender ao c expat
|
2019-08-26 19:43:45 +00:00
|
|
|
WANTLIB += ffi fontconfig freetype fribidi gdk_pixbuf-2.0 gdk_pixbuf_xlib-2.0
|
|
|
|
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 iconv intl
|
|
|
|
WANTLIB += m ogg pcre sndfile vorbis vorbisenc xcb z
|
2019-03-14 13:48:23 +00:00
|
|
|
|
|
|
|
COMPILER= base-clang ports-gcc base-gcc
|
|
|
|
|
|
|
|
MASTER_SITES= https://github.com/ice-wm/icewm/releases/download/${V}/
|
2004-12-04 17:25:19 +00:00
|
|
|
|
2019-05-20 22:15:00 +00:00
|
|
|
BUILD_DEPENDS= devel/gettext,-tools \
|
2019-03-14 13:48:23 +00:00
|
|
|
textproc/asciidoc
|
2018-10-24 14:27:57 +00:00
|
|
|
|
2019-03-14 13:48:23 +00:00
|
|
|
LIB_DEPENDS= audio/libao \
|
|
|
|
audio/libsndfile \
|
|
|
|
devel/fribidi \
|
|
|
|
graphics/gdk-pixbuf2
|
2000-11-29 12:33:17 +00:00
|
|
|
|
2019-03-14 13:48:23 +00:00
|
|
|
RUN_DEPENDS= devel/desktop-file-utils
|
2008-04-09 10:15:36 +00:00
|
|
|
|
2014-06-04 05:07:59 +00:00
|
|
|
CONFIGURE_STYLE=gnu
|
2019-03-14 13:48:23 +00:00
|
|
|
CONFIGURE_ARGS= --with-libdir=${PREFIX}/share/icewm \
|
2008-04-09 10:15:36 +00:00
|
|
|
--with-cfgdir=${SYSCONFDIR}/icewm \
|
|
|
|
--with-x \
|
|
|
|
--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"
|
|
|
|
|
2019-03-14 13:48:23 +00:00
|
|
|
# make: don't know how to make %.html: (prerequisite of: icewm.html)
|
|
|
|
USE_GMAKE= Yes
|
2012-03-31 11:10:57 +00:00
|
|
|
|
2008-08-21 07:34:07 +00:00
|
|
|
pre-configure:
|
2019-03-14 13:48:23 +00:00
|
|
|
${SUBST_CMD} ${WRKSRC}/doc/icewm.adoc
|
2001-03-26 13:08:25 +00:00
|
|
|
|
2000-02-28 12:20:33 +00:00
|
|
|
.include <bsd.port.mk>
|