2014-01-14 04:16:00 +00:00
|
|
|
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= sudoku-sensei
|
|
|
|
PORTVERSION= 02.00
|
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-for-linux/Source%20and%20exe%20files%20for%20linux%2C%20ver.%202.00/ \
|
|
|
|
SF/nemysisfreebsdp/${CATEGORIES}/:icons
|
|
|
|
DISTFILES= ${PORTNAME}-src-${DISTVERSION:S/./-/}${EXTRACT_SUFX} \
|
|
|
|
${PORTNAME}.png:icons
|
|
|
|
EXTRACT_ONLY= ${PORTNAME}-src-${DISTVERSION:S/./-/}${EXTRACT_SUFX}
|
|
|
|
|
2014-10-31 16:11:33 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-01-14 04:16:00 +00:00
|
|
|
COMMENT= Enjoy playing with Sudoku boards designed by yourself
|
|
|
|
|
2014-10-14 15:38:23 +00:00
|
|
|
LICENSE= GPLv2 # or later
|
2014-01-14 04:16:00 +00:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/SudokuSenseiSources
|
|
|
|
|
|
|
|
USES= qmake
|
|
|
|
USE_QT4= moc_build uic_build corelib gui iconengines_run imageformats_run
|
|
|
|
|
2014-03-11 16:36:27 +00:00
|
|
|
SUB_FILES= ${PORTNAME} pkg-deinstall pkg-message
|
2014-01-14 04:16:00 +00:00
|
|
|
|
|
|
|
DESKTOP_ENTRIES="Sudoku Sensei" "" "${PORTNAME}" \
|
|
|
|
"${PORTNAME}" "Game;LogicGame;" ""
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
|
|
|
|
|
|
|
|
.for d in board doc images language saves system
|
|
|
|
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR})
|
|
|
|
.endfor
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/SudokuSensei ${STAGEDIR}${DATADIR}
|
|
|
|
|
|
|
|
.for d in SudokuSensei.rc license.txt
|
|
|
|
@(cd ${WRKSRC} && ${CP} -a ${d} ${STAGEDIR}${DATADIR})
|
|
|
|
.endfor
|
|
|
|
# Fix Permission that user can write in saves and system directories
|
|
|
|
@(cd ${STAGEDIR}${DATADIR} && ${CHMOD} -R 775 saves system)
|
|
|
|
|
|
|
|
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
|
|
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|