pkgsrc/x11/wmweather/Makefile
joerg d26cf36e57 - fine grained X11 dependencies for packages which have either USE_IMAKE
or USE_X11BASE set, but don't include mk/x11.buildlink3.mk directly or
  via buildlink3.mks
- introduce BUILDLINK_PREFIX.libXpm as alias for BUILDLINK_PREFIX.xpm
  in the !modular case
- fix some cases where the check for libX11 couldn't work at all by using
  C++ for compilation without including the proper headers

Verified using a full X11_TYPE=xorg bulk build without additional
breakage. Discussed with salo@, wiz@ and send to packages@ for feedback.
2006-12-27 13:37:35 +00:00

34 lines
934 B
Makefile

# $NetBSD: Makefile,v 1.30 2006/12/27 13:37:43 joerg Exp $
#
DISTNAME= wmweather-2.4.2
PKGREVISION= 7
CATEGORIES= x11
MASTER_SITES= http://www.godisch.de/debian/wmweather/
MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://www.godisch.de/debian/wmweather/
COMMENT= WindowMaker DockApp showing local weather conditions
WRKSRC= ${WRKDIR}/${DISTNAME}/src
GNU_CONFIGURE= yes
USE_TOOLS+= gmake xmessage:run
CONFIGURE_ARGS+= --with-sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+= --with-xmessage=${TOOLS_PATH.xmessage}
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
CONF_FILES+= ${EGDIR}/wmweather.conf ${PKG_SYSCONFDIR}/wmweather.conf
LDFLAGS.SunOS+= -lsocket
BUILDLINK_DEPMETHOD.libXt?= build
.include "../../www/curl/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"