summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-p2p/Makefile1
-rw-r--r--net-p2p/microdc2/Makefile35
-rw-r--r--net-p2p/microdc2/distinfo3
-rw-r--r--net-p2p/microdc2/files/patch-no-man11
-rw-r--r--net-p2p/microdc2/pkg-descr7
-rw-r--r--net-p2p/microdc2/pkg-plist6
6 files changed, 63 insertions, 0 deletions
diff --git a/net-p2p/Makefile b/net-p2p/Makefile
index 4d3010da230a..f45cef03c3a7 100644
--- a/net-p2p/Makefile
+++ b/net-p2p/Makefile
@@ -63,6 +63,7 @@
SUBDIR += linux-jigdo
SUBDIR += linuxdcpp
SUBDIR += microdc
+ SUBDIR += microdc2
SUBDIR += minder
SUBDIR += mldonkey
SUBDIR += mldonkey-core
diff --git a/net-p2p/microdc2/Makefile b/net-p2p/microdc2/Makefile
new file mode 100644
index 000000000000..1df86a653afa
--- /dev/null
+++ b/net-p2p/microdc2/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: microdc
+# Date created: 2006-12-02
+# Whom: Pankov Pavel <pankov_p@mail.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= microdc2
+PORTVERSION= 0.15.3
+CATEGORIES= net-p2p
+MASTER_SITES= http://corsair626.no-ip.org/microdc/
+
+MAINTAINER= pankov_p@mail.ru
+COMMENT= A command-line based Direct Connect client
+
+USE_GCC= 3.4+
+GNU_CONFIGURE= yes
+USE_ICONV= yes
+USE_GNOME= libxml2
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= doesn't compile on FreeBSD 4.x
+.endif
+
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net-p2p/microdc2/distinfo b/net-p2p/microdc2/distinfo
new file mode 100644
index 000000000000..123fac8e7e57
--- /dev/null
+++ b/net-p2p/microdc2/distinfo
@@ -0,0 +1,3 @@
+MD5 (microdc2-0.15.3.tar.gz) = 8572bc05acb61b98227947c5ff7499c1
+SHA256 (microdc2-0.15.3.tar.gz) = 705e8d2ad101900d4b35bc98becc7eae9f845407658757ade79489f70009aa64
+SIZE (microdc2-0.15.3.tar.gz) = 638132
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..9c20e5c4e89e
--- /dev/null
+++ b/net-p2p/microdc2/pkg-plist
@@ -0,0 +1,6 @@
+bin/microdc2
+bin/tthsum
+%%NLS%%share/locale/pl/LC_MESSAGES/microdc2.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/microdc2.mo
+%%NLS%%@dirrmtry share/locale/pl/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/pl