svn commit: r334274 - in head/games/hitori: . files
Rusmir Dusko
nemysis at FreeBSD.org
Mon Nov 18 23:26:10 UTC 2013
Author: nemysis
Date: Mon Nov 18 23:26:09 2013
New Revision: 334274
URL: http://svnweb.freebsd.org/changeset/ports/334274
Log:
- Update to 0.4.2
- Add dependency for textproc/p5-XML-Parser
- USE_GNOME cairo instead of graphics/cairo
- Support STAGEDIR
- Use patch-src__interface.c instead of patch-src-interface.c
Approved by: pawel / wg (mentors, implicit
Added:
head/games/hitori/files/patch-src__interface.c (contents, props changed)
Deleted:
head/games/hitori/files/patch-src-interface.c
Modified:
head/games/hitori/Makefile
head/games/hitori/distinfo
Modified: head/games/hitori/Makefile
==============================================================================
--- head/games/hitori/Makefile Mon Nov 18 23:06:27 2013 (r334273)
+++ head/games/hitori/Makefile Mon Nov 18 23:26:09 2013 (r334274)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= hitori
-PORTVERSION= 0.4.1
+PORTVERSION= 0.4.2
CATEGORIES= games
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
@@ -16,13 +16,13 @@ LICENSE_NAME_CCbyNCSA3= Attribution-NonC
LICENSE_FILE_CCbyNCSA3= ${WRKSRC}/COPYING-DOCS
LICENSE_PERMS_CCbyNCSA3=dist-mirror pkg-mirror auto-accept
-BUILD_DEPENDS= xml2po:${PORTSDIR}/textproc/gnome-doc-utils \
+BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser \
+ xml2po:${PORTSDIR}/textproc/gnome-doc-utils \
itstool:${PORTSDIR}/textproc/itstool
-LIB_DEPENDS= libcairo.so:${PORTSDIR}/graphics/cairo
USE_XZ= yes
USES= gmake pkgconfig desktop-file-utils
-USE_GNOME= glib20 gtk30
+USE_GNOME= cairo glib20 gtk30
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
@@ -34,21 +34,19 @@ OPTIONS_SUB= yes
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
-NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
.if ${PORT_OPTIONS:MNLS}
- @${REINPLACE_CMD} -e 's|$$(prefix)/$$(DATADIRNAME)/locale|$$(prefix)/share/locale|' \
+ @${REINPLACE_CMD} -e 's|$$(DATADIRNAME)/locale|share/locale|' \
${WRKSRC}/po/Makefile.in.in
.endif
post-install:
- ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps/
+ ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
+ ${STAGEDIR}${PREFIX}/share/pixmaps/
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
Modified: head/games/hitori/distinfo
==============================================================================
--- head/games/hitori/distinfo Mon Nov 18 23:06:27 2013 (r334273)
+++ head/games/hitori/distinfo Mon Nov 18 23:26:09 2013 (r334274)
@@ -1,2 +1,2 @@
-SHA256 (gnome2/hitori-0.4.1.tar.xz) = 7a34ea697086cabd48ef740370f69995c9487def78ad7c9f280279eea2f282af
-SIZE (gnome2/hitori-0.4.1.tar.xz) = 456752
+SHA256 (gnome2/hitori-0.4.2.tar.xz) = 0df62df7f41ca1648d6a53362aa3c00d90406e39f5d063f9b9d51dbc465c77eb
+SIZE (gnome2/hitori-0.4.2.tar.xz) = 461932
Added: head/games/hitori/files/patch-src__interface.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/hitori/files/patch-src__interface.c Mon Nov 18 23:26:09 2013 (r334274)
@@ -0,0 +1,10 @@
+--- ./src/interface.c.orig 2013-10-10 10:27:44.000000000 +0200
++++ ./src/interface.c 2013-11-12 19:36:25.000000000 +0100
+@@ -26,6 +26,7 @@
+ #include "main.h"
+ #include "interface.h"
+ #include "rules.h"
++#include <string.h>
+
+ #define NORMAL_FONT_SCALE 0.9
+ #define PAINTED_FONT_SCALE 0.6
More information about the svn-ports-head
mailing list