summaryrefslogtreecommitdiffstats
path: root/net/libbt/Makefile
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-05-30 14:27:08 +0000
committerpav <pav@FreeBSD.org>2004-05-30 14:27:08 +0000
commit310d9bb550e173525ea32d738a11e446f7ff0769 (patch)
treeeebdbce92fd5f6d5a2996ea2e7c90cd1ad4eec33 /net/libbt/Makefile
parent653c56ca35f4e7f45fa22baf5641cecc8ff3d8ac (diff)
downloadFreeBSD-ports-310d9bb550e173525ea32d738a11e446f7ff0769.zip
FreeBSD-ports-310d9bb550e173525ea32d738a11e446f7ff0769.tar.gz
- Update to 1.02
PR: ports/67380 Submitted by: Florent Thoumie <flz@xbsd.org> (maintainer)
Diffstat (limited to 'net/libbt/Makefile')
-rw-r--r--net/libbt/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/net/libbt/Makefile b/net/libbt/Makefile
index cce0bb9..07b8275 100644
--- a/net/libbt/Makefile
+++ b/net/libbt/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libbt
-PORTVERSION= 1.01
+PORTVERSION= 1.02
CATEGORIES= net devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -23,15 +23,11 @@ USE_REINPLACE= yes
USE_GCC= 3.3
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "alpha"
-BROKEN= "Does not compile on alpha"
-.endif
+PORTDOCS= protocol-ext.txt protocol.txt
post-patch:
@${REINPLACE_CMD} -e 's|depend||' ${WRKSRC}/Makefile.in
- @${REINPLACE_CMD} -e 's|\(CFLAGS:=\)|\1\@CFLAGS\@ |' ${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e 's|\(CFLAGS:=\)|\1\@CFLAGS\@ \@CPPFLAGS\@ |' ${WRKSRC}/src/Makefile.in
do-install:
${INSTALL_DATA} ${WRKSRC}/src/libbt.a ${PREFIX}/lib
@@ -46,7 +42,9 @@ do-install:
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/docs/protocol.txt ${DOCSDIR}
+.for i in ${PORTDOCS}
+ ${INSTALL_MAN} ${WRKSRC}/docs/${i} ${DOCSDIR}
+.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud