# New ports collection makefile for: bnbt # Date created: Jan 31 2004 # Whom: Florent Thoumie # # $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