# $NetBSD: Makefile.common,v 1.30 2003/12/28 16:10:04 xtraeme Exp $ DISTNAME= icewm-1.2.13 CATEGORIES= x11 wm MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=icewm/} MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://icewm.sourceforge.net/ GNU_CONFIGURE= # defined USE_BUILDLINK2= yes USE_X11= # defined USE_GMAKE= # defined USE_PKGINSTALL= yes USE_PKGLOCALEDIR= # defined BUILD_USES_MSGFMT= # defined DISTINFO_FILE= ${.CURDIR}/../../wm/icewm/distinfo FILESDIR= ${.CURDIR}/../../wm/icewm/files PATCHDIR= ${.CURDIR}/../../wm/icewm/patches .include "../../mk/bsd.prefs.mk" CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} CONFIGURE_ARGS+= --with-cfgdir=${PKG_SYSCONFDIR} .if !exists(${X11BASE}/include/X11/extensions/Xinerama.h) CONFIGURE_ARGS+= --disable-xinerama .endif PKG_SYSCONFSUBDIR= icewm .if ${OPSYS} == "FreeBSD" || ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD" CPPFLAGS+= -DSTART_PIXMAP=\"\\\"bsd-daemon.xpm\\\"\" .endif .if ${OPSYS} == "NetBSD" CONFIGURE_ARGS+= --with-unicode-set=utf-32 .endif DOCDIR= ${PREFIX}/share/doc/icewm HTMLDIR= ${PREFIX}/share/doc/html/icewm INSTALL_TARGET= install-base install-nls post-extract: ${CP} ${FILES} ${FILESDIR}/bsd-daemon.xpm ${WRKSRC}/lib/taskbar post-install: ${INSTALL_DATA_DIR} ${DOCDIR} ${HTMLDIR} 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 "../../converters/libiconv/buildlink2.mk" .include "../../devel/gettext-lib/buildlink2.mk" .include "../../fonts/Xft2/buildlink2.mk"