summaryrefslogtreecommitdiff
path: root/x11/wmweather/Makefile
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2003-11-08 06:21:14 +0000
committerxtraeme <xtraeme@pkgsrc.org>2003-11-08 06:21:14 +0000
commitb94868dcab0f6b3bbe98caa20d5afa7c87b20a74 (patch)
tree747008b26e0c980c9116841c1d0cd1068610c845 /x11/wmweather/Makefile
parent562fdec32859947419d0212ef74ee24941b95ff4 (diff)
downloadpkgsrc-b94868dcab0f6b3bbe98caa20d5afa7c87b20a74.tar.gz
Upgrade to 2.4.2, by Soren Jacobsen via PR pkg/23384.
Changes since 1.31: * Complete rewrite by new author. * Perl no longer used * Uses curl * ~/.wmWeatherReports/ -> ~/.wmweather/ While here s/USE_X11BASE/USE_X11/, sync DESCR, MASTER_SITES and COMMENT with reality.
Diffstat (limited to 'x11/wmweather/Makefile')
-rw-r--r--x11/wmweather/Makefile28
1 files changed, 17 insertions, 11 deletions
diff --git a/x11/wmweather/Makefile b/x11/wmweather/Makefile
index fddbeef2876..317185c6689 100644
--- a/x11/wmweather/Makefile
+++ b/x11/wmweather/Makefile
@@ -1,28 +1,34 @@
-# $NetBSD: Makefile,v 1.12 2003/07/17 22:56:49 grant Exp $
+# $NetBSD: Makefile,v 1.13 2003/11/08 06:21:14 xtraeme Exp $
#
-DISTNAME= wmWeather-1.31
-WRKSRC= ${WRKDIR}/${DISTNAME}/Src
+DISTNAME= wmweather-2.4.2
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
CATEGORIES= x11
-MASTER_SITES= http://nis-www.lanl.gov/~mgh/WindowMaker/
+MASTER_SITES= http://www.godisch.de/debian/wmweather/
MAINTAINER= rh@NetBSD.org
-HOMEPAGE= http://nis-www.lanl.gov/~mgh/WindowMaker/DockApps.shtml
+HOMEPAGE= http://www.godisch.de/debian/wmweather/
COMMENT= WindowMaker DockApp showing local weather conditions
-USE_BUILDLINK2= # defined
-USE_X11BASE= # defined
-REPLACE_PERL= GrabWeather
+USE_BUILDLINK2= # defined
+USE_X11= yes
-MAKE_FLAGS+= EXTRA_LOCAL_LIBS=${EXTRA_LOCAL_LIBS}
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+
+USE_PKGINSTALL= yes
+CONFIGURE_ARGS+= --with-sysconfdir=${PKG_SYSCONFDIR}
+
+EGDIR= ${PREFIX}/share/examples/${PKGBASE}
+CONF_FILES+= ${EGDIR}/wmweather.conf ${PKG_SYSCONFDIR}/wmweather.conf
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
-EXTRA_LOCAL_LIBS= -lsocket
+LDFLAGS+= -lsocket
.endif
.include "../../graphics/xpm/buildlink2.mk"
-.include "../../lang/perl5/buildlink2.mk"
+.include "../../www/curl/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"