summaryrefslogtreecommitdiffstats
path: root/misc/wmweather/Makefile
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2005-02-20 00:15:27 +0000
committerkris <kris@FreeBSD.org>2005-02-20 00:15:27 +0000
commit2a08f14f7510130bf5c956787074823d020f8a2c (patch)
tree2b3646506930d6fd72ce3f19749aa50e3d5b67f1 /misc/wmweather/Makefile
parent966e51e4f602de3462fd60ffcc2a6c05fc948bee (diff)
downloadFreeBSD-ports-2a08f14f7510130bf5c956787074823d020f8a2c.zip
FreeBSD-ports-2a08f14f7510130bf5c956787074823d020f8a2c.tar.gz
Update to wmweather 2.4.3
Diffstat (limited to 'misc/wmweather/Makefile')
-rw-r--r--misc/wmweather/Makefile24
1 files changed, 14 insertions, 10 deletions
diff --git a/misc/wmweather/Makefile b/misc/wmweather/Makefile
index 90da2a4..ee1240c 100644
--- a/misc/wmweather/Makefile
+++ b/misc/wmweather/Makefile
@@ -4,27 +4,31 @@
#
# $FreeBSD$
-PORTNAME= wmWeather
-PORTVERSION= 1.31
-PORTREVISION= 1
+PORTNAME= wmweather
+PORTVERSION= 2.4.3
CATEGORIES= misc windowmaker
-MASTER_SITES= http://nis-www.lanl.gov/~mgh/WindowMaker/
+MASTER_SITES= http://www.godisch.de/debian/wmweather/
MAINTAINER= kris@FreeBSD.org
COMMENT= A WMaker dockapp which displays meteorological data for your city
-WRKSRC= ${WRKDIR}/${DISTNAME}/Src
+LIB_DEPENDS= curl.3:${PORTSDIR}/ftp/curl
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_XPM= yes
-ALL_TARGET= clean all
-MAN1= wmWeather.1
+MAN1= wmweather.1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/wmWeather ${PREFIX}/bin/
- ${INSTALL_SCRIPT} ${WRKSRC}/GrabWeather ${PREFIX}/bin/GrabWeather
- ${INSTALL_MAN} ${WRKSRC}/wmWeather.1 ${PREFIX}/man/man1/
+ ${INSTALL_PROGRAM} ${WRKSRC}/wmweather ${PREFIX}/bin/
+ ${LN} ${PREFIX}/bin/wmweather ${PREFIX}/bin/wmWeather
+ ${INSTALL_MAN} ${WRKSRC}/wmweather.1 ${PREFIX}/man/man1/
+ ${INSTALL_DATA} -m 644 ${WRKSRC}/wmweather.conf ${PREFIX}/etc/wmweather.conf.sample
+ test -f ${PREFIX}/etc/wmweather.conf || ${CP} ${PREFIX}/etc/wmweather.conf.sample ${PREFIX}/etc/wmweather.conf
.include <bsd.port.mk>
OpenPOWER on IntegriCloud