blob: 0de271da601ce46a9f15e8122b88b58e6a743c71 (
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
28
29
30
31
32
33
34
35
|
# New ports collection makefile for: bnbt
# Date created: Jan 31 2004
# Whom: Florent Thoumie <flz@xbsd.org>
#
# $FreeBSD$
#
PORTNAME= bnbt
PORTVERSION= 7.5b2
CATEGORIES= net
MASTER_SITES= http://bnbt.go-dedicated.com/
DISTNAME= bnbt75b-2
MAINTAINER= flz@xbsd.org
COMMENT= A C++ BitTorrent Tracker
USE_ZIP= yes
WRKSRC= ${WRKDIR}/${PORTNAME}/src
USE_GMAKE= yes
USE_REINPLACE= yes
post-patch:
@${REINPLACE_CMD} -e 's|-O2 -w|${CFLAGS}| ; \
s|LFLAGS = -pthread|LFLAGS = ${PTHREAD_LIBS}| ; \
s|CFLAGS = -pthread|CFLAGS = ${PTHREAD_CFLAGS}|' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bnbt ${PREFIX}/bin
${MKDIR} ${DATADIR}
.for i in footer.html header.html lesser.txt readme.txt users.txt
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/$i ${DATADIR}
.endfor
.include <bsd.port.mk>
|