aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2007-07-12 04:45:41 +0800
committerahze <ahze@FreeBSD.org>2007-07-12 04:45:41 +0800
commitcba08f2f14a9be48ab60eaf4e71c59af7f034290 (patch)
tree1bb8812cf68b4b34abff18f35b771be8143bfaca
parent8362d67b1de48311cec3befc41bd9dcde36ae898 (diff)
downloadfreebsd-ports-gnome-cba08f2f14a9be48ab60eaf4e71c59af7f034290.tar.gz
freebsd-ports-gnome-cba08f2f14a9be48ab60eaf4e71c59af7f034290.tar.zst
freebsd-ports-gnome-cba08f2f14a9be48ab60eaf4e71c59af7f034290.zip
Install pkgconfig files under libdata
-rw-r--r--lang/vala/Makefile4
-rw-r--r--lang/vala/pkg-plist3
2 files changed, 5 insertions, 2 deletions
diff --git a/lang/vala/Makefile b/lang/vala/Makefile
index 32cb569fd99e..66cebf7f66f2 100644
--- a/lang/vala/Makefile
+++ b/lang/vala/Makefile
@@ -7,6 +7,7 @@
PORTNAME= vala
PORTVERSION= 0.1.0
+PORTREVISION= 1
CATEGORIES= lang gnome
MASTER_SITES= GNOME
@@ -22,4 +23,7 @@ USE_BISON= yes
MAN1= valac.1
USE_LDCONFIG= yes
+post-patch:
+ @${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|' \
+ ${WRKSRC}/Makefile.in
.include <bsd.port.mk>
diff --git a/lang/vala/pkg-plist b/lang/vala/pkg-plist
index 902b58845cb3..b60507083540 100644
--- a/lang/vala/pkg-plist
+++ b/lang/vala/pkg-plist
@@ -162,7 +162,7 @@ include/vala-1.0/vala/valawhilestatement.h
lib/libvala.la
lib/libvala.so
lib/libvala.so.0
-lib/pkgconfig/vala-1.0.pc
+libdata/pkgconfig/vala-1.0.pc
%%DATADIR%%/vapi/atk.vala
%%DATADIR%%/vapi/cairo.vala
%%DATADIR%%/vapi/dbus-glib-1.vala
@@ -183,7 +183,6 @@ lib/pkgconfig/vala-1.0.pc
%%DATADIR%%/vapi/vte.vala
@dirrm %%DATADIR%%/vapi
@dirrm %%DATADIR%%
-@dirrm lib/pkgconfig
@dirrm include/vala-1.0/vala
@dirrm include/vala-1.0/gobject
@dirrm include/vala-1.0/ccode