1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Convert USE_BZIP2 to USES

- Use OPTIONS_SUB
- Cleanup plist
This commit is contained in:
Jason E. Hale 2014-10-11 22:19:06 +00:00
parent 2c04957db1
commit ad00ffdeb8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370676
2 changed files with 2 additions and 28 deletions

View File

@ -14,22 +14,20 @@ COMMENT= Application launcher and finder
LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
GNU_CONFIGURE= yes
USE_BZIP2= yes
USES= pathfix pkgconfig gmake
USES= gmake pathfix pkgconfig tar:bzip2
USE_GNOME= gtk20 glib20 intltool intlhack
USE_XFCE= configenv garcon libmenu libutil xfconf
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
CONFIGURE_ARGS+=--enable-nls
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
.include <bsd.port.mk>

View File

@ -65,27 +65,3 @@ share/applications/xfce4-run.desktop
%%NLS%%share/locale/vi/LC_MESSAGES/xfce4-appfinder.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/xfce4-appfinder.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/xfce4-appfinder.mo
%%NLS%%@dirrmtry share/locale/ur_PK/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/ur_PK
%%NLS%%@dirrmtry share/locale/ur/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/ur
%%NLS%%@dirrmtry share/locale/ug/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/ug
%%NLS%%@dirrmtry share/locale/te/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/te
%%NLS%%@dirrmtry share/locale/si/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/si
%%NLS%%@dirrmtry share/locale/mr/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/mr
%%NLS%%@dirrmtry share/locale/ku/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/ku
%%NLS%%@dirrmtry share/locale/kk/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/kk
%%NLS%%@dirrmtry share/locale/hy/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/hy
%%NLS%%@dirrmtry share/locale/dz/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/dz
%%NLS%%@dirrmtry share/locale/bn_IN/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/bn_IN
%%NLS%%@dirrmtry share/locale/ast/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/ast