diff options
author | nemysis <nemysis@FreeBSD.org> | 2013-11-19 07:26:09 +0800 |
---|---|---|
committer | nemysis <nemysis@FreeBSD.org> | 2013-11-19 07:26:09 +0800 |
commit | 6aa2e5dc36fca2845e46b075a1127a074218de11 (patch) | |
tree | a9b13f14b1b0353c9b36f6b3759513ffa409d352 | |
parent | 50c97e7157f640a3253d2c669a566d2aac417b89 (diff) | |
download | freebsd-ports-gnome-6aa2e5dc36fca2845e46b075a1127a074218de11.tar.gz freebsd-ports-gnome-6aa2e5dc36fca2845e46b075a1127a074218de11.tar.zst freebsd-ports-gnome-6aa2e5dc36fca2845e46b075a1127a074218de11.zip |
- 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
-rw-r--r-- | games/hitori/Makefile | 20 | ||||
-rw-r--r-- | games/hitori/distinfo | 4 | ||||
-rw-r--r-- | games/hitori/files/patch-src__interface.c (renamed from games/hitori/files/patch-src-interface.c) | 4 |
3 files changed, 13 insertions, 15 deletions
diff --git a/games/hitori/Makefile b/games/hitori/Makefile index 803b578a338c..2b3d0e942d58 100644 --- a/games/hitori/Makefile +++ b/games/hitori/Makefile @@ -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-NonCommercial-ShareAlike 3.0 Unported 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> diff --git a/games/hitori/distinfo b/games/hitori/distinfo index 196ea02fb970..a88d5efe1ae0 100644 --- a/games/hitori/distinfo +++ b/games/hitori/distinfo @@ -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 diff --git a/games/hitori/files/patch-src-interface.c b/games/hitori/files/patch-src__interface.c index ec5cc92b0570..0593bd7298fb 100644 --- a/games/hitori/files/patch-src-interface.c +++ b/games/hitori/files/patch-src__interface.c @@ -1,5 +1,5 @@ ---- src/interface.c.orig 2012-09-29 03:47:48.000000000 +0200 -+++ src/interface.c 2012-11-02 15:11:34.000000000 +0100 +--- ./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" |