Convert to USES=mono

Remove useless desktop database support (it does not need it)
Fix plist
This commit is contained in:
Baptiste Daroussin 2014-05-26 11:56:49 +00:00
parent 41b3051154
commit b66f2f2ad7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355308
2 changed files with 6 additions and 92 deletions

View file

@ -2,7 +2,7 @@
PORTNAME= gbrainy
PORTVERSION= 2.2.2
PORTEPOCH= 1
PORTEPOCH= 2
CATEGORIES= games
MASTER_SITES= http://gent.softcatala.org/jmas/gbrainy/
@ -16,22 +16,14 @@ BUILD_DEPENDS= mautil:${PORTSDIR}/devel/mono-addins \
${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash
RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_GNOME= desktopfileutils gnomehack gtksharp20 gnomesharp20
USES= gettext gmake pkgconfig
USE_GNOME= gtksharp20 gnomesharp20
USES= gettext gmake mono pathfix pkgconfig \
shebangfix
SHEBANG_FILES= src/Clients/Classical/gbrainy.in
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALLS_ICONS= yes
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|' \
${WRKSRC}/src/Clients/Classical/gbrainy.in
post-install:
@-update-desktop-database
.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -505,96 +505,20 @@ share/pixmaps/gbrainy.png
share/pixmaps/gbrainy.svg
share/pixmaps/gbrainy16.png
share/pixmaps/gbrainy48.png
@dirrmtry share/locale/zh_TW/LC_MESSAGES
@dirrmtry share/locale/zh_TW
@dirrmtry share/locale/zh_HK/LC_MESSAGES
@dirrmtry share/locale/zh_HK
@dirrmtry share/locale/zh_CN/LC_MESSAGES
@dirrmtry share/locale/zh_CN
@dirrmtry share/locale/vi/LC_MESSAGES
@dirrmtry share/locale/vi
@dirrmtry share/locale/uk/LC_MESSAGES
@dirrmtry share/locale/uk
@dirrmtry share/locale/ug/LC_MESSAGES
@dirrmtry share/locale/ug
@dirrmtry share/locale/tr/LC_MESSAGES
@dirrmtry share/locale/tr
@dirrmtry share/locale/th/LC_MESSAGES
@dirrmtry share/locale/th
@dirrmtry share/locale/te/LC_MESSAGES
@dirrmtry share/locale/te
@dirrmtry share/locale/ta/LC_MESSAGES
@dirrmtry share/locale/ta
@dirrmtry share/locale/sv/LC_MESSAGES
@dirrmtry share/locale/sv
@dirrmtry share/locale/sr@latin/LC_MESSAGES
@dirrmtry share/locale/sr@latin
@dirrmtry share/locale/sl/LC_MESSAGES
@dirrmtry share/locale/sl
@dirrmtry share/locale/sk/LC_MESSAGES
@dirrmtry share/locale/sk
@dirrmtry share/locale/ru/LC_MESSAGES
@dirrmtry share/locale/ru
@dirrmtry share/locale/ro/LC_MESSAGES
@dirrmtry share/locale/ro
@dirrmtry share/locale/pt_BR/LC_MESSAGES
@dirrmtry share/locale/pt_BR
@dirrmtry share/locale/pt/LC_MESSAGES
@dirrmtry share/locale/pt
@dirrmtry share/locale/pl/LC_MESSAGES
@dirrmtry share/locale/pl
@dirrmtry share/locale/nl/LC_MESSAGES
@dirrmtry share/locale/nl
@dirrmtry share/locale/lv/LC_MESSAGES
@dirrmtry share/locale/lv
@dirrmtry share/locale/nb/LC_MESSAGES
@dirrmtry share/locale/nb
@dirrmtry share/locale/oc/LC_MESSAGES
@dirrmtry share/locale/oc
@dirrmtry share/locale/ko/LC_MESSAGES
@dirrmtry share/locale/ko
@dirrmtry share/locale/it/LC_MESSAGES
@dirrmtry share/locale/it
@dirrmtry share/locale/id/LC_MESSAGES
@dirrmtry share/locale/id
@dirrmtry share/locale/hu/LC_MESSAGES
@dirrmtry share/locale/hu
@dirrmtry share/locale/hr/LC_MESSAGES
@dirrmtry share/locale/hr
@dirrmtry share/locale/hi/LC_MESSAGES
@dirrmtry share/locale/hi
@dirrmtry share/locale/gl/LC_MESSAGES
@dirrmtry share/locale/gl
@dirrmtry share/locale/fr/LC_MESSAGES
@dirrmtry share/locale/fr
@dirrmtry share/locale/fi/LC_MESSAGES
@dirrmtry share/locale/fi
@dirrmtry share/locale/eu/LC_MESSAGES
@dirrmtry share/locale/eu
@dirrmtry share/locale/es/LC_MESSAGES
@dirrmtry share/locale/es
@dirrmtry share/locale/eo/LC_MESSAGES
@dirrmtry share/locale/eo
@dirrmtry share/locale/en_GB/LC_MESSAGES
@dirrmtry share/locale/en_GB
@dirrmtry share/locale/el/LC_MESSAGES
@dirrmtry share/locale/el
@dirrmtry share/locale/de/LC_MESSAGES
@dirrmtry share/locale/de
@dirrmtry share/locale/da/LC_MESSAGES
@dirrmtry share/locale/da
@dirrmtry share/locale/cs/LC_MESSAGES
@dirrmtry share/locale/cs
@dirrmtry share/locale/ca@valencia/LC_MESSAGES
@dirrmtry share/locale/ca@valencia
@dirrmtry share/locale/ca/LC_MESSAGES
@dirrmtry share/locale/ca
@dirrmtry share/locale/ast/LC_MESSAGES
@dirrmtry share/locale/ast
@dirrmtry share/locale/ar/LC_MESSAGES
@dirrmtry share/locale/ar
@dirrmtry share/locale/af/LC_MESSAGES
@dirrmtry share/locale/af
@dirrm share/gnome/help/gbrainy/sr@latin/figures
@dirrm share/gnome/help/gbrainy/sr@latin
@dirrm share/gnome/help/gbrainy/sr/figures
@ -639,5 +563,3 @@ share/pixmaps/gbrainy48.png
@dirrm share/games/gbrainy
@dirrmtry share/games
@dirrm lib/gbrainy
@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true