diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-02-29 16:45:56 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-02-29 16:45:56 +0000 |
commit | af6c6e895bb734b02bf72bdba47ed864d9999157 (patch) | |
tree | c843df920351715386f6c0d43f691d884c511f54 /net-p2p/libbt/Makefile | |
parent | Fix incorrect buffer overflow fix: pass the size of the target (diff) |
- Update to version 0.03
PR: ports/63531
Submitted by: maintainer
Diffstat (limited to 'net-p2p/libbt/Makefile')
-rw-r--r-- | net-p2p/libbt/Makefile | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/net-p2p/libbt/Makefile b/net-p2p/libbt/Makefile index 714673129079..e96c46a3a32d 100644 --- a/net-p2p/libbt/Makefile +++ b/net-p2p/libbt/Makefile @@ -6,11 +6,11 @@ # PORTNAME= libbt -PORTVERSION= 0.02 +PORTVERSION= 0.03 CATEGORIES= net devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} -EXTRACT_SUFX= .tgz +DISTNAME= ${PORTNAME}.${PORTVERSION} MAINTAINER= flz@xbsd.org COMMENT= C library implementing the core BitTorrent protocol @@ -21,13 +21,21 @@ LIB_DEPENDS= uuid.1:${PORTSDIR}/sysutils/e2fsprogs \ WRKSRC= ${WRKDIR}/${PORTNAME} GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_REINPLACE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" + +post-patch: + @${REINPLACE_CMD} -e 's|\(makedepend --\)|\1 \@CPPFLAGS\@|' ${WRKSRC}/src/Makefile.in + @${REINPLACE_CMD} -e 's|\(CFLAGS:=\)|\1\@CFLAGS\@|' ${WRKSRC}/src/Makefile.in do-install: ${INSTALL_DATA} ${WRKSRC}/src/libbt.a ${PREFIX}/lib ${MKDIR} ${PREFIX}/include/libbt +.for i in btcheck btget btlist + ${INSTALL_PROGRAM} ${WRKSRC}/src/${i} ${PREFIX}/bin +.endfor .for i in benc.h bitset.h bterror.h bts.h context.h peer.h random.h segmenter.h strbuf.h stream.h types.h util.h ${INSTALL_DATA} ${WRKSRC}/include/${i} ${PREFIX}/include/libbt .endfor |