aboutsummaryrefslogtreecommitdiff
path: root/irc/garnaxfs/Makefile
blob: e9def50d310340f592397034c92493c192090d27 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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

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>