aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-07-31 23:35:34 +0800
committerbapt <bapt@FreeBSD.org>2012-07-31 23:35:34 +0800
commitd64b82580f12e0a85d505707946aa54456ab1170 (patch)
tree4d116e0e63a04405d28d2f935bacfd1e0f687fc7 /devel
parent0401b705ba6964623a3a6999d6e49ff22bdc1143 (diff)
downloadfreebsd-ports-gnome-d64b82580f12e0a85d505707946aa54456ab1170.tar.gz
freebsd-ports-gnome-d64b82580f12e0a85d505707946aa54456ab1170.tar.zst
freebsd-ports-gnome-d64b82580f12e0a85d505707946aa54456ab1170.zip
Fix plist (and .pc file location)
Reported by: kwm
Diffstat (limited to 'devel')
-rw-r--r--devel/yajl/Makefile5
-rw-r--r--devel/yajl/pkg-plist1
2 files changed, 6 insertions, 0 deletions
diff --git a/devel/yajl/Makefile b/devel/yajl/Makefile
index ba63fbd38fad..bb00604a672f 100644
--- a/devel/yajl/Makefile
+++ b/devel/yajl/Makefile
@@ -7,6 +7,7 @@
PORTNAME= yajl
PORTVERSION= 2.0.4
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://github.com/lloyd/yajl/tarball/${GITREF}/ \
http://files.etoilebsd.net/yajl/
@@ -24,4 +25,8 @@ LICENSE= BSD
USE_LDCONFIG= yes
USE_CMAKE= yes
+post-patch:
+ @${REINPLACE_CMD} -e "s,share/pkgconfig,libdata/pkgconfig,g" \
+ ${WRKSRC}/src/CMakeLists.txt
+
.include <bsd.port.mk>
diff --git a/devel/yajl/pkg-plist b/devel/yajl/pkg-plist
index aad7d88e0e42..c5d3e7b7b776 100644
--- a/devel/yajl/pkg-plist
+++ b/devel/yajl/pkg-plist
@@ -9,4 +9,5 @@ lib/libyajl.so
lib/libyajl.so.2
lib/libyajl.so.%%VERSION%%
lib/libyajl_s.a
+libdata/yajl.pc
@dirrm include/yajl