blob: 808c1eabb8430c5215b667a108044a36061a8102 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# 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}
MAINTAINER= games@FreeBSD.org
COMMENT= Enjoy playing with Sudoku boards designed by yourself
LICENSE= GPLv2 # or later
WRKSRC= ${WRKDIR}/SudokuSenseiSources
USES= qmake
USE_QT4= moc_build uic_build corelib gui iconengines_run imageformats_run
SUB_FILES= ${PORTNAME} pkg-deinstall pkg-message
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>
|