git: 954bcdd3fdd5 - main - devel/silentbob: Update to 3.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 09 Aug 2023 08:58:02 UTC
The branch main has been updated by tota: URL: https://cgit.FreeBSD.org/ports/commit/?id=954bcdd3fdd5eca9dbbd37d1906e58955a70d42b commit 954bcdd3fdd5eca9dbbd37d1906e58955a70d42b Author: TAKATSU Tomonari <tota@FreeBSD.org> AuthorDate: 2023-08-05 10:07:07 +0000 Commit: TAKATSU Tomonari <tota@FreeBSD.org> CommitDate: 2023-08-09 08:56:58 +0000 devel/silentbob: Update to 3.2 Reported by: portscout --- devel/silentbob/Makefile | 23 +++++++++++----------- devel/silentbob/distinfo | 5 +++-- devel/silentbob/files/patch-include_darray.h | 2 +- .../{patch-src_Sblib.cxx => patch-src_Sblib.cpp} | 6 +++--- .../files/{patch-src_fs.cxx => patch-src_fs.cpp} | 6 +++--- devel/silentbob/files/patch-src_wit.cxx | 11 ----------- 6 files changed, 21 insertions(+), 32 deletions(-) diff --git a/devel/silentbob/Makefile b/devel/silentbob/Makefile index 0ec917a79190..37df6a0a9e18 100644 --- a/devel/silentbob/Makefile +++ b/devel/silentbob/Makefile @@ -1,28 +1,27 @@ PORTNAME= silentbob -PORTVERSION= 3.0 -PORTREVISION= 1 +PORTVERSION= 3.2 CATEGORIES= devel -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}2/${PORTNAME}-${PORTVERSION:C@\.[0-9]+$@@}/ +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}3/ MAINTAINER= tota@FreeBSD.org COMMENT= Yet another sourcecode indexing tool -WWW= http://silentbob.sourceforge.net/ +WWW= https://silentbob.sourceforge.net/ LICENSE= GPLv2 -USES= cmake - -PORTDOCS= README PLIST_FILES= bin/silentbob +PORTDOCS= README OPTIONS_DEFINE= DOCS -post-patch: - @${RM} ${WRKSRC}/CMakeCache.txt - @${REINPLACE_CMD} -e '/lib\/silent_bob/s|/usr|${PREFIX}|' \ - ${WRKSRC}/src/init.cxx +do-build: + @(cd ${BUILD_WRKSRC} && \ + ${CXX} ${CXXFLAGS} src/*.cpp -Iinclude -o silentbob) + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/silentbob ${STAGEDIR}${PREFIX}/bin -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} diff --git a/devel/silentbob/distinfo b/devel/silentbob/distinfo index 62c30e8eacda..d855c0cc8911 100644 --- a/devel/silentbob/distinfo +++ b/devel/silentbob/distinfo @@ -1,2 +1,3 @@ -SHA256 (silentbob-3.0.tar.gz) = 2a299e9dde5b15efb8ff67bbe2afffb7755704d3cbd4cb8a5b3fcd2dac4b4a5a -SIZE (silentbob-3.0.tar.gz) = 92413 +TIMESTAMP = 1691222121 +SHA256 (silentbob-3.2.tar.gz) = c0574139117bde749890c2865d3a6ffb9cd34973ec63e135fcc2dec974c15e5f +SIZE (silentbob-3.2.tar.gz) = 49990 diff --git a/devel/silentbob/files/patch-include_darray.h b/devel/silentbob/files/patch-include_darray.h index 5584522df2c3..1a66e9a5afe6 100644 --- a/devel/silentbob/files/patch-include_darray.h +++ b/devel/silentbob/files/patch-include_darray.h @@ -1,4 +1,4 @@ ---- include/darray.h.orig 2013-11-27 15:00:46 UTC +--- include/darray.h.orig 2023-08-03 02:03:45 UTC +++ include/darray.h @@ -6,7 +6,7 @@ */ diff --git a/devel/silentbob/files/patch-src_Sblib.cxx b/devel/silentbob/files/patch-src_Sblib.cpp similarity index 63% rename from devel/silentbob/files/patch-src_Sblib.cxx rename to devel/silentbob/files/patch-src_Sblib.cpp index ec5000f5af03..533ab7ab4bbc 100644 --- a/devel/silentbob/files/patch-src_Sblib.cxx +++ b/devel/silentbob/files/patch-src_Sblib.cpp @@ -1,6 +1,6 @@ ---- src/Sblib.cxx.orig 2013-11-27 15:00:47 UTC -+++ src/Sblib.cxx -@@ -125,7 +125,7 @@ int sblib_find (const char * path, const +--- src/Sblib.cpp.orig 2023-08-03 02:03:35 UTC ++++ src/Sblib.cpp +@@ -125,7 +125,7 @@ int sblib_find (const char * path, const char * name, lseek (fd, 0, SEEK_END); dup2 (devnull, 2); dup2 (fd, 1); diff --git a/devel/silentbob/files/patch-src_fs.cxx b/devel/silentbob/files/patch-src_fs.cpp similarity index 59% rename from devel/silentbob/files/patch-src_fs.cxx rename to devel/silentbob/files/patch-src_fs.cpp index 25740c1992c0..ad09c2def7b5 100644 --- a/devel/silentbob/files/patch-src_fs.cxx +++ b/devel/silentbob/files/patch-src_fs.cpp @@ -1,6 +1,6 @@ ---- src/fs.cxx.orig 2013-11-27 15:00:47 UTC -+++ src/fs.cxx -@@ -110,7 +110,7 @@ __export int logToFile (char * fileName, +--- src/fs.cpp.orig 2023-08-03 02:03:35 UTC ++++ src/fs.cpp +@@ -110,7 +110,7 @@ __export int logToFile (char * fileName, char * fmt, . return 0; } diff --git a/devel/silentbob/files/patch-src_wit.cxx b/devel/silentbob/files/patch-src_wit.cxx deleted file mode 100644 index 91c32189370a..000000000000 --- a/devel/silentbob/files/patch-src_wit.cxx +++ /dev/null @@ -1,11 +0,0 @@ ---- src/wit.cxx.orig 2013-11-27 15:00:47 UTC -+++ src/wit.cxx -@@ -18,7 +18,7 @@ int what_is_this (char * d_op, char ch) - - d_words_count = words_count (d_op); - -- if (words_count <= 0) -+ if (d_words_count <= 0) - return OT::Other; - - if (d_words_count == 1) {