From owner-svn-ports-all@FreeBSD.ORG Fri Jun 20 15:49:30 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4970AC6F; Fri, 20 Jun 2014 15:49:30 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 29D932E7A; Fri, 20 Jun 2014 15:49:30 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5KFnU94078074; Fri, 20 Jun 2014 15:49:30 GMT (envelope-from vanilla@svn.freebsd.org) Received: (from vanilla@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5KFnTXU078072; Fri, 20 Jun 2014 15:49:29 GMT (envelope-from vanilla@svn.freebsd.org) Message-Id: <201406201549.s5KFnTXU078072@svn.freebsd.org> From: "Vanilla I. Shu" Date: Fri, 20 Jun 2014 15:49:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r358595 - head/net-mgmt/weathermap 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.18 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, 20 Jun 2014 15:49:30 -0000 Author: vanilla Date: Fri Jun 20 15:49:29 2014 New Revision: 358595 URL: http://svnweb.freebsd.org/changeset/ports/358595 QAT: https://qat.redports.org/buildarchive/r358595/ Log: 1: Stagify. 2: use @sample on pkg-plist, bump version. Approved by: portmgr@ Modified: head/net-mgmt/weathermap/Makefile head/net-mgmt/weathermap/pkg-plist Modified: head/net-mgmt/weathermap/Makefile ============================================================================== --- head/net-mgmt/weathermap/Makefile Fri Jun 20 15:46:27 2014 (r358594) +++ head/net-mgmt/weathermap/Makefile Fri Jun 20 15:49:29 2014 (r358595) @@ -3,19 +3,20 @@ PORTNAME= weathermap PORTVERSION= 1.1.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= net-mgmt MASTER_SITES= http://netmon.grnet.gr/weathermap/dist/ MAINTAINER= lippe@FreeBSD.org COMMENT= This tool displays the utilization of the network links -LIB_DEPENDS= gd:${PORTSDIR}/graphics/gd +LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd RUN_DEPENDS= p5-GD>=0:${PORTSDIR}/graphics/p5-GD \ mrtg:${PORTSDIR}/net-mgmt/mrtg -USES= perl5 +USES= perl5 shebangfix NO_BUILD= yes +SHEBANG_FILES= weathermap OPTIONS_DEFINE= WGET WGET_DESC= WGET support @@ -27,7 +28,6 @@ CONFIGURE_ARGS= --with-gd-lib=${LOCALBAS SUB_FILES= pkg-message -NO_STAGE= yes .include .if ${PORT_OPTIONS:MWGET} @@ -40,19 +40,14 @@ post-patch: ${WRKSRC}/weathermap do-install: - @${INSTALL_SCRIPT} ${WRKSRC}/weathermap ${PREFIX}/bin - @${MKDIR} ${EXAMPLESDIR} - @${MKDIR} ${PREFIX}/etc/weathermap - @${INSTALL_DATA} ${WRKSRC}/example/* ${EXAMPLESDIR} - @${INSTALL_DATA} ${WRKSRC}/example/weathermap.conf ${PREFIX}/etc/weathermap/weathermap.sample.conf - @[ -f ${PREFIX}/etc/weathermap/weathermap.conf ] || \ - ${INSTALL_DATA} ${WRKSRC}/example/weathermap.conf ${PREFIX}/etc/weathermap/weathermap.conf + @${INSTALL_SCRIPT} ${WRKSRC}/weathermap ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${ETCDIR} + @${INSTALL_DATA} ${WRKSRC}/example/* ${STAGEDIR}${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/example/weathermap.conf ${STAGEDIR}${ETCDIR}/weathermap.conf.sample .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .endif -post-install: - @${CAT} ${PKGMESSAGE} - .include Modified: head/net-mgmt/weathermap/pkg-plist ============================================================================== --- head/net-mgmt/weathermap/pkg-plist Fri Jun 20 15:46:27 2014 (r358594) +++ head/net-mgmt/weathermap/pkg-plist Fri Jun 20 15:49:29 2014 (r358595) @@ -5,7 +5,6 @@ bin/weathermap %%EXAMPLESDIR%%/overlib_mini.js %%EXAMPLESDIR%%/weathermap-background.png %%EXAMPLESDIR%%/weathermap-overlib.html -@unexec if cmp -s %%PREFIX%%/etc/weathermap/weathermap.conf %%PREFIX%%/etc/weathermap/weathermap.sample.conf; then rm %%PREFIX%%/etc/weathermap/weathermap.conf; fi -etc/weathermap/weathermap.sample.conf +@sample etc/weathermap/weathermap.conf.sample @dirrmtry etc/weathermap @dirrm %%EXAMPLESDIR%%