Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jan 2014 06:49:19 +0000 (UTC)
From:      TAKATSU Tomonari <tota@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r338361 - in head/devel/silentbob: . files
Message-ID:  <201401010649.s016nJ4w004860@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tota
Date: Wed Jan  1 06:49:18 2014
New Revision: 338361
URL: http://svnweb.freebsd.org/changeset/ports/338361

Log:
  - Update to 3.0
  - Support STAGEDIR
  - Update LICENSE
  - Adapt to new options framework
  - Replace tab with a single space after WWW: in pkg-descr

Added:
  head/devel/silentbob/files/patch-src-Sblib.cxx
     - copied, changed from r338360, head/devel/silentbob/files/patch-Sblib.cxx
Deleted:
  head/devel/silentbob/files/patch-Sblib.cxx
Modified:
  head/devel/silentbob/Makefile
  head/devel/silentbob/distinfo
  head/devel/silentbob/pkg-descr

Modified: head/devel/silentbob/Makefile
==============================================================================
--- head/devel/silentbob/Makefile	Wed Jan  1 06:34:27 2014	(r338360)
+++ head/devel/silentbob/Makefile	Wed Jan  1 06:49:18 2014	(r338361)
@@ -2,32 +2,33 @@
 # $FreeBSD$
 
 PORTNAME=	silentbob
-PORTVERSION=	2.4.2
+PORTVERSION=	3.0
 CATEGORIES=	devel
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}2/${PORTNAME}-2.4/
+MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}2/${PORTNAME}-${PORTVERSION:C@\.[0-9]+$@@}/
 
 MAINTAINER=	tota@FreeBSD.org
 COMMENT=	Yet another sourcecode indexing tool
 
-USES=		cmake
+LICENSE=	GPLv2
 
-LICENSE=	GPLv1
-LICENSE_FILE=	${WRKSRC}/COPYING
+USES=		cmake:outsource
 
-PORTDOCS=	*
-PLIST_FILES=	bin/bob
+PORTDOCS=	README
+PLIST_FILES=	bin/silentbob
+
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.options.mk>
 
-NO_STAGE=	yes
 post-patch:
 	@${RM} ${WRKSRC}/CMakeCache.txt
 	@${REINPLACE_CMD} -e 's|/usr/lib/silent_bob/|${PREFIX}/lib/silent_bob/|' \
 		${WRKSRC}/src/init.cxx
 
+.if ${PORT_OPTIONS:MDOCS}
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>

Modified: head/devel/silentbob/distinfo
==============================================================================
--- head/devel/silentbob/distinfo	Wed Jan  1 06:34:27 2014	(r338360)
+++ head/devel/silentbob/distinfo	Wed Jan  1 06:49:18 2014	(r338361)
@@ -1,2 +1,2 @@
-SHA256 (silentbob-2.4.2.tar.gz) = 0c8eb706557d52d04bcfd3e9766599bf7d765a5f29224235a41ab3534b592a7c
-SIZE (silentbob-2.4.2.tar.gz) = 392116
+SHA256 (silentbob-3.0.tar.gz) = 2a299e9dde5b15efb8ff67bbe2afffb7755704d3cbd4cb8a5b3fcd2dac4b4a5a
+SIZE (silentbob-3.0.tar.gz) = 92413

Copied and modified: head/devel/silentbob/files/patch-src-Sblib.cxx (from r338360, head/devel/silentbob/files/patch-Sblib.cxx)
==============================================================================
--- head/devel/silentbob/files/patch-Sblib.cxx	Wed Jan  1 06:34:27 2014	(r338360, copy source)
+++ head/devel/silentbob/files/patch-src-Sblib.cxx	Wed Jan  1 06:49:18 2014	(r338361)
@@ -1,6 +1,6 @@
---- sblib/Sblib.cxx.orig	2010-01-11 21:35:00.000000000 +0900
-+++ sblib/Sblib.cxx	2010-02-12 20:11:43.000000000 +0900
-@@ -293,7 +293,7 @@
+--- src/Sblib.cxx.orig	2013-11-28 00:00:47.000000000 +0900
++++ src/Sblib.cxx	2013-12-03 11:42:09.000000000 +0900
+@@ -125,7 +125,7 @@
  			lseek (fd, 0, SEEK_END);
  		dup2 (devnull, 2);
  		dup2 (fd, 1);

Modified: head/devel/silentbob/pkg-descr
==============================================================================
--- head/devel/silentbob/pkg-descr	Wed Jan  1 06:34:27 2014	(r338360)
+++ head/devel/silentbob/pkg-descr	Wed Jan  1 06:49:18 2014	(r338361)
@@ -14,4 +14,4 @@ features in one package.
 In some way it can be viewed as a superset of ctags, cscope and
 ctree.
 
-WWW:	http://silentbob.sourceforge.net/
+WWW: http://silentbob.sourceforge.net/



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