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>
This commit is contained in:
Edwin Groothuis 2003-10-06 11:11:56 +00:00
parent ce9a055df7
commit d8dab432d7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=90414
10 changed files with 276 additions and 0 deletions

56
net-p2p/gift/Makefile Normal file
View File

@ -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>

1
net-p2p/gift/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (gift-0.11.4.tar.bz2) = decc82159c6723be999b1306a808077f

16
net-p2p/gift/pkg-descr Normal file
View File

@ -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/

13
net-p2p/gift/pkg-message Normal file
View File

@ -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.

52
net-p2p/gift/pkg-plist Normal file
View File

@ -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

56
net/gift/Makefile Normal file
View File

@ -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>

1
net/gift/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (gift-0.11.4.tar.bz2) = decc82159c6723be999b1306a808077f

16
net/gift/pkg-descr Normal file
View File

@ -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/

13
net/gift/pkg-message Normal file
View File

@ -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.

52
net/gift/pkg-plist Normal file
View File

@ -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