37 lines
1 KiB
Makefile
37 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.4 2008/05/26 13:59:47 tnn2 Exp $
|
|
|
|
DISTNAME= xbnbt-81b.3.5
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xbnbt/}
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= loic-hoguin@users.sourceforge.net
|
|
HOMEPAGE= http://xbnbt.sourceforge.net/
|
|
COMMENT= Alternative BitTorrent tracker written in C++
|
|
|
|
WRKSRC= ${WRKDIR}/xbnbt/bnbt/src
|
|
|
|
USE_LANGUAGES= c++
|
|
USE_TOOLS+= gmake pax
|
|
|
|
MAKE_FILE= makefile
|
|
BUILD_TARGET+= bnbt
|
|
|
|
INSTALLATION_DIRS+= sbin share/doc/xbnbt share/examples/xbnbt share/xbnbt
|
|
|
|
post-extract:
|
|
mv ${WRKDIR:Q}/"copy of xbnbt-81b.3" ${WRKDIR:Q}/xbnbt
|
|
mv ${WRKDIR:Q}/xbnbt/bnbt/examples/"xbnbt ipb2 mod" \
|
|
${WRKDIR:Q}/xbnbt/bnbt/examples/ipb2_mod
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bnbt ${PREFIX}/sbin
|
|
cd ${WRKDIR}/xbnbt/bnbt/doc && pax -rwpam . \
|
|
${PREFIX}/share/doc/xbnbt
|
|
cd ${WRKDIR}/xbnbt/bnbt/examples && pax -rwpam . \
|
|
${PREFIX}/share/examples/xbnbt
|
|
cd ${WRKDIR}/xbnbt/bnbt/public_http/xbnbt && pax -rwpam . \
|
|
${PREFIX}/share/xbnbt
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|