Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Aug 2013 22:47:13 +0000 (UTC)
From:      Jase Thew <jase@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r325835 - head/irc/weechat-devel
Message-ID:  <201308312247.r7VMlDwN001649@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308312247.r7VMlDwN001649>