summaryrefslogtreecommitdiff
path: root/audio/baresip/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/baresip/Makefile')
-rw-r--r--audio/baresip/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/audio/baresip/Makefile b/audio/baresip/Makefile
index c251d7258e3a..de1658fd029c 100644
--- a/audio/baresip/Makefile
+++ b/audio/baresip/Makefile
@@ -1,6 +1,6 @@
PORTNAME= baresip
DISTVERSIONPREFIX= v
-DISTVERSION= 4.0.0
+DISTVERSION= 4.1.0
CATEGORIES= audio
MAINTAINER= herbert@gojira.at
@@ -16,6 +16,7 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= cmake pkgconfig ssl
USE_GITHUB= yes
GH_ACCOUNT= baresip
+PORTDOCS= ChangeLog CONTRIBUTING.md THANKS
OPTIONS_DEFINE= ALSA AV1 AVCODEC AVFILTER AVFORMAT CTRL_DBUS DOCS \
EXAMPLES G711 G722 G726 GST GTK3 MQTT OPUS OPUS_MS PLC \
@@ -108,10 +109,12 @@ CMAKE_ARGS+= -DMODULES="$(_MODULES_LIST:ts;)" \
-DRE_INCLUDE_DIR:STRING="${LOCALBASE}/include/re" \
-DREM_INCLUDE_DIR:STRING="${LOCALBASE}/include/rem"
-post-install:
- ${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR}
- (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
- ${MV} ${STAGEDIR}${DOCSDIR}/examples/* ${STAGEDIR}${EXAMPLESDIR}
- ${RMDIR} ${STAGEDIR}${DOCSDIR}/examples
+post-install-DOCS-on:
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:C|^|${WRKSRC}/docs/|} ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/examples/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>