aboutsummaryrefslogtreecommitdiffstats
path: root/net/kphone
diff options
context:
space:
mode:
Diffstat (limited to 'net/kphone')
-rw-r--r--net/kphone/Makefile16
-rw-r--r--net/kphone/distinfo4
2 files changed, 9 insertions, 11 deletions
diff --git a/net/kphone/Makefile b/net/kphone/Makefile
index 09456461f7aa..fdcfa43d1534 100644
--- a/net/kphone/Makefile
+++ b/net/kphone/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= kphone
-PORTVERSION= 4.0.4
+PORTVERSION= 4.0.5
CATEGORIES= net
MASTER_SITES= http://www.wirlab.net/kphone/
@@ -22,14 +22,12 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= QTDIR="${QT_PREFIX}"
post-patch:
- ${REINPLACE_CMD} -e "s,-O3,${CFLAGS} ${PTHREAD_CFLAGS}," ${WRKSRC}/configure
- ${REINPLACE_CMD} -e "s,-lresolv,${PTHREAD_LIBS}," ${WRKSRC}/kphone/Makefile.in
-
-do-build:
- cd ${WRKSRC}/dissipate2; ${SETENV} ${MAKE_ENV} ${GMAKE}
- cd ${WRKSRC}/gsm; ${SETENV} ${MAKE_ENV} ${GMAKE}
- cd ${WRKSRC}/ilbc; ${SETENV} ${MAKE_ENV} ${GMAKE}
- cd ${WRKSRC}/kphone; ${SETENV} ${MAKE_ENV} ${GMAKE}
+ @${REINPLACE_CMD} -e 's,-O3,,g ; \
+ s,-Wall,$$CFLAGS,g' ${WRKSRC}/configure
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's,make -C,$$(MAKE) -C,g ; \
+ s,/apps/,/,g ; \
+ s,-lresolv,${PTHREAD_LIBS},g'
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/kphone/kphone ${PREFIX}/bin
diff --git a/net/kphone/distinfo b/net/kphone/distinfo
index 4afd8cd91399..03140e6895a7 100644
--- a/net/kphone/distinfo
+++ b/net/kphone/distinfo
@@ -1,2 +1,2 @@
-MD5 (kphone-4.0.4.tar.gz) = 38efef869ce23a33fb61442f2498a650
-SIZE (kphone-4.0.4.tar.gz) = 255515
+MD5 (kphone-4.0.5.tar.gz) = 30939e432fd0039d4dc8228f21e2c54b
+SIZE (kphone-4.0.5.tar.gz) = 258159