aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/rblibtorrent/Makefile
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2008-06-24 02:01:39 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2008-06-24 02:01:39 +0000
commit6dd8f2e7af4f7c9ae1d0adad27c6ac13ecd6e793 (patch)
tree9324e23cf4ca48b2d2addc43bde3b0375bfe371e /net-p2p/rblibtorrent/Makefile
parent4c388566be4953c25b147f5749139d10b0902ffa (diff)
downloadports-6dd8f2e7af4f7c9ae1d0adad27c6ac13ecd6e793.tar.gz
ports-6dd8f2e7af4f7c9ae1d0adad27c6ac13ecd6e793.zip
Notes
Diffstat (limited to 'net-p2p/rblibtorrent/Makefile')
-rw-r--r--net-p2p/rblibtorrent/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/net-p2p/rblibtorrent/Makefile b/net-p2p/rblibtorrent/Makefile
index 319ff6f1b105..25a199a8f733 100644
--- a/net-p2p/rblibtorrent/Makefile
+++ b/net-p2p/rblibtorrent/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= libtorrent
-PORTVERSION= 0.12
-PORTREVISION= 1
+PORTVERSION= 0.13
CATEGORIES= net-p2p
MASTER_SITES= SF
PKGNAMEPREFIX= rb
@@ -27,4 +26,14 @@ CONFLICTS= libtorrent-[0-9]* \
libtorrent-devel-[0-9]* \
rblibtorrent-devel-[0-9]*
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 600000
+BROKEN= does not build on FreeBSD 5.x
+.endif
+
+post-install:
+ @cd ${PREFIX}/lib && ${LN} -sf libtorrent-0.13.so libtorrent.so.1 && \
+ ${LN} -sf libtorrent.so.1 libtorrent.so
+
+.include <bsd.port.post.mk>