diff options
author | bapt <bapt@FreeBSD.org> | 2014-05-26 19:56:49 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-05-26 19:56:49 +0800 |
commit | 071a5ef66403c1b755d62e6ae6c72512da77f99f (patch) | |
tree | 1029a7b775bacad0ea82c59eab9a1db01fc4fa82 /games | |
parent | 21ab539830f5cf4f3d3a5120855c242bd1aef2c3 (diff) | |
download | freebsd-ports-gnome-071a5ef66403c1b755d62e6ae6c72512da77f99f.tar.gz freebsd-ports-gnome-071a5ef66403c1b755d62e6ae6c72512da77f99f.tar.zst freebsd-ports-gnome-071a5ef66403c1b755d62e6ae6c72512da77f99f.zip |
Convert to USES=mono
Remove useless desktop database support (it does not need it)
Fix plist
Diffstat (limited to 'games')
-rw-r--r-- | games/gbrainy/Makefile | 20 | ||||
-rw-r--r-- | games/gbrainy/pkg-plist | 78 |
2 files changed, 6 insertions, 92 deletions
diff --git a/games/gbrainy/Makefile b/games/gbrainy/Makefile index 0cb060751527..c72932c982b2 100644 --- a/games/gbrainy/Makefile +++ b/games/gbrainy/Makefile @@ -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> diff --git a/games/gbrainy/pkg-plist b/games/gbrainy/pkg-plist index 46e1b8e27a5d..5ea2536f21e0 100644 --- a/games/gbrainy/pkg-plist +++ b/games/gbrainy/pkg-plist @@ -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 |