pkgsrc/wm/icewm/Makefile.common
ryoon 25bfe0bcf6 Update to 1.2.38pre2
* Fix wrong color on NetBSD/evbearmv6hf-el with Yasushi Oshima's patch

Chagnelog:
1.2.38pre2:
	- various bug fixes

1.2.38pre1:
	- xinerama fixes
        - app-group transient window implementation
	- FreeBSD ACPI support - Alexander Motin (amotin)

1.2.37:
	- fix centering of transient windows over parents (Bert Wesarg)
	- check if window is allowed to be moved, before starting movement (Bert Wesarg)
	- fix key handling on buttons

1.2.36:
	- add option TaskBarFullscreenAutoShow (default = 1)

1.2.36pre2: 2008-08-17
	- regrab keyboard bindings when keyboard mapping changes

1.2.36pre1: 2008-08-07
	- fix unresponsive taskbar when PassFirstClickToClient=0
	- add support for sysfs interface (instead of proc) for battery
          status (initial code by Santiago Garcia Mantinan)
	- fix maximized window repositioning on fullscreen toggle
	- bug 1852567 - make searching for icons more consistent (iconPath first,
          search each directory first for all possible types - xpm, png)
	- Italian translation update
	- Korean translation update
	- translation cleanup: converted .po files to UTF-8
2014-01-05 12:29:33 +00:00

81 lines
2.3 KiB
Text

# $NetBSD: Makefile.common,v 1.67 2014/01/05 12:29:33 ryoon Exp $
#
# used by wm/icewm/Makefile
# used by wm/icewm-imlib/Makefile
DISTNAME= icewm-1.2.38pre2
CATEGORIES= x11 wm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=icewm/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.icewm.org/
GNU_CONFIGURE= yes
USE_TOOLS+= gmake msgfmt
USE_PKGLOCALEDIR= yes
DISTINFO_FILE= ${.CURDIR}/../../wm/icewm/distinfo
FILESDIR= ${.CURDIR}/../../wm/icewm/files
PATCHDIR= ${.CURDIR}/../../wm/icewm/patches
CONFIGURE_ARGS+= --enable-gradients
CONFIGURE_ARGS+= --enable-antialiasing
USE_LANGUAGES= c c++
PKG_SYSCONFSUBDIR= icewm
.include "../../mk/bsd.prefs.mk"
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+= --with-cfgdir=${PKG_SYSCONFDIR:Q}
.if ${X11_TYPE} != "native"
.include "../../x11/libXinerama/buildlink3.mk"
.elif !exists(${X11BASE}/include/X11/extensions/Xinerama.h)
CONFIGURE_ARGS+= --disable-xinerama
.endif
MAKE_FLAGS+= LOCDIR=${PREFIX}/${PKGLOCALEDIR}/locale
PKG_SYSCONFSUBDIR= icewm
.if ${OPSYS} == "NetBSD" && (!exists(/usr/include/machine/apmvar.h) || \
(${MACHINE_ARCH} == "sparc64" && !exists(/usr/include/sparc/apmvar.h)))
SUBST_CLASSES+= apm
SUBST_STAGE.apm= post-configure
SUBST_FILES.apm= src/config.h
SUBST_SED.apm= -e 's,define CONFIG_APPLET_APM 1,undef CONFIG_APPLET_APM,'
SUBST_MESSAGE.apm= Disable APM applet.
.endif
.if ${OPSYS} == "NetBSD"
. if !empty(OS_VERSION:M1.*)
CONFIGURE_ARGS+= --disable-i18n
. else
CONFIGURE_ARGS+= --with-unicode-set=utf-32
. include "../../converters/libiconv/buildlink3.mk"
. endif
.else
. include "../../converters/libiconv/buildlink3.mk"
.endif
LIBS.SunOS+= -lintl
DOCDIR= ${PREFIX}/share/doc/icewm
HTMLDIR= ${PREFIX}/share/doc/icewm/html
INSTALL_TARGET= install-base install-nls
post-extract:
cp ${FILESDIR}/bsd-daemon.xpm ${WRKSRC}/lib/taskbar
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR}
set -e; \
for file in BUGS CHANGES COPYING README README.wm-session TODO; do \
${INSTALL_DATA} ${WRKSRC}/"$${file}" ${DESTDIR}${DOCDIR}; \
done
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DESTDIR}${HTMLDIR}
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../x11/libXft/buildlink3.mk"
.include "../../x11/libXrandr/buildlink3.mk"