diff options
author | danfe <danfe@FreeBSD.org> | 2014-03-07 14:25:16 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2014-03-07 14:25:16 +0800 |
commit | bd0c53cc4d766b080f62db4f0f64d81ff4fae2b0 (patch) | |
tree | 0d5ef879e745142eca319892cde21cf0eadca64d /net-p2p | |
parent | a3fe8adab8f702dd9d6d3475ab60bdce458d8ec5 (diff) | |
download | freebsd-ports-gnome-bd0c53cc4d766b080f62db4f0f64d81ff4fae2b0.tar.gz freebsd-ports-gnome-bd0c53cc4d766b080f62db4f0f64d81ff4fae2b0.tar.zst freebsd-ports-gnome-bd0c53cc4d766b080f62db4f0f64d81ff4fae2b0.zip |
Resurrect net-p2p/microdc2 and unbreak the build: in the configure script,
libxml2 versions were compared algebraically (-ge), which made our current
version 280 appear smaller than checked-against 2616. It was fixed once,
by mezz@ in r225813, but not in a very good way (only for libxml 2.7).
While here, cleanup and stagify the port.
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/Makefile | 1 | ||||
-rw-r--r-- | net-p2p/microdc2/Makefile | 30 | ||||
-rw-r--r-- | net-p2p/microdc2/distinfo | 2 | ||||
-rw-r--r-- | net-p2p/microdc2/files/patch-lib-Makefile.in | 11 | ||||
-rw-r--r-- | net-p2p/microdc2/files/patch-no-man | 11 | ||||
-rw-r--r-- | net-p2p/microdc2/pkg-descr | 7 | ||||
-rw-r--r-- | net-p2p/microdc2/pkg-plist | 4 |
7 files changed, 66 insertions, 0 deletions
diff --git a/net-p2p/Makefile b/net-p2p/Makefile index 85a6d2019f37..5a08e6372fd3 100644 --- a/net-p2p/Makefile +++ b/net-p2p/Makefile @@ -55,6 +55,7 @@ SUBDIR += litecoin SUBDIR += litecoin-daemon SUBDIR += lopster + SUBDIR += microdc2 SUBDIR += minder SUBDIR += mktorrent SUBDIR += mldonkey diff --git a/net-p2p/microdc2/Makefile b/net-p2p/microdc2/Makefile new file mode 100644 index 000000000000..0615904ce607 --- /dev/null +++ b/net-p2p/microdc2/Makefile @@ -0,0 +1,30 @@ +# Created by: Pankov Pavel <pankov_p@mail.ru> +# $FreeBSD$ + +PORTNAME= microdc2 +PORTVERSION= 0.15.6 +PORTREVISION= 4 +CATEGORIES= net-p2p +MASTER_SITES= http://corsair626.no-ip.org/microdc/ + +MAINTAINER= pankov_p@mail.ru +COMMENT= Command-line based Direct Connect client + +LICENSE= GPLv2 + +CONFLICTS= tthsum-[0-9]* + +USES= iconv +GNU_CONFIGURE= yes +USE_GNOME= libxml2 + +OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes + +NLS_USES= gettext +NLS_CONFIGURE_OFF= --disable-nls + +post-patch: + @${REINPLACE_CMD} -e 's,-ge 2616,\\> 2616,' ${WRKSRC}/configure + +.include <bsd.port.mk> diff --git a/net-p2p/microdc2/distinfo b/net-p2p/microdc2/distinfo new file mode 100644 index 000000000000..552b1bac1796 --- /dev/null +++ b/net-p2p/microdc2/distinfo @@ -0,0 +1,2 @@ +SHA256 (microdc2-0.15.6.tar.gz) = d1990eb1aa52115c649466011c8163e454272250b041e480f0a521212c04bc49 +SIZE (microdc2-0.15.6.tar.gz) = 639392 diff --git a/net-p2p/microdc2/files/patch-lib-Makefile.in b/net-p2p/microdc2/files/patch-lib-Makefile.in new file mode 100644 index 000000000000..57b9cb82fc8b --- /dev/null +++ b/net-p2p/microdc2/files/patch-lib-Makefile.in @@ -0,0 +1,11 @@ +--- lib/Makefile.in.orig 2008-02-28 00:04:17.000000000 +0100 ++++ lib/Makefile.in 2008-02-28 00:04:52.000000000 +0100 +@@ -259,7 +259,7 @@ + version-etc.h version-etc.c xalloc-die.c xgethostname.h \ + xgethostname.c xsize.h xstrndup.h xstrndup.c xstrtoumax.c \ + xvasprintf.h xvasprintf.c xasprintf.c +-libgnu_a_LIBADD = @LIBOBJS@ @ALLOCA@ $(LTLIBICONV) ++libgnu_a_LIBADD = @LIBOBJS@ @ALLOCA@ + EXTRA_DIST = alloca_.h fnmatch_.h fnmatch_loop.c getopt_.h \ + getopt_int.h stdbool_.h stdint_.h + BUILT_SOURCES = $(ALLOCA_H) $(FNMATCH_H) $(GETOPT_H) $(STDBOOL_H) \ diff --git a/net-p2p/microdc2/files/patch-no-man b/net-p2p/microdc2/files/patch-no-man new file mode 100644 index 000000000000..8e0a31327f94 --- /dev/null +++ b/net-p2p/microdc2/files/patch-no-man @@ -0,0 +1,11 @@ +--- src/Makefile.in.orig Wed Nov 29 21:15:24 2006 ++++ src/Makefile.in Sun Dec 3 14:11:19 2006 +@@ -695,7 +695,7 @@ + + install-info: install-info-recursive + +-install-man: install-man1 ++install-man: + + installcheck-am: + diff --git a/net-p2p/microdc2/pkg-descr b/net-p2p/microdc2/pkg-descr new file mode 100644 index 000000000000..f153e216de8f --- /dev/null +++ b/net-p2p/microdc2/pkg-descr @@ -0,0 +1,7 @@ +microdc is a command-line based Direct Connect client that uses the +GNU Readline library for user interaction. It was developed from +ground up and does not depend on any other program. Despite the +command-line user interface, microdc was designed to be user +friendly and simple to use. + +WWW: http://corsair626.no-ip.org/microdc/ diff --git a/net-p2p/microdc2/pkg-plist b/net-p2p/microdc2/pkg-plist new file mode 100644 index 000000000000..0294f1d3ca2b --- /dev/null +++ b/net-p2p/microdc2/pkg-plist @@ -0,0 +1,4 @@ +bin/microdc2 +bin/tthsum +%%NLS%%share/locale/pl/LC_MESSAGES/microdc2.mo +%%NLS%%share/locale/sv/LC_MESSAGES/microdc2.mo |