aboutsummaryrefslogtreecommitdiffstats
path: root/net/gift
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-10-06 19:11:56 +0800
committeredwin <edwin@FreeBSD.org>2003-10-06 19:11:56 +0800
commita3670f7462ac6c12f3292fa601c99cf9594111ef (patch)
tree4821e9de684a887942f1f11598f55ef15e1032c3 /net/gift
parent2bdec013a836d94c28836f98f99cd054511db147 (diff)
downloadfreebsd-ports-gnome-a3670f7462ac6c12f3292fa601c99cf9594111ef.tar.gz
freebsd-ports-gnome-a3670f7462ac6c12f3292fa601c99cf9594111ef.tar.zst
freebsd-ports-gnome-a3670f7462ac6c12f3292fa601c99cf9594111ef.zip
re-add port net/gift
The gift project finally makes releases again. So it's time to get it back to the ports collection. I contacted the former maintainer (lioux) but haven't got any reply yet. He is still listed as maintainer but if he doesn't like I'd take maintainership. PR: ports/56484 Submitted by: Stefan Ehmann <shoesoft@gmx.net>
Diffstat (limited to 'net/gift')
-rw-r--r--net/gift/Makefile56
-rw-r--r--net/gift/distinfo1
-rw-r--r--net/gift/pkg-descr16
-rw-r--r--net/gift/pkg-message13
-rw-r--r--net/gift/pkg-plist52
5 files changed, 138 insertions, 0 deletions
diff --git a/net/gift/Makefile b/net/gift/Makefile
new file mode 100644
index 000000000000..37855fe240d9
--- /dev/null
+++ b/net/gift/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: giFT library
+# Date created: Fri Nov 16 02:47:45 BRST 2001
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= giFT
+PORTVERSION= 0.11.4
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME:L}
+DISTNAME= ${PORTNAME:L}-${PORTVERSION}
+
+MAINTAINER= Stefan Ehmann <shoesoft@gmx.net>
+COMMENT= An OpenFT, Gnutella and FastTrack p2p network client
+
+LIB_DEPENDS= ltdl.4:${PORTSDIR}/devel/libltdl \
+ vorbis.2:${PORTSDIR}/audio/libvorbis \
+ Magick.5:${PORTSDIR}/graphics/ImageMagick
+.if defined(WITH_LIBMAGIC)
+LIB_DEPENDS+= magic.1:${PORTSDIR}/sysutils/file
+.endif
+
+USE_BZIP2= yes
+USE_REINPLACE= yes
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
+.if defined(WITH_LIBMAGIC)
+CONFIGURE_ARGS= --enable-libmagic
+.endif
+
+MAN1= giftd.1
+
+DOC_FILES= AUTHORS COPYING ChangeLog \
+ INSTALL NEWS QUICKSTART README TODO
+
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \
+ ${WRKSRC}/lib/Makefile.in
+
+post-install:
+.ifndef(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for doc in ${DOC_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+.endfor
+.endif
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/net/gift/distinfo b/net/gift/distinfo
new file mode 100644
index 000000000000..2ac7b37c8ed3
--- /dev/null
+++ b/net/gift/distinfo
@@ -0,0 +1 @@
+MD5 (gift-0.11.4.tar.bz2) = decc82159c6723be999b1306a808077f
diff --git a/net/gift/pkg-descr b/net/gift/pkg-descr
new file mode 100644
index 000000000000..628e5d6f7a5c
--- /dev/null
+++ b/net/gift/pkg-descr
@@ -0,0 +1,16 @@
+What is giFT, you ask? giFT is a modular daemon capable of abstracting the
+communication between the end user and specific filesharing protocols
+(peer-to-peer or otherwise). The giFT project differs from many other similar
+projects in that it is a distribution of a standalone platform-independent
+daemon, a library for client/frontend development, and our own homegrown
+network, OpenFT.
+
+
+The goal of this project is to ensure that user interface developers never waste
+time with the low-level details of a protocol and that network programmers never
+waste time with the user interface details. Along those same lines it allows end
+users to control which protocols they use no matter which giFT interface they
+have selected as their favorite. Any new filesharing network can be supported
+without any change to the user interface.
+
+WWW: http://gift.sourceforge.net/
diff --git a/net/gift/pkg-message b/net/gift/pkg-message
new file mode 100644
index 000000000000..20ac33156ca6
--- /dev/null
+++ b/net/gift/pkg-message
@@ -0,0 +1,13 @@
+giFT no longer contains any protocol plugins. Please install the respective
+ports: gift-fasttrack, gift-openft and gift-gnutella.
+
+After installing giFT and OpenFT you'll need to set them up.
+Be sure that you completely install any plugins you wish to use before this
+step. If you decide that you later wish to add a new plugin, you will need to
+re-run gift-setup after installation. Invocation of the setup tool is something
+like this:
+$ gift-setup
+
+Note that giFT and OpenFT will not work with the default setup, so make sure you
+read and understand all questions before answering or just pressing enter. To
+reconfigure giFT and OpenFT later, just run gift-setup again.
diff --git a/net/gift/pkg-plist b/net/gift/pkg-plist
new file mode 100644
index 000000000000..6ac6da4c68d1
--- /dev/null
+++ b/net/gift/pkg-plist
@@ -0,0 +1,52 @@
+bin/gift-setup
+bin/giftd
+include/libgift/array.h
+include/libgift/conf.h
+include/libgift/dataset.h
+include/libgift/event.h
+include/libgift/fdbuf.h
+include/libgift/file.h
+include/libgift/giftconfig.h
+include/libgift/interface.h
+include/libgift/libgift.h
+include/libgift/list.h
+include/libgift/list_lock.h
+include/libgift/log.h
+include/libgift/memory.h
+include/libgift/mime.h
+include/libgift/network.h
+include/libgift/parse.h
+include/libgift/platform.h
+include/libgift/proto/if_event_api.h
+include/libgift/proto/protocol.h
+include/libgift/proto/protocol_ver.h
+include/libgift/proto/share.h
+include/libgift/proto/share_hash.h
+include/libgift/proto/transfer_api.h
+include/libgift/stopwatch.h
+include/libgift/strobj.h
+include/libgift/tcpc.h
+include/libgift/tree.h
+lib/libgift.la
+lib/libgift.so
+lib/libgift.so.0
+lib/libgiftproto.la
+lib/libgiftproto.so
+lib/libgiftproto.so.0
+libdata/pkgconfig/libgift.pc
+%%PORTDOCS%%share/doc/giFT/AUTHORS
+%%PORTDOCS%%share/doc/giFT/COPYING
+%%PORTDOCS%%share/doc/giFT/ChangeLog
+%%PORTDOCS%%share/doc/giFT/INSTALL
+%%PORTDOCS%%share/doc/giFT/NEWS
+%%PORTDOCS%%share/doc/giFT/QUICKSTART
+%%PORTDOCS%%share/doc/giFT/README
+%%PORTDOCS%%share/doc/giFT/TODO
+%%PORTDOCS%%share/giFT/giftd.conf.template
+%%PORTDOCS%%share/giFT/mime.types
+%%PORTDOCS%%share/giFT/ui/ui.conf.template
+@dirrm include/libgift/proto
+@dirrm include/libgift
+@dirrm %%PORTDOCS%%share/doc/giFT
+@dirrm %%PORTDOCS%%share/giFT/ui
+@dirrm %%PORTDOCS%%share/giFT