svn commit: r451212 - head/devel/jsoncpp
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Oct 4 10:56:18 UTC 2017
Author: sunpoet
Date: Wed Oct 4 10:56:16 2017
New Revision: 451212
URL: https://svnweb.freebsd.org/changeset/ports/451212
Log:
Fix jsoncpp.pc
- Bump PORTREVISION for package change
PR: 222104
Submitted by: John Hein <z7dr6ut7gs at snkmail.com>
Approved by: Yuri Victorovich <yuri at rawbw.com> (maintainer)
Modified:
head/devel/jsoncpp/Makefile
Modified: head/devel/jsoncpp/Makefile
==============================================================================
--- head/devel/jsoncpp/Makefile Wed Oct 4 10:56:11 2017 (r451211)
+++ head/devel/jsoncpp/Makefile Wed Oct 4 10:56:16 2017 (r451212)
@@ -3,7 +3,7 @@
PORTNAME= jsoncpp
PORTVERSION= 1.8.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MAINTAINER= yuri at rawbw.com
@@ -47,9 +47,8 @@ do-install:
${LN} -s libjsoncpp.so.${DISTVERSION} ${STAGEDIR}${PREFIX}/lib/libjsoncpp.so
${CP} ${WRKSRC}/pkg-config/jsoncpp.pc.in ${STAGEDIR}${PREFIX}/libdata/pkgconfig/jsoncpp.pc
@${REINPLACE_CMD} -i '' \
- -e 's|@CMAKE_INSTALL_PREFIX@|${PREFIX}|g' \
- -e 's|@CMAKE_INSTALL_LIBDIR@|lib|g' \
- -e 's|@CMAKE_INSTALL_INCLUDEDIR@|include/jsoncpp|g' \
+ -e 's|@CMAKE_INSTALL_FULL_LIBDIR@|${PREFIX}/lib|g' \
+ -e 's|@CMAKE_INSTALL_FULL_INCLUDEDIR@|${PREFIX}/include/jsoncpp|g' \
-e 's|@JSONCPP_VERSION@|${DISTVERSION}|g' \
${STAGEDIR}${PREFIX}/libdata/pkgconfig/jsoncpp.pc
More information about the svn-ports-head
mailing list