1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/net/bnbt/Makefile
Pav Lucistnik 514d99f2b8 - Update to 77b-3
PR:		ports/68415
Submitted by:	Florent Thoumie <flz@xbsd.org> (maintainer)
2004-06-27 14:07:25 +00:00

39 lines
852 B
Makefile

# New ports collection makefile for: bnbt
# Date created: Jan 31 2004
# Whom: Florent Thoumie <flz@xbsd.org>
#
# $FreeBSD$
#
PORTNAME= bnbt
PORTVERSION= 7.7b3
CATEGORIES= net
MASTER_SITES= http://bnbt.go-dedicated.com/
DISTNAME= bnbt77b-3
MAINTAINER= flz@xbsd.org
COMMENT= A C++ BitTorrent Tracker
USE_ZIP= yes
WRKSRC= ${WRKDIR}/${PORTNAME}/src
USE_GMAKE= yes
USE_REINPLACE= yes
PLIST_FILES= bin/bnbt
PORTDOCS= footer.html header.html lesser.txt readme.txt users.txt
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} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/$i ${DOCSDIR}
.endfor
.include <bsd.port.mk>