Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Apr 2019 15:17:00 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r497964 - branches/2019Q2/audio/bcg729
Message-ID:  <201904051517.x35FH0gX053717@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904051517.x35FH0gX053717>