summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/code-browser/Makefile11
-rw-r--r--editors/code-browser/distinfo5
-rw-r--r--editors/code-browser/files/patch-lib:include:gtk:gtkcustom.c17
3 files changed, 10 insertions, 23 deletions
diff --git a/editors/code-browser/Makefile b/editors/code-browser/Makefile
index 953a97b75a23..d096c7b5cb3b 100644
--- a/editors/code-browser/Makefile
+++ b/editors/code-browser/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= code-browser
-PORTVERSION= 2.2
-PORTREVISION= 1
+PORTVERSION= 2.3
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -27,6 +26,7 @@ PLIST_FILES= bin/code-browser \
%%DATADIR%%/languages.cb-config \
%%DATADIR%%/preferences.cb-config
PLIST_DIRS= %%DATADIR%%
+PORTDOCS= code-browser.chm doc.css doc.html
.include <bsd.port.pre.mk>
@@ -46,7 +46,10 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/code-browser ${PREFIX}/bin
@${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/config/languages.cb-config ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/config/preferences.cb-config ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/config/*.* ${DATADIR}
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/*.* ${DOCSDIR}
+.endif
.include <bsd.port.post.mk>
diff --git a/editors/code-browser/distinfo b/editors/code-browser/distinfo
index 860acd684781..362ed7b25570 100644
--- a/editors/code-browser/distinfo
+++ b/editors/code-browser/distinfo
@@ -1,2 +1,3 @@
-MD5 (code-browser-2.2-src.tar.gz) = 9e792448b3e5ca18c07739445f597637
-SIZE (code-browser-2.2-src.tar.gz) = 467128
+MD5 (code-browser-2.3-src.tar.gz) = c2b378be5cc16542dc1c1a6abb420db7
+SHA256 (code-browser-2.3-src.tar.gz) = 08a9f15362bf7cad0097a01ff11960cd04b523aeeecd2672e3e3eefa892c1603
+SIZE (code-browser-2.3-src.tar.gz) = 545947
diff --git a/editors/code-browser/files/patch-lib:include:gtk:gtkcustom.c b/editors/code-browser/files/patch-lib:include:gtk:gtkcustom.c
deleted file mode 100644
index 77050e0eaa78..000000000000
--- a/editors/code-browser/files/patch-lib:include:gtk:gtkcustom.c
+++ /dev/null
@@ -1,17 +0,0 @@
---- lib/include/gtk/gtkcustom.c.orig Mon Jan 31 17:05:27 2005
-+++ lib/include/gtk/gtkcustom.c Mon Jan 31 17:05:43 2005
-@@ -131,11 +131,11 @@
- ///////////////////////////////////////////////////////////////////////////////
- static void gtk_custom_add (GtkContainer *container, GtkWidget *widget)
- {
-- g_return_if_fail (GTK_IS_CUSTOM (container));
-- g_return_if_fail (GTK_IS_WIDGET (widget));
--
- GtkCustom* custom;
- GtkCustomChild *child_info;
-+
-+ g_return_if_fail (GTK_IS_CUSTOM (container));
-+ g_return_if_fail (GTK_IS_WIDGET (widget));
-
- custom = GTK_CUSTOM (container);
-