freebsd-ports/net-p2p/bnbt/Makefile
2004-02-04 05:10:27 +00:00

42 lines
1.3 KiB
Makefile

# New ports collection makefile for: bnbt
# Date created: Jan 31 2004
# Whom: Florent Thoumie <flz@xbsd.org>
#
# $FreeBSD$
#
PORTNAME= bnbt
PORTVERSION= 7.3b
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://bnbt.go-dedicated.com/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
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} ${PREFIX}/share/bnbt
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/footer.html ${PREFIX}/share/bnbt
${INSTALL_DATA} ${WRKSRC}/formats.txt ${PREFIX}/share/bnbt
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/header.html ${PREFIX}/share/bnbt
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/lesser.txt ${PREFIX}/share/bnbt
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/link.txt ${PREFIX}/share/bnbt
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/readme.txt ${PREFIX}/share/bnbt
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/stealers.txt ${PREFIX}/share/bnbt
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/users.txt ${PREFIX}/share/bnbt
.include <bsd.port.mk>