Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Apr 2019 09:41:16 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r497702 - head/audio/bcg729
Message-ID:  <201904030941.x339fGip023708@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Wed Apr  3 09:41:16 2019
New Revision: 497702
URL: https://svnweb.freebsd.org/changeset/ports/497702

Log:
  Add back libdata/pkgconfig/libbcg729.pc file after it was removed
  by the 1.0.4 update in r482343.
  
  PR:		236975
  Submitted by:	sobomax
  MFH:		2019Q2

Modified:
  head/audio/bcg729/Makefile
  head/audio/bcg729/pkg-plist

Modified: head/audio/bcg729/Makefile
==============================================================================
--- head/audio/bcg729/Makefile	Wed Apr  3 09:37:31 2019	(r497701)
+++ head/audio/bcg729/Makefile	Wed Apr  3 09:41:16 2019	(r497702)
@@ -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: head/audio/bcg729/pkg-plist
==============================================================================
--- head/audio/bcg729/pkg-plist	Wed Apr  3 09:37:31 2019	(r497701)
+++ head/audio/bcg729/pkg-plist	Wed Apr  3 09:41:16 2019	(r497702)
@@ -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?201904030941.x339fGip023708>