aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-04-04 21:38:34 +0800
committerbapt <bapt@FreeBSD.org>2014-04-04 21:38:34 +0800
commit216870f64aa0cd011d57cd3eb084e4e30fa06caa (patch)
tree0777a54983fbcc87d75b08168e110fc0d421a366 /devel
parent1c2454655de9395fa5a074a34712a511b1fba4ec (diff)
downloadfreebsd-ports-gnome-216870f64aa0cd011d57cd3eb084e4e30fa06caa.tar.gz
freebsd-ports-gnome-216870f64aa0cd011d57cd3eb084e4e30fa06caa.tar.zst
freebsd-ports-gnome-216870f64aa0cd011d57cd3eb084e4e30fa06caa.zip
Fix plist
Use autotools "install-strip" target to properly strip the binaries
Diffstat (limited to 'devel')
-rw-r--r--devel/libvirt-glib/Makefile13
-rw-r--r--devel/libvirt-glib/pkg-plist30
2 files changed, 32 insertions, 11 deletions
diff --git a/devel/libvirt-glib/Makefile b/devel/libvirt-glib/Makefile
index 1eddace1e773..60800e3fc4c7 100644
--- a/devel/libvirt-glib/Makefile
+++ b/devel/libvirt-glib/Makefile
@@ -3,6 +3,7 @@
PORTNAME= libvirt-glib
PORTVERSION= 0.1.8
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://libvirt.org/libvirt/glib/
@@ -20,20 +21,12 @@ USE_PYTHON= 2
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -fstack-protector
CONFIGURE_ARGS+= --enable-introspection
+INSTALL_TARGET= install-strip
SHLIB_VER= 1.0
-STRIP_FILES= libvirt-glib-${SHLIB_VER}.so.1 \
- libvirt-gconfig-${SHLIB_VER}.so.1 \
- libvirt-gobject-${SHLIB_VER}.so.1
-post-patch-script:
+post-patch:
@${REINPLACE_CMD} 's}--quiet}--quiet --libtool=${LIBTOOL}}' \
${WRKSRC}/libvirt-*/Makefile.in
-post-install-script:
-.for lib in ${STRIP_FILES}
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${lib}
-.endfor
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${lib}/python${PYTHON_VER}/site-packages/libvirtglibmod.so
-
.include <bsd.port.mk>
diff --git a/devel/libvirt-glib/pkg-plist b/devel/libvirt-glib/pkg-plist
index 8ca8b713c361..6d109faa7cd5 100644
--- a/devel/libvirt-glib/pkg-plist
+++ b/devel/libvirt-glib/pkg-plist
@@ -22,6 +22,7 @@ include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-controller.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-cpu-feature.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-cpu.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-device.h
+include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-disk-driver.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-disk.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-filesys.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-graphics-desktop.h
@@ -32,6 +33,8 @@ include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-graphics-vnc.
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-graphics.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-input.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-interface-bridge.h
+include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-interface-filterref-parameter.h
+include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-interface-filterref.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-interface-network.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-interface-user.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-interface.h
@@ -46,9 +49,10 @@ include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-smartcard-hos
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-smartcard-host.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-smartcard-passthrough.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-smartcard.h
-include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-snapshot.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-snapshot-disk.h
+include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-snapshot.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-sound.h
+include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-timer-hpet.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-timer-pit.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-timer-rtc.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-timer.h
@@ -180,6 +184,26 @@ share/gtk-doc/html/Libvirt-gobject/object-tree.html
share/gtk-doc/html/Libvirt-gobject/right.png
share/gtk-doc/html/Libvirt-gobject/style.css
share/gtk-doc/html/Libvirt-gobject/up.png
+share/locale/bo/LC_MESSAGES/libvirt-glib.mo
+share/locale/cs/LC_MESSAGES/libvirt-glib.mo
+share/locale/de/LC_MESSAGES/libvirt-glib.mo
+share/locale/el/LC_MESSAGES/libvirt-glib.mo
+share/locale/es/LC_MESSAGES/libvirt-glib.mo
+share/locale/fr/LC_MESSAGES/libvirt-glib.mo
+share/locale/gl/LC_MESSAGES/libvirt-glib.mo
+share/locale/ja/LC_MESSAGES/libvirt-glib.mo
+share/locale/ka/LC_MESSAGES/libvirt-glib.mo
+share/locale/kn/LC_MESSAGES/libvirt-glib.mo
+share/locale/nl/LC_MESSAGES/libvirt-glib.mo
+share/locale/pl/LC_MESSAGES/libvirt-glib.mo
+share/locale/pt/LC_MESSAGES/libvirt-glib.mo
+share/locale/ru/LC_MESSAGES/libvirt-glib.mo
+share/locale/te/LC_MESSAGES/libvirt-glib.mo
+share/locale/tr/LC_MESSAGES/libvirt-glib.mo
+share/locale/uk/LC_MESSAGES/libvirt-glib.mo
+share/locale/vi/LC_MESSAGES/libvirt-glib.mo
+share/locale/zh_CN/LC_MESSAGES/libvirt-glib.mo
+share/locale/zh_TW/LC_MESSAGES/libvirt-glib.mo
@dirrmtry include/libvirt-gconfig-1.0/libvirt-gconfig
@dirrmtry include/libvirt-gconfig-1.0
@dirrmtry include/libvirt-glib-1.0/libvirt-glib
@@ -187,6 +211,10 @@ share/gtk-doc/html/Libvirt-gobject/up.png
@dirrmtry include/libvirt-gobject-1.0/libvirt-gobject
@dirrmtry include/libvirt-gobject-1.0
@dirrmtry %%LIB32DIR%%/girepository-1.0
+@dirrmtry share/locale/te/LC_MESSAGES
+@dirrmtry share/locale/te
+@dirrmtry share/locale/bo/LC_MESSAGES
+@dirrmtry share/locale/bo
@dirrmtry share/gtk-doc/html/Libvirt-glib
@dirrmtry share/gtk-doc/html/Libvirt-gobject
@dirrmtry share/gtk-doc/html/Libvirt-gconfig