summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-12-31 22:22:01 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-12-31 22:22:01 +0000
commit42182c8c6e6065ea29edd4b2d2018a9d3fab4506 (patch)
tree8d40628a79e1f2feb0518e1804370e0a4c4cf498
parentshells/sparforte: skip -fstack-protector (diff)
Fix variable substitution for jsoncpp.pc
- Bump PORTREVISION for package change PR: 215390 Submitted by: John Hein <z7dr6ut7gs@snkmail.com> Approved by: Yuri Victorovich <yuri@rawbw.com> (maintainer)
Notes
Notes: svn path=/head/; revision=430172
-rw-r--r--devel/jsoncpp/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/jsoncpp/Makefile b/devel/jsoncpp/Makefile
index 869a60f42355..f894a144b960 100644
--- a/devel/jsoncpp/Makefile
+++ b/devel/jsoncpp/Makefile
@@ -3,6 +3,7 @@
PORTNAME= jsoncpp
PORTVERSION= 1.8.0
+PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= yuri@rawbw.com
@@ -46,8 +47,8 @@ do-install:
${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|@LIBRARY_INSTALL_DIR@|lib|g' \
- -e 's|@INCLUDE_INSTALL_DIR@|include/jsoncpp|g' \
+ -e 's|@CMAKE_INSTALL_LIBDIR@|lib|g' \
+ -e 's|@CMAKE_INSTALL_INCLUDEDIR@|include/jsoncpp|g' \
-e 's|@JSONCPP_VERSION@|${DISTVERSION}|g' \
${STAGEDIR}${PREFIX}/libdata/pkgconfig/jsoncpp.pc