mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
Supprot stage
Use options helpers
This commit is contained in:
parent
f455efcb9e
commit
9f3268d565
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350110
@ -21,19 +21,11 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.83.2:${PORTSDIR}/devel/py-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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user