aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2016-08-27 19:39:31 +0800
committerpawel <pawel@FreeBSD.org>2016-08-27 19:39:31 +0800
commit8b20e59f032be6cf0a9762c563cffc184ff03d40 (patch)
tree557bdf418cbe83740d8f174f41dd2d1b021b0a20 /net
parent3d2107b051fd58b0f2d695e76afff5b5e50ccf77 (diff)
downloadfreebsd-ports-gnome-8b20e59f032be6cf0a9762c563cffc184ff03d40.tar.gz
freebsd-ports-gnome-8b20e59f032be6cf0a9762c563cffc184ff03d40.tar.zst
freebsd-ports-gnome-8b20e59f032be6cf0a9762c563cffc184ff03d40.zip
- Fix AMRNB option plist
- Fix SQLITE option, needs pkg-config to detect sqlite availability: checking for SQLite using pkg-config... yes - Simplify post-stage target PR: 211841 Submitted by: myself Approved by: maintainer
Diffstat (limited to 'net')
-rw-r--r--net/yate/Makefile31
-rw-r--r--net/yate/pkg-plist1
2 files changed, 7 insertions, 25 deletions
diff --git a/net/yate/Makefile b/net/yate/Makefile
index 423262ff7d4a..9718c4f734ec 100644
--- a/net/yate/Makefile
+++ b/net/yate/Makefile
@@ -82,36 +82,17 @@ SPANDSP_CONFIGURE_WITH= spandsp
SPANDSP_LIB_DEPENDS= libspandsp.so:comms/spandsp
SQLITE_CONFIGURE_WITH= sqlite
-SQLITE_LIB_DEPENDS= libsqlite3.so:databases/sqlite3
+SQLITE_USES= pkgconfig sqlite
post-extract:
@${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
post-stage:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/yate
- @cd ${STAGEDIR}${PREFIX}/lib; \
- for FILE in libyate*.so.5.5.0; do \
- ${STRIP_CMD} $${FILE}; \
- done
- @cd ${STAGEDIR}${PREFIX}/lib/yate; \
- for FILE in *.yate; do \
- ${STRIP_CMD} $${FILE}; \
- done
- @cd ${STAGEDIR}${PREFIX}/lib/yate/client; \
- for FILE in *.yate; do \
- ${STRIP_CMD} $${FILE}; \
- done
- @cd ${STAGEDIR}${PREFIX}/lib/yate/server; \
- for FILE in *.yate; do \
- ${STRIP_CMD} $${FILE}; \
- done
- @cd ${STAGEDIR}${PREFIX}/lib/yate/jabber; \
- for FILE in *.yate; do \
- ${STRIP_CMD} $${FILE}; \
- done
- @cd ${STAGEDIR}${PREFIX}/lib/yate/sip; \
- for FILE in *.yate; do \
- ${STRIP_CMD} $${FILE}; \
- done
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libyate*.so.5.5.0
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/yate/*.yate
+.for dir in client server jabber sip
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/yate/${dir}/*.yate
+.endfor
.include <bsd.port.mk>
diff --git a/net/yate/pkg-plist b/net/yate/pkg-plist
index 2295cc2e208a..45e817f9e7df 100644
--- a/net/yate/pkg-plist
+++ b/net/yate/pkg-plist
@@ -138,6 +138,7 @@ lib/yate/jabber/jabberserver.yate
lib/yate/jabber/jbfeatures.yate
lib/yate/sip/sip_cnam_lnp.yate
%%AMRNB%%lib/yate/amrnbcodec.yate
+%%AMRNB%%lib/yate/efrcodec.yate
%%SPANDSP%%lib/yate/faxchan.yate
%%H323%%lib/yate/h323chan.yate
%%ILBC%%lib/yate/ilbccodec.yate