svn commit: r350110 - head/deskutils/virt-manager
Baptiste Daroussin
bapt at FreeBSD.org
Fri Apr 4 13:18:10 UTC 2014
Author: bapt
Date: Fri Apr 4 13:18:09 2014
New Revision: 350110
URL: http://svnweb.freebsd.org/changeset/ports/350110
QAT: https://qat.redports.org/buildarchive/r350110/
Log:
Supprot stage
Use options helpers
Modified:
head/deskutils/virt-manager/Makefile
head/deskutils/virt-manager/pkg-plist
Modified: head/deskutils/virt-manager/Makefile
==============================================================================
--- head/deskutils/virt-manager/Makefile Fri Apr 4 13:10:24 2014 (r350109)
+++ head/deskutils/virt-manager/Makefile Fri Apr 4 13:18:09 2014 (r350110)
@@ -21,19 +21,11 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus
gtk-vnc>=0.3.10:${PORTSDIR}/net/gtk-vnc \
librsvg2>=2.32.1:${PORTSDIR}/graphics/librsvg2
-NO_STAGE= yes
-
OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+= --disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
USE_GNOME= pygnome2
INSTALLS_ICONS= yes
@@ -43,9 +35,7 @@ CONFIGURE_ARGS+= --without-tui
USES= gmake
USE_PYTHON= yes
-MAN1= virt-manager.1
-
-post-patch-script:
+post-patch:
@${REINPLACE_CMD} -e 's|itlocaledir = $$(prefix)/$$(DATADIRNAME)/locale|itlocaledir = $$(prefix)/share/locale|' \
${WRKSRC}/po/Makefile.in.in
Modified: head/deskutils/virt-manager/pkg-plist
==============================================================================
--- head/deskutils/virt-manager/pkg-plist Fri Apr 4 13:10:24 2014 (r350109)
+++ head/deskutils/virt-manager/pkg-plist Fri Apr 4 13:18:09 2014 (r350110)
@@ -1,5 +1,6 @@
bin/virt-manager
libexec/virt-manager-launch
+man/man1/virt-manager.1.gz
share/applications/virt-manager.desktop
share/dbus-1/services/virt-manager.service
share/icons/hicolor/16x16/apps/virt-manager.png
More information about the svn-ports-all
mailing list