summaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
Diffstat (limited to 'ftp')
-rw-r--r--ftp/jigdo/Makefile18
-rw-r--r--ftp/jigdo/distinfo2
-rw-r--r--ftp/jigdo/files/extra-glibc-getopt.h23
-rw-r--r--ftp/jigdo/files/patch-scan.cc13
-rw-r--r--ftp/jigdo/pkg-plist18
-rw-r--r--ftp/jigdo/scripts/configure.jigdo3
6 files changed, 15 insertions, 62 deletions
diff --git a/ftp/jigdo/Makefile b/ftp/jigdo/Makefile
index b34d63b..61540cc 100644
--- a/ftp/jigdo/Makefile
+++ b/ftp/jigdo/Makefile
@@ -6,20 +6,19 @@
#
PORTNAME= jigdo
-PORTVERSION= 0.6.8
+PORTVERSION= 0.7.0
CATEGORIES= ftp
MASTER_SITES= http://home.in.tum.de/~atterer/jigdo/
MAINTAINER= bra@fsn.hu
-COMMENT= An utility used to retrieve very large files over the Internet
+COMMENT= A utility used to retrieve very large files over the Internet
-#BUILD_DEPENDS= libwww-config:${PORTSDIR}/www/libwww
+BUILD_DEPENDS= libwww-config:${PORTSDIR}/www/libwww
RUN_DEPENDS= ${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget
MAN1= jigdo-file.1 jigdo-lite.1 jigdo-mirror.1
USE_BZIP2= yes
-#USE_REINPLACE= yes
USE_SUBMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-libdb --disable-nls --without-gui
@@ -36,19 +35,8 @@ pre-fetch:
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
.endif
-#post-patch:
-# @${REINPLACE_CMD} -e "s/gtk-config/${GTK_CONFIG}/g" ${WRKSRC}/configure
-
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile (bad C++ code)"
-.endif
-
-.if ${OSVERSION} >= 500041
-EXTRA_PATCHES= ${FILESDIR}/extra-glibc-getopt.h
-.endif
-
post-install:
@${STRIP_CMD} ${PREFIX}/bin/jigdo-file
diff --git a/ftp/jigdo/distinfo b/ftp/jigdo/distinfo
index a2aac12..cbe0a9a 100644
--- a/ftp/jigdo/distinfo
+++ b/ftp/jigdo/distinfo
@@ -1 +1 @@
-MD5 (jigdo-0.6.8.tar.bz2) = 9f9614fa7e01be98e79445f07179c675
+MD5 (jigdo-0.7.0.tar.bz2) = a1960f7b269c1842d2013eae0abfc3eb \ No newline at end of file
diff --git a/ftp/jigdo/files/extra-glibc-getopt.h b/ftp/jigdo/files/extra-glibc-getopt.h
deleted file mode 100644
index 300584b..0000000
--- a/ftp/jigdo/files/extra-glibc-getopt.h
+++ /dev/null
@@ -1,23 +0,0 @@
---- src/glibc-getopt.h.orig Fri Dec 6 08:24:36 2002
-+++ src/glibc-getopt.h Fri Dec 6 08:29:58 2002
-@@ -37,12 +37,11 @@
- # define ELIDE_CODE
- # endif
- #endif
-+#define ELIDE_CODE
- #ifndef ELIDE_CODE
- # define opterr my_opterr
- # define optind my_optind
- # define optopt my_optopt
--#endif
--
-
- #ifdef __cplusplus
- extern "C" {
-@@ -186,5 +185,6 @@
-
- /* Make sure we later can get all the definitions and declarations. */
- #undef __need_getopt
-+#endif /* ELIDE_CODE */
-
- #endif /* getopt.h */
diff --git a/ftp/jigdo/files/patch-scan.cc b/ftp/jigdo/files/patch-scan.cc
deleted file mode 100644
index 2c1d444..0000000
--- a/ftp/jigdo/files/patch-scan.cc
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/scan.cc.orig Fri Sep 20 03:21:08 2002
-+++ src/scan.cc Fri Sep 20 03:21:36 2002
-@@ -174,8 +174,8 @@
- }
- }
- #else
--JigdoCache::JigdoCache(const string&, size_t, size_t bufLen = 128*1024,
-- ProgressReporter& pr = noReport)
-+JigdoCache::JigdoCache(const string&, size_t, size_t bufLen,
-+ ProgressReporter& pr)
- : blockLength(0), md5BlockLength(0), files(), nrOfFiles(0),
- locationPaths(), readAmount(bufLen), buffer(), reporter(pr) { }
- #endif
diff --git a/ftp/jigdo/pkg-plist b/ftp/jigdo/pkg-plist
index e289958..03eaea6 100644
--- a/ftp/jigdo/pkg-plist
+++ b/ftp/jigdo/pkg-plist
@@ -3,14 +3,14 @@ bin/jigdo-lite
bin/jigdo-mirror
%%SUB_GUI%%bin/jigdo
share/jigdo/debian-mirrors.jigdo
-@dirrm share/jigdo
-%%SUB_GUI%%share/jigdo/pixmaps/button-cross.xpm
-%%SUB_GUI%%share/jigdo/pixmaps/button-pause.xpm
-%%SUB_GUI%%share/jigdo/pixmaps/button-play.xpm
-%%SUB_GUI%%share/jigdo/pixmaps/jigdo-logo.xpm
-%%SUB_GUI%%share/jigdo/pixmaps/new.xpm
-%%SUB_GUI%%share/jigdo/pixmaps/preferences.xpm
-%%SUB_GUI%%share/jigdo/pixmaps/progress051.xpm
-%%SUB_GUI%%share/jigdo/pixmaps/quit.xpm
%%SUB_GUI%%share/jigdo/COPYING
+%%SUB_GUI%%man/man1/jigdo.1
+%%SUB_GUI%%share/jigdo/pixmaps/close.png
+%%SUB_GUI%%share/jigdo/pixmaps/jigdo-logo.png
+%%SUB_GUI%%share/jigdo/pixmaps/pause.png
+%%SUB_GUI%%share/jigdo/pixmaps/progress-green.png
+%%SUB_GUI%%share/jigdo/pixmaps/restart.png
+%%SUB_GUI%%share/jigdo/pixmaps/start.png
+%%SUB_GUI%%share/jigdo/pixmaps/stop.png
%%SUB_GUI%%@dirrm share/jigdo/pixmaps
+@dirrm share/jigdo \ No newline at end of file
diff --git a/ftp/jigdo/scripts/configure.jigdo b/ftp/jigdo/scripts/configure.jigdo
index c198af9..4b5ea3c 100644
--- a/ftp/jigdo/scripts/configure.jigdo
+++ b/ftp/jigdo/scripts/configure.jigdo
@@ -47,7 +47,8 @@ while [ "$1" ]; do
case $1 in
\"GUI\")
echo "CONFIGURE_ARGS+= --with-gui"
- echo "BUILD_DEPENDS+= gtk12-config:\${PORTSDIR}/x11-toolkits/gtk12"
+ echo "LIB_DEPENDS+= gtk-x11-2.0.200:\${PORTSDIR}/x11-toolkits/gtk20"
+ echo "MAN+= jigdo.1"
SUB_GUI=""
;;
\"DB3\")
OpenPOWER on IntegriCloud