aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2005-09-13 18:44:33 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2005-09-13 18:44:33 +0000
commit54bdb18f93432fcdccd088f4ced5170b7d52bccd (patch)
treececd9edc51da950a75305b0b5895cecf00272d73 /net
parent83b215912486acd1fba59bbffb69bd64567780c0 (diff)
downloadports-54bdb18f93432fcdccd088f4ced5170b7d52bccd.tar.gz
ports-54bdb18f93432fcdccd088f4ced5170b7d52bccd.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/throttled/Makefile21
-rw-r--r--net/throttled/distinfo4
2 files changed, 8 insertions, 17 deletions
diff --git a/net/throttled/Makefile b/net/throttled/Makefile
index 42f69b4f4851..27c60d54fe11 100644
--- a/net/throttled/Makefile
+++ b/net/throttled/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= throttled
-PORTVERSION= 0.3.2
+PORTVERSION= 0.4.1
CATEGORIES= net
MASTER_SITES= http://www.intrarts.com/Files/
EXTRACT_SUFX= .tgz
@@ -14,24 +14,15 @@ EXTRACT_SUFX= .tgz
MAINTAINER= quest@mac.com
COMMENT= Bandwidth shaping and QoS solution
-USE_REINPLACE= yes
USE_GMAKE= yes
+USE_REINPLACE= yes
PLIST_FILES= sbin/throttled sbin/throttled-startup
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} > 499999
-IGNORE= "is for FreeBSD 4.X only"
-.endif
-
post-patch:
- @${REINPLACE_CMD} -e "s|install: all|install: $$\{APPNAME\}|" \
- ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" \
- ${WRKSRC}/Makefile \
- ${WRKSRC}/throttled-startup
- @${REINPLACE_CMD} -e "s|c++|${CXX}|;s|-O3|${CXXFLAGS}|" \
- ${WRKSRC}/src/Makefile
+ ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e "s|c++|${CXX}|;s|-O3|${CXXFLAGS}| \
+ ;s|-pthread|${PTHREAD_LIBS}|" ${WRKSRC}/src/Makefile
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net/throttled/distinfo b/net/throttled/distinfo
index fcd740986103..4443002ef4e8 100644
--- a/net/throttled/distinfo
+++ b/net/throttled/distinfo
@@ -1,2 +1,2 @@
-MD5 (throttled-0.3.2.tgz) = d3e48c06ed3c8a4bf0017a37c213f4cb
-SIZE (throttled-0.3.2.tgz) = 182681
+MD5 (throttled-0.4.1.tgz) = 617d0be4ef6b9ace2c1c50df3b3350c8
+SIZE (throttled-0.4.1.tgz) = 25963