1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/games/simsu/Makefile
2018-06-07 17:02:16 +00:00

42 lines
908 B
Makefile

# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= simsu
PORTVERSION= 1.3.6
CATEGORIES= games
MASTER_SITES= https://gottcode.org/${PORTNAME}/ \
https://mirror.amdmi3.ru/distfiles/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Basic Sudoku game
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= compiler:c++11-lib qmake tar:bzip2
USE_QT5= core gui widgets buildtools_build linguisttools_build
USE_GL= gl
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PORTDOCS= *
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
post-patch:
@${REINPLACE_CMD} -e \
's|share/man|man|' ${WRKSRC}/simsu.pro
post-patch-NLS-off:
@${REINPLACE_CMD} -e \
'/INSTALLS/s|qm||' ${WRKSRC}/simsu.pro
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} CREDITS ChangeLog NEWS README \
${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>