ports/50853: Update port: misc/wmweather+ Fixed dependencies, pkg-list, example
harald.wille at students.jku.at
harald.wille at students.jku.at
Sat Apr 12 10:20:07 UTC 2003
>Number: 50853
>Category: ports
>Synopsis: Update port: misc/wmweather+ Fixed dependencies, pkg-list, example
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Apr 12 03:20:05 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Wille Harald
>Release: FreeBSD 4.8-RC i386
>Organization:
>Environment:
System: FreeBSD z465-033-043.Raab-Heim.Uni-Linz.AC.AT 4.8-RC FreeBSD 4.8-RC #1: Wed Mar 5 22:53:10 CET 2003 root at z465-033-043.Raab-Heim.Uni-Linz.AC.AT:/usr/obj/usr/src/sys/HYPERDRIVE i386
>Description:
Fixed dependencies and the pkg-plist. Also added a configuration example for a METAR station, radar and a weather forecast.
>How-To-Repeat:
>Fix:
--- Makefile.patch begins here ---
--- Makefile.orig Sat Apr 12 11:46:25 2003
+++ Makefile Sat Apr 12 11:48:58 2003
@@ -1,6 +1,6 @@
# New ports collection makefile for: wmweather+-2.4
# Date created: 11 April 2003
-# Whom: Harald Wille <harald.wille at students.jku.at>
+# Whom: Harald Wille <harald.wille at students.jku.at>
#
# $FreeBSD: ports/misc/wmweather+/Makefile,v 1.1 2003/04/11 20:37:09 nork Exp $
@@ -13,8 +13,22 @@
MAINTAINER= harald.wille at students.jku.at
COMMENT= Think wmweather with forecasts, weather map, and a sky cond. display
+LIB_DEPENDS= www[a-z]+:${PORTSDIR}/www/libwww \
+ xmltok:${PORTSDIR}/www/libwww \
+ xmlparse:${PORTSDIR}/www/libwww \
+ wraster:${PORTSDIR}/x11-wm/windowmaker \
+ pcre:${PORTSDIR}/devel/pcre \
+ Xpm:${PORTSDIR}/graphics/xpm \
+ tiff:${PORTSDIR}/graphics/tiff \
+ Hermes:${PORTSDIR}/graphics/Hermes \
+ png:${PORTSDIR}/graphics/png \
+ jpeg:${PORTSDIR}/graphics/jpeg \
+ ungif:${PORTSDIR}/graphics/libungif \
+ iconv:${PORTSDIR}/converters/libiconv
+
GNU_CONFIGURE= yes
USE_X_PREFIX= yes
+USE_XLIB= yes
USE_XPM= yes
MAN1= wmweather+.1
@@ -22,5 +36,19 @@
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmweather+ ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/wmweather+.1 ${PREFIX}/man/man1
+
+post-install:
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/example.conf ${EXAMPLESDIR}/example.conf
+
+ @${ECHO} ""
+ @${ECHO} "================================================="
+ @${ECHO} "Sample configuration file has been copied to"
+ @${ECHO} "${EXAMPLESDIR}/example.conf"
+ @${ECHO} ""
+ @${ECHO} "Please copy it to your homedir into .wmweather+"
+ @${ECHO} "as conf and adjust it to your needs!"
+ @${ECHO} "================================================="
+ @${ECHO} ""
.include <bsd.port.mk>
--- Makefile.patch ends here ---
--- pkg-plist.patch begins here ---
--- pkg-plist.orig Sat Apr 12 07:41:14 2003
+++ pkg-plist Sat Apr 12 07:51:56 2003
@@ -1 +1,3 @@
bin/wmweather+
+%%EXAMPLESDIR%%/example.conf
+ at dirrm %%EXAMPLESDIR%%
--- pkg-plist.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list