pkgsrc/wm/icewm/Makefile.common
joerg 58c3144236 Mechanically replace all includes of buildlink3.mk of the following
packages with the modular Xorg equivalent. Those are falling back
to the old location by default, so this commmit doesn't change
dependencies.

graphics/xpm ==> x11/libXpm
fonts/Xft2 ==> x11/libXft
x11/Xfixes ==> x11/libXfixes
x11/xcursor ==> x11/libXcursor
x11/Xrender ==> x11/libXrender
x11/Xrandr ==> libXrandr
2006-12-15 20:32:52 +00:00

68 lines
1.8 KiB
Makefile

# $NetBSD: Makefile.common,v 1.57 2006/12/15 20:33:02 joerg Exp $
DISTNAME= icewm-1.2.27
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++
.include "../../mk/bsd.prefs.mk"
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+= --with-cfgdir=${PKG_SYSCONFDIR:Q}
.if !exists(${X11BASE}/include/X11/extensions/Xinerama.h)
CONFIGURE_ARGS+= --disable-xinerama
.endif
MAKE_FLAGS+= LOCDIR=${PREFIX}/${PKGLOCALEDIR}/locale
PKG_SYSCONFSUBDIR= icewm
.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD"
CXXFLAGS+= -DSTART_PIXMAP="\"bsd-daemon.xpm\""
.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} ${DOCDIR}
${INSTALL_DATA_DIR} ${HTMLDIR}
set -e; \
for file in BUGS CHANGES COPYING README README.wm-session TODO; do \
${INSTALL_DATA} ${WRKSRC}/"$${file}" ${DOCDIR}; \
done
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${HTMLDIR}
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../x11/libXft/buildlink3.mk"
.include "../../x11/libXrandr/buildlink3.mk"