aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/gift-openft
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-10-06 19:32:43 +0800
committeredwin <edwin@FreeBSD.org>2003-10-06 19:32:43 +0800
commit542afd2937b0495552913fcaf29c47a6136fb667 (patch)
tree777fc47c55bd4ea93e5b4eede8360fed8c39d17e /net-p2p/gift-openft
parent53b3cc0f997579974374e2ea075e18cfecae6e7e (diff)
downloadfreebsd-ports-gnome-542afd2937b0495552913fcaf29c47a6136fb667.tar.gz
freebsd-ports-gnome-542afd2937b0495552913fcaf29c47a6136fb667.tar.zst
freebsd-ports-gnome-542afd2937b0495552913fcaf29c47a6136fb667.zip
new port: net/gift-openft
add new port: net/gift-openft - An OpenFT plugin for gift This is the first of three available gift plugins (at the moment). As soon as gift gets commited I'll send PRs for gift-gnutella and gift-fasttrack. PR: ports/56485 Submitted by: Stefan Ehmann <shoesoft@gmx.net>
Diffstat (limited to 'net-p2p/gift-openft')
-rw-r--r--net-p2p/gift-openft/Makefile40
-rw-r--r--net-p2p/gift-openft/distinfo1
-rw-r--r--net-p2p/gift-openft/files/patch-configure20
-rw-r--r--net-p2p/gift-openft/pkg-descr3
-rw-r--r--net-p2p/gift-openft/pkg-plist14
5 files changed, 78 insertions, 0 deletions
diff --git a/net-p2p/gift-openft/Makefile b/net-p2p/gift-openft/Makefile
new file mode 100644
index 000000000000..6b9a4ba4aa97
--- /dev/null
+++ b/net-p2p/gift-openft/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: giFT-OpenFT
+# Date created: 2003-09-04
+# Whom: Stefan Ehmann <shoesoft@gmx.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= giFT-OpenFT
+PORTVERSION= 0.2.1.0
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= gift
+DISTNAME= ${PORTNAME:L}-${PORTVERSION}
+
+MAINTAINER= shoesoft@gmx.net
+COMMENT= An OpenFT plugin for giFT
+
+LIB_DEPENDS= gift.0:${PORTSDIR}/net/gift \
+ db3.3:${PORTSDIR}/databases/db3
+
+USE_BZIP2= yes
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
+
+DOC_FILES= AUTHORS COPYING ChangeLog \
+ INSTALL NEWS README TODO
+
+post-install:
+.ifndef(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for doc in ${DOC_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/net-p2p/gift-openft/distinfo b/net-p2p/gift-openft/distinfo
new file mode 100644
index 000000000000..6c7fd420eb6b
--- /dev/null
+++ b/net-p2p/gift-openft/distinfo
@@ -0,0 +1 @@
+MD5 (gift-openft-0.2.1.0.tar.bz2) = f4335559174ca9f170d3ad6036579a76
diff --git a/net-p2p/gift-openft/files/patch-configure b/net-p2p/gift-openft/files/patch-configure
new file mode 100644
index 000000000000..b47dabfcd320
--- /dev/null
+++ b/net-p2p/gift-openft/files/patch-configure
@@ -0,0 +1,20 @@
+--- configure.orig Fri Sep 5 01:16:52 2003
++++ configure Fri Sep 5 01:16:58 2003
+@@ -8710,7 +8710,7 @@
+ LIBS="$LIBS -l$dbname"
+ echo "$as_me:$LINENO: checking for libdb (-l$dbname)" >&5
+ echo $ECHO_N "checking for libdb (-l$dbname)... $ECHO_C" >&6
+-if test "${found_libdb+set}" = set; then
++if test "${found_libdb}+set" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ if test "$cross_compiling" = yes; then
+@@ -8790,7 +8790,7 @@
+ echo "${ECHO_T}$found_libdb" >&6
+ CFLAGS="$ac_save_CFLAGS"
+ LIBS="$ac_save_LIBS"
+- if test x$found_libdb == xyes; then break; fi
++ if test x$found_libdb = xyes; then break; fi
+ done
+ use_libdb=$found_libdb
+ else
diff --git a/net-p2p/gift-openft/pkg-descr b/net-p2p/gift-openft/pkg-descr
new file mode 100644
index 000000000000..519af3ebbc00
--- /dev/null
+++ b/net-p2p/gift-openft/pkg-descr
@@ -0,0 +1,3 @@
+OpenFT plugin for gift
+
+WWW: http://gift.sourceforge.net/
diff --git a/net-p2p/gift-openft/pkg-plist b/net-p2p/gift-openft/pkg-plist
new file mode 100644
index 000000000000..3c3882ef9b25
--- /dev/null
+++ b/net-p2p/gift-openft/pkg-plist
@@ -0,0 +1,14 @@
+lib/giFT/libOpenFT.la
+lib/giFT/libOpenFT.so
+%%PORTDOCS%%share/doc/giFT-OpenFT/AUTHORS
+%%PORTDOCS%%share/doc/giFT-OpenFT/COPYING
+%%PORTDOCS%%share/doc/giFT-OpenFT/ChangeLog
+%%PORTDOCS%%share/doc/giFT-OpenFT/INSTALL
+%%PORTDOCS%%share/doc/giFT-OpenFT/NEWS
+%%PORTDOCS%%share/doc/giFT-OpenFT/README
+%%PORTDOCS%%share/doc/giFT-OpenFT/TODO
+%%PORTDOCS%%share/giFT/OpenFT/OpenFT.conf.template
+%%PORTDOCS%%share/giFT/OpenFT/nodes
+@dirrm lib/giFT
+@dirrm %%PORTDOCS%%share/doc/giFT-OpenFT
+@dirrm %%PORTDOCS%%share/giFT/OpenFT