aboutsummaryrefslogtreecommitdiff
path: root/net/throttled/Makefile
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/throttled/Makefile
parent83b215912486acd1fba59bbffb69bd64567780c0 (diff)
downloadports-54bdb18f93432fcdccd088f4ced5170b7d52bccd.tar.gz
ports-54bdb18f93432fcdccd088f4ced5170b7d52bccd.zip
Notes
Diffstat (limited to 'net/throttled/Makefile')
-rw-r--r--net/throttled/Makefile21
1 files changed, 6 insertions, 15 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>