aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authornemysis <nemysis@FreeBSD.org>2013-09-14 21:35:52 +0800
committernemysis <nemysis@FreeBSD.org>2013-09-14 21:35:52 +0800
commitf43640d1236e5c3bb9089f5870ebbcddf0216f59 (patch)
tree72469bbbd2084d4cdfd03ebb8d7df19be9deac7d /games
parentf55c1489d5b2d3a81cd9c6bd5b74b906f8e94e70 (diff)
downloadfreebsd-ports-gnome-f43640d1236e5c3bb9089f5870ebbcddf0216f59.tar.gz
freebsd-ports-gnome-f43640d1236e5c3bb9089f5870ebbcddf0216f59.tar.zst
freebsd-ports-gnome-f43640d1236e5c3bb9089f5870ebbcddf0216f59.zip
- Update to 0.4.1
- USES gmake desktop-file-utils - Add DOCS Option - Add OPTIONS_SUB - Trim NLS - Trim REINPLACE_CMD - Update WWW Approved by: wg/pawel (mentors)
Diffstat (limited to 'games')
-rw-r--r--games/hitori/Makefile28
-rw-r--r--games/hitori/distinfo4
-rw-r--r--games/hitori/pkg-descr2
-rw-r--r--games/hitori/pkg-plist65
4 files changed, 48 insertions, 51 deletions
diff --git a/games/hitori/Makefile b/games/hitori/Makefile
index 9b2219885088..729bc95c4eb4 100644
--- a/games/hitori/Makefile
+++ b/games/hitori/Makefile
@@ -2,12 +2,12 @@
# $FreeBSD$
PORTNAME= hitori
-PORTVERSION= 0.4.0
+PORTVERSION= 0.4.1
CATEGORIES= games
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
-MAINTAINER= nemysis@gmx.ch
+MAINTAINER= nemysis@FreeBSD.org
COMMENT= Logic game similar to Sudoku
LICENSE= GPLv3 CCbyNCSA3
@@ -18,31 +18,27 @@ LICENSE_PERMS_CCbyNCSA3=dist-mirror pkg-mirror auto-accept
BUILD_DEPENDS= xml2po:${PORTSDIR}/textproc/gnome-doc-utils \
itstool:${PORTSDIR}/textproc/itstool
-LIB_DEPENDS= cairo:${PORTSDIR}/graphics/cairo
+LIB_DEPENDS= libcairo.so:${PORTSDIR}/graphics/cairo
USE_XZ= yes
-GNU_CONFIGURE= yes
-USES= gmake pkgconfig
+USES= gmake pkgconfig desktop-file-utils
USE_GNOME= glib20 gtk30
+GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
PORTDOCS= AUTHORS ChangeLog MAINTAINERS NEWS README
-OPTIONS_DEFINE= NLS
+OPTIONS_DEFINE= DOCS NLS
+OPTIONS_SUB= yes
-.include <bsd.port.options.mk>
+NLS_CONFIGURE_ENABLE= nls
+NLS_USES= gettext
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+= --disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
+.include <bsd.port.options.mk>
post-patch:
.if ${PORT_OPTIONS:MNLS}
- @${REINPLACE_CMD} -e 's|itlocaledir = $$(prefix)/$$(DATADIRNAME)/locale|itlocaledir = $$(prefix)/share/locale|' \
+ @${REINPLACE_CMD} -e 's|$$(prefix)/$$(DATADIRNAME)/locale|$$(prefix)/share/locale|' \
${WRKSRC}/po/Makefile.in.in
.endif
@@ -50,7 +46,7 @@ post-install:
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps/
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
diff --git a/games/hitori/distinfo b/games/hitori/distinfo
index ee06a849c813..196ea02fb970 100644
--- a/games/hitori/distinfo
+++ b/games/hitori/distinfo
@@ -1,2 +1,2 @@
-SHA256 (gnome2/hitori-0.4.0.tar.xz) = 5d9e1c0f5d33c960167a126242bf57ff4865a6aaf6602da4a25aae56dc491030
-SIZE (gnome2/hitori-0.4.0.tar.xz) = 448052
+SHA256 (gnome2/hitori-0.4.1.tar.xz) = 7a34ea697086cabd48ef740370f69995c9487def78ad7c9f280279eea2f282af
+SIZE (gnome2/hitori-0.4.1.tar.xz) = 456752
diff --git a/games/hitori/pkg-descr b/games/hitori/pkg-descr
index 17cb8e42972d..6cd1f47dad43 100644
--- a/games/hitori/pkg-descr
+++ b/games/hitori/pkg-descr
@@ -2,4 +2,4 @@ Hitori is a small application written to allow one to play the eponymous
puzzle game, which is similar in theme to more popular puzzles such as Sudoku
created by Nikoli.
-WWW: https://live.gnome.org/Hitori
+WWW: https://wiki.gnome.org/Apps/Hitori
diff --git a/games/hitori/pkg-plist b/games/hitori/pkg-plist
index 47f12f322511..e228c329d453 100644
--- a/games/hitori/pkg-plist
+++ b/games/hitori/pkg-plist
@@ -49,6 +49,13 @@ share/help/fr/hitori/index.page
share/help/fr/hitori/license.page
share/help/fr/hitori/playing.page
share/help/fr/hitori/strategy.page
+share/help/hu/hitori/customization.page
+share/help/hu/hitori/figures/hitori_main_window.png
+share/help/hu/hitori/game.page
+share/help/hu/hitori/index.page
+share/help/hu/hitori/license.page
+share/help/hu/hitori/playing.page
+share/help/hu/hitori/strategy.page
share/help/ro/hitori/customization.page
share/help/ro/hitori/figures/hitori_main_window.png
share/help/ro/hitori/game.page
@@ -90,6 +97,7 @@ share/icons/hicolor/48x48/apps/hitori.png
%%NLS%%share/locale/es/LC_MESSAGES/hitori.mo
%%NLS%%share/locale/fr/LC_MESSAGES/hitori.mo
%%NLS%%share/locale/gl/LC_MESSAGES/hitori.mo
+%%NLS%%share/locale/he/LC_MESSAGES/hitori.mo
%%NLS%%share/locale/hu/LC_MESSAGES/hitori.mo
%%NLS%%share/locale/id/LC_MESSAGES/hitori.mo
%%NLS%%share/locale/lv/LC_MESSAGES/hitori.mo
@@ -108,49 +116,42 @@ share/icons/hicolor/48x48/apps/hitori.png
share/pixmaps/hitori.png
%%NLS%%@dirrmtry share/locale/sr@latin/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/sr@latin
-@dirrmtry share/icons/hicolor/48x48/apps
-@dirrmtry share/icons/hicolor/48x48
-@dirrmtry share/icons/hicolor/32x32/apps
-@dirrmtry share/icons/hicolor/32x32
-@dirrmtry share/icons/hicolor/22x22/apps
-@dirrmtry share/icons/hicolor/22x22
-@dirrmtry share/icons/hicolor/16x16/apps
-@dirrmtry share/icons/hicolor/16x16
-@dirrmtry share/icons/hicolor
-@dirrmtry share/icons
@dirrm %%DATADIR%%
-@dirrmtry share/help/zh_CN/hitori/figures
-@dirrmtry share/help/zh_CN/hitori
+@dirrm share/help/zh_CN/hitori/figures
+@dirrm share/help/zh_CN/hitori
@dirrmtry share/help/zh_CN
-@dirrmtry share/help/sv/hitori/figures
-@dirrmtry share/help/sv/hitori
+@dirrm share/help/sv/hitori/figures
+@dirrm share/help/sv/hitori
@dirrmtry share/help/sv
-@dirrmtry share/help/sl/hitori/figures
-@dirrmtry share/help/sl/hitori
+@dirrm share/help/sl/hitori/figures
+@dirrm share/help/sl/hitori
@dirrmtry share/help/sl
-@dirrmtry share/help/ro/hitori/figures
-@dirrmtry share/help/ro/hitori
+@dirrm share/help/ro/hitori/figures
+@dirrm share/help/ro/hitori
@dirrmtry share/help/ro
-@dirrmtry share/help/fr/hitori/figures
-@dirrmtry share/help/fr/hitori
+@dirrm share/help/hu/hitori/figures
+@dirrm share/help/hu/hitori
+@dirrmtry share/help/hu
+@dirrm share/help/fr/hitori/figures
+@dirrm share/help/fr/hitori
@dirrmtry share/help/fr
-@dirrmtry share/help/es/hitori/figures
-@dirrmtry share/help/es/hitori
+@dirrm share/help/es/hitori/figures
+@dirrm share/help/es/hitori
@dirrmtry share/help/es
-@dirrmtry share/help/en_GB/hitori/figures
-@dirrmtry share/help/en_GB/hitori
+@dirrm share/help/en_GB/hitori/figures
+@dirrm share/help/en_GB/hitori
@dirrmtry share/help/en_GB
-@dirrmtry share/help/de/hitori/figures
-@dirrmtry share/help/de/hitori
+@dirrm share/help/de/hitori/figures
+@dirrm share/help/de/hitori
@dirrmtry share/help/de
-@dirrmtry share/help/da/hitori/figures
-@dirrmtry share/help/da/hitori
+@dirrm share/help/da/hitori/figures
+@dirrm share/help/da/hitori
@dirrmtry share/help/da
-@dirrmtry share/help/cs/hitori/figures
-@dirrmtry share/help/cs/hitori
+@dirrm share/help/cs/hitori/figures
+@dirrm share/help/cs/hitori
@dirrmtry share/help/cs
-@dirrmtry share/help/C/hitori/figures
-@dirrmtry share/help/C/hitori
+@dirrm share/help/C/hitori/figures
+@dirrm share/help/C/hitori
@dirrmtry share/help/C
@dirrmtry share/help
@dirrmtry share/applications