aboutsummaryrefslogtreecommitdiff
path: root/games/hitori/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/hitori/Makefile')
-rw-r--r--games/hitori/Makefile57
1 files changed, 13 insertions, 44 deletions
diff --git a/games/hitori/Makefile b/games/hitori/Makefile
index 185d47570188..7bd9f3627421 100644
--- a/games/hitori/Makefile
+++ b/games/hitori/Makefile
@@ -1,54 +1,23 @@
-# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
+# Created by: FreeBSD GNOME Team <gnome@freebsd.org>
# $FreeBSD$
+# $MCom: ports/trunk/games/hitori/Makefile 20028 2014-10-28 13:52:15Z gusi $
PORTNAME= hitori
-PORTVERSION= 0.4.3
-CATEGORIES= games
+PORTVERSION= 3.14.1
+CATEGORIES= games gnome
MASTER_SITES= GNOME
-DIST_SUBDIR= gnome2
+DIST_SUBDIR= gnome3
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Logic game similar to Sudoku
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Hitori
-LICENSE= GPLv3 CCbyNCSA3
-LICENSE_COMB= dual
-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= itstool:${PORTSDIR}/textproc/itstool
-BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser \
- xml2po:${PORTSDIR}/textproc/gnome-doc-utils \
- itstool:${PORTSDIR}/textproc/itstool
-
-USES= gmake pkgconfig tar:xz
-USE_GNOME= cairo glib20 gtk30
-GNU_CONFIGURE= yes
+USES= gettext gmake pathfix pkgconfig tar:xz
+USE_GNOME= gtk30 intlhack librsvg2 libxml2:build
INSTALLS_ICONS= yes
-
-PORTDOCS= AUTHORS ChangeLog MAINTAINERS NEWS README
-
-OPTIONS_DEFINE= DOCS NLS
-OPTIONS_SUB= yes
-
-NLS_CONFIGURE_ENABLE= nls
-NLS_USES= gettext
-
-# Wrong versioning upstream, Upstream use GTK3 in newer Versions
-PORTSCOUT= ignore:1
-
-.include <bsd.port.options.mk>
-
-post-patch:
-.if ${PORT_OPTIONS:MNLS}
- @${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 \
- ${STAGEDIR}${PREFIX}/share/pixmaps/
-
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+GNU_CONFIGURE= yes
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.mk>