diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-06-20 16:48:02 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-06-20 16:48:02 +0000 |
commit | ac315ed6a753cfe9dddc314a35f36b9a1971c5e0 (patch) | |
tree | b12c9f8670570b7c72956f69c224c93464910587 /irc | |
parent | f8ec1d6881a7a9e4bdad0b32c775c7a63477e1ef (diff) | |
download | ports-ac315ed6a753cfe9dddc314a35f36b9a1971c5e0.tar.gz ports-ac315ed6a753cfe9dddc314a35f36b9a1971c5e0.zip |
Notes
Diffstat (limited to 'irc')
-rw-r--r-- | irc/Makefile | 1 | ||||
-rw-r--r-- | irc/garnaxfs/Makefile | 29 | ||||
-rw-r--r-- | irc/garnaxfs/distinfo | 2 | ||||
-rw-r--r-- | irc/garnaxfs/files/patch-Makefile | 29 | ||||
-rw-r--r-- | irc/garnaxfs/pkg-descr | 10 |
5 files changed, 71 insertions, 0 deletions
diff --git a/irc/Makefile b/irc/Makefile index c6371cbb8d0e..197c39985bd3 100644 --- a/irc/Makefile +++ b/irc/Makefile @@ -21,6 +21,7 @@ SUBDIR += epic4 SUBDIR += erc SUBDIR += ezbounce + SUBDIR += garnaxfs SUBDIR += gdesklets-irc SUBDIR += gruftistats SUBDIR += gseen.mod diff --git a/irc/garnaxfs/Makefile b/irc/garnaxfs/Makefile new file mode 100644 index 000000000000..5417283a9d3d --- /dev/null +++ b/irc/garnaxfs/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: garnaxfs +# Date created: 19 Jun 2004 +# Whom: Travis Poppe <tlp@liquidx.org> +# +# $FreeBSD$ +# + +PORTNAME= garnaxfs +PORTVERSION= 1.1.0 +CATEGORIES= irc +MASTER_SITES= http://garnax.mircx.com/ +DISTNAME= garnax-f1.1 + +MAINTAINER= tlp@liquidx.org +COMMENT= A file serving bot for IRC + +USE_REINPLACE= yes + +MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" PTHREAD_LIBS="${PTHREAD_LIBS}" +PLIST_FILES= bin/garnaxfs etc/garnaxfs.sample + +post-patch: + @${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_CFLAGS}|g' ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/garnax ${PREFIX}/bin/garnaxfs + ${INSTALL_DATA} ${WRKSRC}/example.conf ${PREFIX}/etc/garnaxfs.sample + +.include <bsd.port.mk> diff --git a/irc/garnaxfs/distinfo b/irc/garnaxfs/distinfo new file mode 100644 index 000000000000..de1359570768 --- /dev/null +++ b/irc/garnaxfs/distinfo @@ -0,0 +1,2 @@ +MD5 (garnax-f1.1.tar.gz) = fabf3775b7a6e598f9dbf3061b82e747 +SIZE (garnax-f1.1.tar.gz) = 51422 diff --git a/irc/garnaxfs/files/patch-Makefile b/irc/garnaxfs/files/patch-Makefile new file mode 100644 index 000000000000..d001a7eb8176 --- /dev/null +++ b/irc/garnaxfs/files/patch-Makefile @@ -0,0 +1,29 @@ + +$FreeBSD$ + +--- Makefile.orig Sun Jun 20 18:38:31 2004 ++++ Makefile Sun Jun 20 18:39:44 2004 +@@ -2,11 +2,12 @@ + OBJDIR = ./work/ + BUILD = garnax-f1.1 + TARFILE = $(BUILD).tar +-CC = gcc ++CC ?= gcc + + # Note: -lpthread may be needed instead of -pthread + #CFLAGS = -Wall -pedantic -ansi -pthread -g +-CFLAGS = -Wall -pthread -g ++CFLAGS += -Wall -pthread -g ++LIBS= ${PTHREAD_LIBS} + + # Arguments for SunOS + # CC = cc +@@ -19,7 +20,7 @@ + install : garnax + + garnax : work $(objects) +- $(CC) $(CFLAGS) $(objects) -o garnax ++ $(CC) $(CFLAGS) $(LIBS) $(objects) -o garnax + + work : + mkdir -p work diff --git a/irc/garnaxfs/pkg-descr b/irc/garnaxfs/pkg-descr new file mode 100644 index 000000000000..478bad07cc83 --- /dev/null +++ b/irc/garnaxfs/pkg-descr @@ -0,0 +1,10 @@ +Garnaxbot (File Server) is a file serving bot for IRC (commonly referred +to as a DCC bot). It uses the DCC chat/send features of IRC to send files +to other users. Garnaxbot will connect to an IRC server and allow people +to request files via DCC chat. This is not a script, it is a standalone +executable written in C. + +WWW: http://garnax.mircx.com/ + +- Travis Poppe +tlp@liquidx.org |