diff options
author | Daniel Harris <dannyboy@FreeBSD.org> | 2001-03-04 17:30:32 +0000 |
---|---|---|
committer | Daniel Harris <dannyboy@FreeBSD.org> | 2001-03-04 17:30:32 +0000 |
commit | f1edca2736a0ecedbfeb39ae837fa85907721fe3 (patch) | |
tree | 376e0eed7b4efed289615327c052b094366168c5 /net | |
parent | b561cf1b15c13c3a82a43d330d30a585ad722aa6 (diff) | |
download | ports-f1edca2736a0ecedbfeb39ae837fa85907721fe3.tar.gz ports-f1edca2736a0ecedbfeb39ae837fa85907721fe3.zip |
Notes
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/hagelslag/Makefile | 34 | ||||
-rw-r--r-- | net/hagelslag/distinfo | 1 | ||||
-rw-r--r-- | net/hagelslag/files/patch-Makefile | 14 | ||||
-rw-r--r-- | net/hagelslag/files/patch-gui-api-c++-Makefile | 18 | ||||
-rw-r--r-- | net/hagelslag/files/patch-gui-test-Makefile | 18 | ||||
-rw-r--r-- | net/hagelslag/files/patch-src-Makefile | 26 | ||||
-rw-r--r-- | net/hagelslag/pkg-comment | 1 | ||||
-rw-r--r-- | net/hagelslag/pkg-descr | 12 | ||||
-rw-r--r-- | net/hagelslag/pkg-plist | 14 |
10 files changed, 139 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 92a411523d47..b0a0da9aed98 100644 --- a/net/Makefile +++ b/net/Makefile @@ -106,6 +106,7 @@ SUBDIR += gtk-gnutella SUBDIR += gtkyahoo SUBDIR += h2n + SUBDIR += hagelslag SUBDIR += hesiod SUBDIR += icb SUBDIR += icmpinfo diff --git a/net/hagelslag/Makefile b/net/hagelslag/Makefile new file mode 100644 index 000000000000..e340e3f82fc1 --- /dev/null +++ b/net/hagelslag/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: hagelslag +# Date created: 14 February 2001 +# Whom: Johann Visagie <johann@egenetics.com> +# +# $FreeBSD$ +# + +PORTNAME= hagelslag +PORTVERSION= 0.12.1 +CATEGORIES= net +MASTER_SITES= http://tiefighter.et.tudelft.nl/hagelslag/ \ + ftp://tiefighter.et.tudelft.nl/pub/hagelslag/v${PORTVERSION}/ +EXTRACT_SUFX= .tgz + +MAINTAINER= johann@egenetics.com + +BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend + +USE_GMAKE= yes +MAKEFILES= Makefile gui/Makefile gui-api/Makefile +HS_DOCDIR= ${PREFIX}/share/doc/${PORTNAME} + +post-patch: +.for mfile in ${MAKEFILES} + @ ${PERL} -pi -e 's#make -C#\$${MAKE} -C#' ${WRKSRC}/${mfile} +.endfor + +post-install: +.if !defined(NOPORTDOCS) + @ ${MKDIR} ${HS_DOCDIR} + @ ${INSTALL_MAN} ${WRKSRC}/doc/* ${HS_DOCDIR} +.endif + +.include <bsd.port.mk> diff --git a/net/hagelslag/distinfo b/net/hagelslag/distinfo new file mode 100644 index 000000000000..3cf1bcf016cf --- /dev/null +++ b/net/hagelslag/distinfo @@ -0,0 +1 @@ +MD5 (hagelslag-0.12.1.tgz) = 65142f58f170f23ee0a6d097cfa11cf9 diff --git a/net/hagelslag/files/patch-Makefile b/net/hagelslag/files/patch-Makefile new file mode 100644 index 000000000000..c28337153865 --- /dev/null +++ b/net/hagelslag/files/patch-Makefile @@ -0,0 +1,14 @@ +--- Makefile.orig Wed Jan 31 20:40:56 2001 ++++ Makefile Wed Feb 14 15:05:19 2001 +@@ -4,10 +4,7 @@ + make -C gui all + + install: +- cp bin/* /usr/local/bin +- mkdir ~/.hagelslag +- cp doc/hosts.txt ~/.hagelslag/hagelslag.hosts +- @echo remember to copy doc/hosts.txt to ~/.hagelslag/hagelslag.hosts ++ ${BSD_INSTALL_PROGRAM} bin/* ${PREFIX}/bin + + + gui-all: diff --git a/net/hagelslag/files/patch-gui-api-c++-Makefile b/net/hagelslag/files/patch-gui-api-c++-Makefile new file mode 100644 index 000000000000..c08e636c1fa7 --- /dev/null +++ b/net/hagelslag/files/patch-gui-api-c++-Makefile @@ -0,0 +1,18 @@ +--- gui-api/c++/Makefile.orig Thu Feb 1 16:28:34 2001 ++++ gui-api/c++/Makefile Wed Feb 14 14:43:15 2001 +@@ -1,5 +1,4 @@ +-CXX=g++ +-CXXFLAGS=-Wall -O2 -g ++CXXFLAGS+=-Wall -O2 -g + + H_FILES = List.h DownloadList.h ResultList.h UploadList.h ConnectionList.h \ + ShareList.h HostList.h OptionList.h StatList.h QueryList.h \ +@@ -24,7 +23,7 @@ + rm -f *~ *.o *.a *.bak + + depend: +- makedepend $(CPP_FILES) -Y ++ makedepend $(CPP_FILES) + + count: + @echo GUI-API c++ diff --git a/net/hagelslag/files/patch-gui-test-Makefile b/net/hagelslag/files/patch-gui-test-Makefile new file mode 100644 index 000000000000..9229aca6b7b5 --- /dev/null +++ b/net/hagelslag/files/patch-gui-test-Makefile @@ -0,0 +1,18 @@ +--- gui/test/Makefile.orig Thu Feb 1 16:28:43 2001 ++++ gui/test/Makefile Wed Feb 14 14:42:42 2001 +@@ -1,5 +1,4 @@ +-CXX=g++ +-CXXFLAGS=-Wall -O2 -g -I../../gui-api/c++ ++CXXFLAGS+=-Wall -O2 -g -I../../gui-api/c++ + LFLAGS= ../../lib/HagelslagInterface.a + + H_FILES = TestGui.h UserTranslator.h ListTranslator.h +@@ -14,7 +13,7 @@ + rm -f *~ core *.o testgui *.bak + + depend: +- makedepend $(CPP_FILES) -Y ++ makedepend $(CPP_FILES) -I../../gui-api/c++/ + + testgui: TestGui.h TestGui.cpp $(O_FILES) ../../lib/HagelslagInterface.a + $(CXX) $(CXXFLAGS) TestGui.cpp $(O_FILES) $(LFLAGS) -o testgui diff --git a/net/hagelslag/files/patch-src-Makefile b/net/hagelslag/files/patch-src-Makefile new file mode 100644 index 000000000000..42d7c1830005 --- /dev/null +++ b/net/hagelslag/files/patch-src-Makefile @@ -0,0 +1,26 @@ +--- src/Makefile.orig Thu Feb 1 16:27:37 2001 ++++ src/Makefile Wed Feb 14 14:41:23 2001 +@@ -1,5 +1,4 @@ + # Don't change this... +-CXX=g++ + LFLAGS= + COMMONFLAGS=-Wall -O2 -g + ROUTER_FLAGS=$(COMMONFLAGS) -DROUTER +@@ -7,7 +6,7 @@ + CONSOLE_FLAGS=$(COMMONFLAGS) -DCONSOLE + + # Change this instead. +-CXXFLAGS=$(CONSOLE_FLAGS) ++CXXFLAGS+=$(CONSOLE_FLAGS) + + # Nothing below here should be changed + +@@ -70,7 +69,7 @@ + cp hagelslagd ../bin + + depend: +- makedepend -Y -- $(CPP_FILES) ++ makedepend -- $(CPP_FILES) + + clean: + rm -f hagelslag hagelslagd hagelslagrouter *.o *~ core *.bak diff --git a/net/hagelslag/pkg-comment b/net/hagelslag/pkg-comment new file mode 100644 index 000000000000..7ba19974a72d --- /dev/null +++ b/net/hagelslag/pkg-comment @@ -0,0 +1 @@ +A flexible command-line Gnutella implementation with advanced features diff --git a/net/hagelslag/pkg-descr b/net/hagelslag/pkg-descr new file mode 100644 index 000000000000..e849fdd4e51a --- /dev/null +++ b/net/hagelslag/pkg-descr @@ -0,0 +1,12 @@ +Hagelslag is a Gnutella servent which emphasises flexibility, stability and +performance. It boasts several advanced features including flexible +configuration and operation, and strategies to guard against network flooding +and spam. It also includes extensive documentation. + +Hagelslag currently only has a command-line interface, but it provides a +(documented) API which may be used to write a GUI. + +Author: Fokko Beekhof <lucifer@tiefighter.et.tudelft.nl> +WWW: http://tiefighter.et.tudelft.nl/hagelslag/ + +-- Johann Visagie <johann@egenetics.com> diff --git a/net/hagelslag/pkg-plist b/net/hagelslag/pkg-plist new file mode 100644 index 000000000000..ef328a3dae32 --- /dev/null +++ b/net/hagelslag/pkg-plist @@ -0,0 +1,14 @@ +%%PORTDOCS%%share/doc/hagelslag/Hagelslag-design.txt +%%PORTDOCS%%share/doc/hagelslag/HagelslagInternal.txt +%%PORTDOCS%%share/doc/hagelslag/LICENSE +%%PORTDOCS%%share/doc/hagelslag/ProgrammersManual.txt +%%PORTDOCS%%share/doc/hagelslag/README +%%PORTDOCS%%share/doc/hagelslag/TODO +%%PORTDOCS%%share/doc/hagelslag/UsersManual.txt +%%PORTDOCS%%share/doc/hagelslag/hagelslag-classes.fig +%%PORTDOCS%%share/doc/hagelslag/hagelslag-classes.jpg +%%PORTDOCS%%share/doc/hagelslag/hagelslag-structure.fig +%%PORTDOCS%%share/doc/hagelslag/hagelslag-structure.jpg +bin/hagelslag +bin/testgui +%%PORTDOCS%%@dirrm share/doc/hagelslag |