# $NetBSD: Makefile.common,v 1.15 2002/08/25 21:51:34 jlam Exp $ DISTNAME= icewm-1.2.0 CATEGORIES= x11 wm MASTER_SITES= http://download.sourceforge.net/icewm/ MAINTAINER= packages@netbsd.org HOMEPAGE= http://icewm.sourceforge.net/ GNU_CONFIGURE= # defined USE_X11BASE= # defined USE_GMAKE= # 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" .if !exists(/usr/include/machine/apmvar.h) CONFIGURE_ARGS+= --disable-apm .endif .if ${OPSYS} == "NetBSD" .if exists(/usr/include/machine/apmvar.h) CPPFLAGS+= -DCONFIG_APM .endif CPPFLAGS+= -DSTART_XPM="\"bsd-daemon.xpm\"" .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 FAQ README TODO; do \ ${INSTALL_DATA} ${WRKSRC}/$${file} ${DOCDIR}; \ done ${INSTALL_DATA} ${WRKSRC}/doc/icewm*.html ${HTMLDIR}