From owner-svn-ports-head@FreeBSD.ORG Sat Aug 31 22:47:14 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BA06AAA6; Sat, 31 Aug 2013 22:47:14 +0000 (UTC) (envelope-from jase@FreeBSD.org) 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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A6DC72836; Sat, 31 Aug 2013 22:47:14 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r7VMlEsi001653; Sat, 31 Aug 2013 22:47:14 GMT (envelope-from jase@svn.freebsd.org) Received: (from jase@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r7VMlDwN001649; Sat, 31 Aug 2013 22:47:13 GMT (envelope-from jase@svn.freebsd.org) Message-Id: <201308312247.r7VMlDwN001649@svn.freebsd.org> From: Jase Thew Date: Sat, 31 Aug 2013 22:47:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r325835 - head/irc/weechat-devel X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Aug 2013 22:47:14 -0000 Author: jase Date: Sat Aug 31 22:47:13 2013 New Revision: 325835 URL: http://svnweb.freebsd.org/changeset/ports/325835 Log: - Update to 20130831 - Pet portlint(1) - whitespace nits in Makefile and pkg-descr - Fix a typo and grammar in pkg-descr - Add pkg-install which creates a symlink for renamed Weechat binary Added: head/irc/weechat-devel/pkg-install (contents, props changed) Modified: head/irc/weechat-devel/Makefile head/irc/weechat-devel/distinfo head/irc/weechat-devel/pkg-descr (contents, props changed) Modified: head/irc/weechat-devel/Makefile ============================================================================== --- head/irc/weechat-devel/Makefile Sat Aug 31 22:25:58 2013 (r325834) +++ head/irc/weechat-devel/Makefile Sat Aug 31 22:47:13 2013 (r325835) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= weechat -PORTVERSION= 20130812 +PORTVERSION= 20130831 CATEGORIES= irc MASTER_SITES= http://perturb.me.uk/distfiles/ \ ${MASTER_SITE_LOCAL} @@ -18,14 +18,14 @@ CONFLICTS= weechat-0.3* USE_LDCONFIG= yes USES= cmake iconv -CMAKE_ARGS+= -DENABLE_GUILE=no -DENABLE_MAN=no +CMAKE_ARGS+= -DENABLE_GUILE=no CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib WANT_PERL= yes LIB_DEPENDS+= curl:${PORTSDIR}/ftp/curl \ gcrypt:${PORTSDIR}/security/libgcrypt -GITDESC= v0.4.1-164-g7dea560 +GITDESC= v0.4.1-191-g410caef GITREV!= echo "${GITDESC}" | sed -E 's/^.*-g(.{7})$$/\1/' #GITREV= 01a1316 WRKSRC= ${WRKDIR}/${PORTNAME}-${GITREV} @@ -132,10 +132,6 @@ PLIST_SUB+= LUA="@comment " .endif .if ${PORT_OPTIONS:MDOCUMENTATION} -.if defined(MAINTAINER_BUILD) -BUILD_DEPENDS+= xsltproc:${PORTSDIR}/textproc/libxslt \ - docbook-xsl>=0:${PORTSDIR}/textproc/docbook-xsl -.endif BUILD_DEPENDS+= asciidoc:${PORTSDIR}/textproc/asciidoc \ source-highlight>=3.1.5:${PORTSDIR}/textproc/source-highlight CMAKE_ARGS+= -DENABLE_DOC=yes @@ -162,6 +158,18 @@ PLIST_SUB+= ICON="" PLIST_SUB+= ICON="@comment " .endif +.if defined(MAINTAINER_MODE) +BUILD_DEPENDS+= xsltproc:${PORTSDIR}/textproc/libxslt \ + docbook-xsl>=0:${PORTSDIR}/textproc/docbook-xsl +.if empty(PORT_OPTIONS:MDOCUMENTATION) +BUILD_DEPENDS+= asciidoc:${PORTSDIR}/textproc/asciidoc \ + source-highlight>=3.1.5:${PORTSDIR}/textproc/source-highlight +.endif +CMAKE_ARGS+= -DENABLE_MAN=yes +.else +CMAKE_ARGS+= -DENABLE_MAN=no +.endif + MAN1= weechat.1 post-patch: @@ -189,7 +197,13 @@ pre-configure: @sleep 5 .endif +post-build: +.if defined(MAINTAINER_MODE) + ${CP} ${WRKSRC}/doc/en/weechat.1 ${FILESDIR}/weechat.1.new +.endif + post-install: + @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL ${INSTALL_MAN} ${FILESDIR}/weechat.1.in ${MAN1PREFIX}/man/man1/weechat.1 .include Modified: head/irc/weechat-devel/distinfo ============================================================================== --- head/irc/weechat-devel/distinfo Sat Aug 31 22:25:58 2013 (r325834) +++ head/irc/weechat-devel/distinfo Sat Aug 31 22:47:13 2013 (r325835) @@ -1,2 +1,2 @@ -SHA256 (weechat-devel-7dea560.tar.gz) = 0b35acaa1b59f29db359d730c066ed0327719ddb3705fcceef16c168802727cb -SIZE (weechat-devel-7dea560.tar.gz) = 2699990 +SHA256 (weechat-devel-410caef.tar.gz) = 83b0b7025196332af78b636b16d64ed5fa785b053556da04a7fa1fae5b78bc22 +SIZE (weechat-devel-410caef.tar.gz) = 2719277 Modified: head/irc/weechat-devel/pkg-descr ============================================================================== --- head/irc/weechat-devel/pkg-descr Sat Aug 31 22:25:58 2013 (r325834) +++ head/irc/weechat-devel/pkg-descr Sat Aug 31 22:47:13 2013 (r325835) @@ -1,9 +1,9 @@ WeeChat (Wee Enhanced Environment for Chat) is a fast and light IRC client. Everything can be done with a keyboard, and it is customizable -and extensible with scripts. For the moment, only ncurse GUI is +and extensible with scripts. For the moment, only ncurses GUI is supported by this port. -Note: this is not the official release version, this is a git snapshot, which +Note: This is not the official release version. This is a git snapshot, which may in some cases be unstable. -WWW: http://weechat.org +WWW: http://weechat.org Added: head/irc/weechat-devel/pkg-install ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/irc/weechat-devel/pkg-install Sat Aug 31 22:47:13 2013 (r325835) @@ -0,0 +1,6 @@ +#!/bin/sh +# $FreeBSD$ + +if [ "${2}" = "POST-INSTALL" ]; then + ln -sf ${PKG_PREFIX}/bin/weechat ${PKG_PREFIX}/bin/weechat-curses +fi