1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/games/hitori/Makefile
Rusmir Dusko 410b568baf - 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
2013-11-18 23:26:09 +00:00

53 lines
1.3 KiB
Makefile

# Created by: nemysis <nemysis@gmx.ch>
# $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 <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>