# Created by: nemysis # $FreeBSD$ PORTNAME= hitori PORTVERSION= 0.4.2 CATEGORIES= games MASTER_SITES= GNOME DIST_SUBDIR= gnome2 MAINTAINER= nemysis@FreeBSD.org COMMENT= Logic game similar to Sudoku 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= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser \ xml2po:${PORTSDIR}/textproc/gnome-doc-utils \ itstool:${PORTSDIR}/textproc/itstool USE_XZ= yes USES= gmake pkgconfig desktop-file-utils USE_GNOME= cairo glib20 gtk30 GNU_CONFIGURE= yes INSTALLS_ICONS= yes PORTDOCS= AUTHORS ChangeLog MAINTAINERS NEWS README OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext .include 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} .include