summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-p2p/dctc-gui/Makefile10
-rw-r--r--net-p2p/dctc-gui/distinfo2
-rw-r--r--net-p2p/dctc-gui/pkg-plist1
-rw-r--r--net/dctc-gui/Makefile10
-rw-r--r--net/dctc-gui/distinfo2
-rw-r--r--net/dctc-gui/pkg-plist1
6 files changed, 12 insertions, 14 deletions
diff --git a/net-p2p/dctc-gui/Makefile b/net-p2p/dctc-gui/Makefile
index 470845ae1e06..1e3033b5fcfe 100644
--- a/net-p2p/dctc-gui/Makefile
+++ b/net-p2p/dctc-gui/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= dctc
-PORTVERSION= 0.51
-PORTREVISION= 1
+PORTVERSION= 0.53
CATEGORIES= net gnome
MASTER_SITES= http://ac2i.tzo.com/dctc/
PKGNAMESUFFIX= -gui
@@ -27,22 +26,21 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS= --with-gnome=${X11BASE} \
--with-gtk-prefix=${LOCALBASE} \
+ --enable-manual-db-detect \
--with-libiconv-prefix=${LOCALBASE}
-DOC_FILES= COPYING ChangeLog README
+DOC_FILES= COPYING ChangeLog README TODO
post-patch:
@${FIND} ${WRKSRC} -type f | ${XARGS} -n 10 -x ${PERL} -pi -e \
's|(\$$\(datadir\))/gnome|\1|; \
s|ldb-4.0|ldb4|; \
+ s|<(db.h>)|<db4/\1|; \
s|include.+<linux/sem.h>|include <sys/ipc.h>\n#include <sys/sem.h>|'
@${PERL} -pi -e 's|(hublist)|dc_\1|m' ${WRKSRC}/configure
@${PERL} -pi -e 's|(<stdio.h>.*)$$|\1\n#include <config.h>|; \
s|(cmdline.+)(hublist)|\1dc_\2|' \
${WRKSRC}/src/init_fnc.c
-.for file in bdb.c callbacks.c main.c
- @${PERL} -pi -e 's|<(db.h>)|<db4/\1|' ${WRKSRC}/src/${file}
-.endfor
post-configure:
@${ECHO_CMD} '#ifndef MSG_NOSIGNAL' >> ${CONFIGURE_WRKSRC}/config.h
diff --git a/net-p2p/dctc-gui/distinfo b/net-p2p/dctc-gui/distinfo
index ae40941cb04a..dffeae7d3356 100644
--- a/net-p2p/dctc-gui/distinfo
+++ b/net-p2p/dctc-gui/distinfo
@@ -1 +1 @@
-MD5 (dc_gui-0.51.tar.gz) = 5bf9b8e66fd50f1d940b910258542e40
+MD5 (dc_gui-0.53.tar.gz) = f26e1325e501ae29d1341407c4bf371c
diff --git a/net-p2p/dctc-gui/pkg-plist b/net-p2p/dctc-gui/pkg-plist
index 148a004eeefa..05a4f0729e52 100644
--- a/net-p2p/dctc-gui/pkg-plist
+++ b/net-p2p/dctc-gui/pkg-plist
@@ -2,6 +2,7 @@ bin/dc_gui
%%PORTDOCS%%share/doc/dctc-gui/COPYING
%%PORTDOCS%%share/doc/dctc-gui/ChangeLog
%%PORTDOCS%%share/doc/dctc-gui/README
+%%PORTDOCS%%share/doc/dctc-gui/TODO
share/gnome/help/dc_gui/C/index.html
share/gnome/help/dc_gui/C/topic.dat
share/locale/nl/LC_MESSAGES/dc_gui.mo
diff --git a/net/dctc-gui/Makefile b/net/dctc-gui/Makefile
index 470845ae1e06..1e3033b5fcfe 100644
--- a/net/dctc-gui/Makefile
+++ b/net/dctc-gui/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= dctc
-PORTVERSION= 0.51
-PORTREVISION= 1
+PORTVERSION= 0.53
CATEGORIES= net gnome
MASTER_SITES= http://ac2i.tzo.com/dctc/
PKGNAMESUFFIX= -gui
@@ -27,22 +26,21 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS= --with-gnome=${X11BASE} \
--with-gtk-prefix=${LOCALBASE} \
+ --enable-manual-db-detect \
--with-libiconv-prefix=${LOCALBASE}
-DOC_FILES= COPYING ChangeLog README
+DOC_FILES= COPYING ChangeLog README TODO
post-patch:
@${FIND} ${WRKSRC} -type f | ${XARGS} -n 10 -x ${PERL} -pi -e \
's|(\$$\(datadir\))/gnome|\1|; \
s|ldb-4.0|ldb4|; \
+ s|<(db.h>)|<db4/\1|; \
s|include.+<linux/sem.h>|include <sys/ipc.h>\n#include <sys/sem.h>|'
@${PERL} -pi -e 's|(hublist)|dc_\1|m' ${WRKSRC}/configure
@${PERL} -pi -e 's|(<stdio.h>.*)$$|\1\n#include <config.h>|; \
s|(cmdline.+)(hublist)|\1dc_\2|' \
${WRKSRC}/src/init_fnc.c
-.for file in bdb.c callbacks.c main.c
- @${PERL} -pi -e 's|<(db.h>)|<db4/\1|' ${WRKSRC}/src/${file}
-.endfor
post-configure:
@${ECHO_CMD} '#ifndef MSG_NOSIGNAL' >> ${CONFIGURE_WRKSRC}/config.h
diff --git a/net/dctc-gui/distinfo b/net/dctc-gui/distinfo
index ae40941cb04a..dffeae7d3356 100644
--- a/net/dctc-gui/distinfo
+++ b/net/dctc-gui/distinfo
@@ -1 +1 @@
-MD5 (dc_gui-0.51.tar.gz) = 5bf9b8e66fd50f1d940b910258542e40
+MD5 (dc_gui-0.53.tar.gz) = f26e1325e501ae29d1341407c4bf371c
diff --git a/net/dctc-gui/pkg-plist b/net/dctc-gui/pkg-plist
index 148a004eeefa..05a4f0729e52 100644
--- a/net/dctc-gui/pkg-plist
+++ b/net/dctc-gui/pkg-plist
@@ -2,6 +2,7 @@ bin/dc_gui
%%PORTDOCS%%share/doc/dctc-gui/COPYING
%%PORTDOCS%%share/doc/dctc-gui/ChangeLog
%%PORTDOCS%%share/doc/dctc-gui/README
+%%PORTDOCS%%share/doc/dctc-gui/TODO
share/gnome/help/dc_gui/C/index.html
share/gnome/help/dc_gui/C/topic.dat
share/locale/nl/LC_MESSAGES/dc_gui.mo