pkgsrc/x11/wmweather/Makefile
dholland cfc35bf0a1 Use BSD_INSTALL_* as suggested by cube to work around install problems on
old Solaris. Fixes PR 32296 Jake Kupersmith.

While here, add patch comment and use <ctype.h> correctly.
2016-06-23 18:24:07 +00:00

33 lines
920 B
Makefile

# $NetBSD: Makefile,v 1.45 2016/06/23 18:24:07 dholland Exp $
DISTNAME= wmweather-2.4.5
PKGREVISION= 2
CATEGORIES= x11
MASTER_SITES= http://people.debian.org/~godisch/wmweather/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://people.debian.org/~godisch/
COMMENT= WindowMaker DockApp showing local weather conditions
LICENSE= gnu-gpl-v2
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 "../../mk/bsd.pkg.mk"