From owner-svn-ports-all@FreeBSD.ORG Fri Mar 15 18:05:29 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 611D6FFF; Fri, 15 Mar 2013 18:05:29 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 489C32ED; Fri, 15 Mar 2013 18:05:29 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r2FI5TSK012432; Fri, 15 Mar 2013 18:05:29 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r2FI5SkP012428; Fri, 15 Mar 2013 18:05:28 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201303151805.r2FI5SkP012428@svn.freebsd.org> From: Pawel Pekala Date: Fri, 15 Mar 2013 18:05:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r314321 - in head/misc/wmweather+: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Mar 2013 18:05:29 -0000 Author: pawel Date: Fri Mar 15 18:05:28 2013 New Revision: 314321 URL: http://svnweb.freebsd.org/changeset/ports/314321 Log: - Update to version 2.13 - Add license info - Use pkg-message file to display configure tips - Support DOCS option - Give maintainership to submitter PR: ports/174099 Submitted by: nemysis Added: head/misc/wmweather+/files/ head/misc/wmweather+/files/pkg-message.in (contents, props changed) Modified: head/misc/wmweather+/Makefile (contents, props changed) head/misc/wmweather+/distinfo (contents, props changed) head/misc/wmweather+/pkg-descr (contents, props changed) Modified: head/misc/wmweather+/Makefile ============================================================================== --- head/misc/wmweather+/Makefile Fri Mar 15 17:52:36 2013 (r314320) +++ head/misc/wmweather+/Makefile Fri Mar 15 18:05:28 2013 (r314321) @@ -2,22 +2,25 @@ # $FreeBSD$ PORTNAME= wmweather+ -PORTVERSION= 2.11 -PORTREVISION= 7 +PORTVERSION= 2.13 CATEGORIES= misc windowmaker geography MASTER_SITES= SF/wmweatherplus/wmweather%2B/ DISTNAME= wmweather%2B-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= nemysis@gmx.ch COMMENT= Displays current conditions and forecasts with icons and text +LICENSE= GPLv2 + LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl \ pcre:${PORTSDIR}/devel/pcre \ tiff:${PORTSDIR}/graphics/tiff \ Hermes:${PORTSDIR}/graphics/Hermes \ png15:${PORTSDIR}/graphics/png \ jpeg:${PORTSDIR}/graphics/jpeg \ - gif.5:${PORTSDIR}/graphics/giflib + gif:${PORTSDIR}/graphics/giflib + +WRKSRC= ${WRKDIR}/wmweather+-${PORTVERSION} GNU_CONFIGURE= yes USE_ICONV= yes @@ -29,8 +32,12 @@ CONFIGURE_ARGS+= --with-libwraster=${LOC --with-xpm-includes=${LOCALBASE} \ --with-xpm-libraries=${LOCALBASE} -OPTIONS_DEFINE= WM EXAMPLES -OPTIONS_DEFAULT= WM +PORTEXAMPLES= HINTS example.conf +PORTDOCS= ChangeLog README + +SUB_FILES= pkg-message + +OPTIONS_DEFINE= DOCS EXAMPLES WM WM_DESC= Depend on Window Maker port (otherwise only libwraster) MAN1= wmweather+.1 @@ -39,45 +46,34 @@ PLIST_FILES= bin/wmweather+ .include -CFLAGS:= ${CFLAGS:C/-O[0-9]/-O0/} - .if ${PORT_OPTIONS:MWM} LIB_DEPENDS+= wraster:${PORTSDIR}/x11-wm/windowmaker .else LIB_DEPENDS+= wraster:${PORTSDIR}/x11-wm/libwraster .endif -WRKSRC= ${WRKDIR}/wmweather+-${PORTVERSION} - post-patch: - @${CP} ${WRKSRC}/wmweather+.c ${WRKSRC}/wmweather+.c.dist - @${SED} -e "s#^void usage(int i) __THROW.*#void usage(int i);#" \ - ${WRKSRC}/wmweather+.c.dist > ${WRKSRC}/wmweather+.c + @${REINPLACE_CMD} -e 's|void usage(int i) __THROW __attribute__ ((__noreturn__));|void usage(int i);|' \ + ${WRKSRC}/wmweather+.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/wmweather+ ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/wmweather+.1 ${PREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1 + +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} +.endif + .if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/HINTS ${EXAMPLESDIR}/HINTS - ${INSTALL_DATA} ${WRKSRC}/example.conf ${EXAMPLESDIR}/example.conf -PLIST_FILES+= ${EXAMPLESDIR_REL}/HINTS -PLIST_FILES+= ${EXAMPLESDIR_REL}/example.conf -PLIST_DIRS+= ${EXAMPLESDIR_REL} -PM= ${WRKDIR}/pkg-message -PKGMESSAGE= ${WRKDIR}/pkg-message + ${INSTALL_DATA} ${WRKSRC}/HINTS ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/example.conf ${EXAMPLESDIR} .endif post-install: -.if ${PORT_OPTIONS:MEXAMPLES} - @${ECHO} "===================================================" > ${PM} - @${ECHO} "A sample configuration file has been copied to" >> ${PM} - @${ECHO} "${EXAMPLESDIR}/example.conf" >> ${PM} - @${ECHO} "" >> ${PM} - @${ECHO} "Please copy it to ~/.wmweather+/conf and adjust it" >> ${PM} - @${ECHO} "to your needs!" >> ${PM} - @${ECHO} "===================================================" >> ${PM} + @${ECHO_CMD} @${CAT} ${PKGMESSAGE} -.endif + @${ECHO_CMD} .include Modified: head/misc/wmweather+/distinfo ============================================================================== --- head/misc/wmweather+/distinfo Fri Mar 15 17:52:36 2013 (r314320) +++ head/misc/wmweather+/distinfo Fri Mar 15 18:05:28 2013 (r314321) @@ -1,2 +1,2 @@ -SHA256 (wmweather%2B-2.11.tar.gz) = bab0d2d2cac65db51bb25f70b028ee7c55642119d2b38441aff65553a35566f9 -SIZE (wmweather%2B-2.11.tar.gz) = 193596 +SHA256 (wmweather%2B-2.13.tar.gz) = d15d8f491022e2f092d91a3a463b3200a4ac620ac93b0ecff796751d28e997d2 +SIZE (wmweather%2B-2.13.tar.gz) = 195094 Added: head/misc/wmweather+/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/wmweather+/files/pkg-message.in Fri Mar 15 18:05:28 2013 (r314321) @@ -0,0 +1,12 @@ +=============================================================================== + +wmweather+ has been installed. + +All options are given in the config file and in command line (CLI) + +Please copy example.conf to yours home directory and adjust it to your needs! + + mkdir ~/.wmweather+ + cp -a %%EXAMPLESDIR%%/example.conf ~/.wmweather+/conf + +=============================================================================== Modified: head/misc/wmweather+/pkg-descr ============================================================================== --- head/misc/wmweather+/pkg-descr Fri Mar 15 17:52:36 2013 (r314320) +++ head/misc/wmweather+/pkg-descr Fri Mar 15 18:05:28 2013 (r314321) @@ -1,7 +1,7 @@ -wmweather+ will download the National Weather Serivce METAR bulletins, -ANV and MRF forecasts, and any weather map for display in a WindowMaker -dockapp. Think wmweather with a smaller font, forecasts, a weather map, -and a sky condition display. +wmweather+ will download the National Weather Serivce METAR bulletins; +AVN, ETA, and MRF forecasts; and any weather map for display in a +WindowMaker dockapp. Think wmweather with a smaller font, forecasts, +a weather map, and a sky condition display. You will need to look up the METAR code for your city (a standard code used in aviation).