1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

devel/libosmocore: fix DOCS option build hook

PR:		191877
This commit is contained in:
Kurt Jaeger 2014-08-11 18:14:07 +00:00
parent 79c3df0c9f
commit 9fc27559c6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364633

View File

@ -31,6 +31,9 @@ BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \
.endif
post-patch:
.if ${PORT_OPTIONS:MDOCS}
${CP} ${WRKSRC}/Makefile.am.orig ${WRKSRC}/Makefile.am
.endif
${REINPLACE_CMD} -e 's|pkgconfigdir.*|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|g' \
${WRKSRC}/Makefile.am
${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/.tarball-version