- Update to 2.13 - Take maintainership Added file(s): - files/pkg-message.in Makefile changed: +LICENSE= GPLv2 +PORTDOCS= ChangeLog README +SUB_FILES= pkg-message +OPTIONS_DEFAULT= EXAMPLES +.if ${PORT_OPTIONS:MDOCS} Changed and refined: post-patch: do-install: .if ${PORT_OPTIONS:MEXAMPLES} pkg-descr Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports) Fix: --- wmweather+-2.13.patch begins here --- How-To-Repeat: portlint -A looks fine. port test: clean
Responsible Changed From-To: freebsd-ports-bugs->pawel I'll take it.
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 <nemysis@gmx.ch> 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 <bsd.port.options.mk> -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 <bsd.port.mk> 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). _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, with minor changes. Thanks!