svn commit: r497964 - branches/2019Q2/audio/bcg729
Guido Falsi
madpilot at FreeBSD.org
Fri Apr 5 15:17:01 UTC 2019
Author: madpilot
Date: Fri Apr 5 15:16:59 2019
New Revision: 497964
URL: https://svnweb.freebsd.org/changeset/ports/497964
Log:
MFH: r497702
Add back libdata/pkgconfig/libbcg729.pc file after it was removed
by the 1.0.4 update in r482343.
PR: 236975
Submitted by: sobomax
Approved by: ports-secteam (joneum)
Modified:
branches/2019Q2/audio/bcg729/Makefile
branches/2019Q2/audio/bcg729/pkg-plist
Directory Properties:
branches/2019Q2/ (props changed)
Modified: branches/2019Q2/audio/bcg729/Makefile
==============================================================================
--- branches/2019Q2/audio/bcg729/Makefile Fri Apr 5 15:07:10 2019 (r497963)
+++ branches/2019Q2/audio/bcg729/Makefile Fri Apr 5 15:16:59 2019 (r497964)
@@ -3,7 +3,7 @@
PORTNAME= bcg729
PORTVERSION= 1.0.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= https://linphone.org/releases/sources/bcg729/
@@ -17,5 +17,15 @@ USES= cmake
USE_LDCONFIG= yes
CMAKE_ARGS= -DENABLE_STATIC=NO
+
+post-configure:
+ ${SED} 's|@prefix@|${PREFIX}|g ; s|@exec_prefix@|$${prefix}|g ; \
+ s|@libdir@|$${prefix}/lib|g ; s|@includedir@|$${prefix}/include|g ; \
+ s|@PACKAGE_VERSION@|${PORTVERSION}|g' \
+ ${WRKSRC}/libbcg729.pc.in > ${WRKSRC}/libbcg729.pc
+
+post-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/libdata/pkgconfig
+ ${INSTALL_DATA} ${WRKSRC}/libbcg729.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig
.include <bsd.port.mk>
Modified: branches/2019Q2/audio/bcg729/pkg-plist
==============================================================================
--- branches/2019Q2/audio/bcg729/pkg-plist Fri Apr 5 15:07:10 2019 (r497963)
+++ branches/2019Q2/audio/bcg729/pkg-plist Fri Apr 5 15:16:59 2019 (r497964)
@@ -2,6 +2,7 @@ include/bcg729/decoder.h
include/bcg729/encoder.h
lib/libbcg729.so
lib/libbcg729.so.0
+libdata/pkgconfig/libbcg729.pc
share/Bcg729/cmake/Bcg729Config.cmake
share/Bcg729/cmake/Bcg729ConfigVersion.cmake
share/Bcg729/cmake/Bcg729Targets-%%CMAKE_BUILD_TYPE%%.cmake
More information about the svn-ports-all
mailing list