1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/games/hitori/Makefile
Rusmir Dusko 8a38165035 - Update to 0.4.3, announce message:
* Translations:
 ** cs (Marek Cercky)
 ** el (Dimitris Spingos, Tom Tryfonidis)
 ** es (Daniel Mustieles)
 ** gl (Fran Dieguez)
 ** id (Andika Triwidada)
 ** pl (Piotr Drag)
 ** pt_BR (Rafael Ferreira, Enrico Nicoletto)
 ** sl (Matej Urbancic)
 ** sr (Miroslav Nikolic)
2014-06-17 20:07:23 +00:00

52 lines
1.2 KiB
Makefile

# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= hitori
PORTVERSION= 0.4.3
CATEGORIES= games
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
MAINTAINER= games@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
USES= gmake pkgconfig tar:xz
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 <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}
.include <bsd.port.mk>