View | Details | Raw Unified | Return to bug 197434
Collapse All | Expand All

(-)games/simsu/Makefile (-26 / +15 lines)
Lines 2-44 Link Here
2
# $FreeBSD: head/games/simsu/Makefile 371872 2014-10-31 16:11:33Z amdmi3 $
2
# $FreeBSD: head/games/simsu/Makefile 371872 2014-10-31 16:11:33Z amdmi3 $
3
3
4
PORTNAME=	simsu
4
PORTNAME=	simsu
5
PORTVERSION=	1.2.3
5
PORTVERSION=	1.3.1
6
PORTREVISION=	1
6
DISTVERSIONSUFFIX=	-src
7
CATEGORIES=	games
7
CATEGORIES=	games
8
MASTER_SITES=	http://gottcode.org/${PORTNAME}/
8
MASTER_SITES=	http://gottcode.org/simsu/
9
EXTRACT_SUFX=	-src.tar.bz2
10
9
11
MAINTAINER=	ports@FreeBSD.org
10
MAINTAINER=	ports@FreeBSD.org
12
COMMENT=	Basic Sudoku game
11
COMMENT=	Basic Sudoku game
13
12
14
LICENSE=	GPLv3 # or later
13
LICENSE=	GPLv3 # (or later)
15
LICENSE_FILE=	${WRKSRC}/COPYING
16
14
17
USES=		qmake tar:bzip2
15
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
18
USE_QT4=	moc_build rcc_build uic_build iconengines_run imageformats_run \
19
		gui
20
INSTALLS_ICONS=	yes
21
22
PORTDOCS=	CREDITS ChangeLog
23
16
24
OPTIONS_DEFINE=	DOCS NLS
17
USES=		compiler:c++11-lib qmake tar:bzip2
25
OPTIONS_SUB=	yes
18
USE_QT5=	buildtools_build widgets
19
INSTALLS_ICONS=	yes
26
20
27
.include <bsd.port.options.mk>
21
OPTIONS_DEFINE=	DOCS
28
22
29
post-patch:
23
post-patch:
30
.if ! ${PORT_OPTIONS:MNLS}
24
	@${REINPLACE_CMD} -e \
31
	@${REINPLACE_CMD} -i '' '/qm.files/,/qm.path/s/^/#/' \
25
		's|c++0x|c++11| ; \
32
		${WRKSRC}/${PORTNAME}.pro
26
		 s|share/man|man|' ${WRKSRC}/simsu.pro
33
.endif
34
27
35
post-install:
28
post-install:
36
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
29
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
37
30
	(cd ${WRKSRC} && ${INSTALL_DATA} CREDITS ChangeLog NEWS README \
38
	${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
31
		${STAGEDIR}${DOCSDIR})
39
		${STAGEDIR}${PREFIX}/share/pixmaps/
40
41
	${MKDIR} ${STAGEDIR}${DOCSDIR}
42
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
43
32
44
.include <bsd.port.mk>
33
.include <bsd.port.mk>
(-)games/simsu/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (simsu-1.2.3-src.tar.bz2) = 623a27e487bd360bee58430b6530f3371f915a868910615572559a3e055a5da4
1
SHA256 (simsu-1.3.1-src.tar.bz2) = 94cd1728a3bd1743b65c2636cb7ecb739ba7b1b31660fca4b5318908f000e9b7
2
SIZE (simsu-1.2.3-src.tar.bz2) = 328020
2
SIZE (simsu-1.3.1-src.tar.bz2) = 480585
(-)games/simsu/pkg-descr (-2 / +4 lines)
Lines 1-8 Link Here
1
Simsu is a basic Sudoku game. You can switch between filling in notes
1
Simsu is a basic Sudoku game. You can switch between filling in notes
2
(pencil mode), or filling in answers (pen mode).
2
(pencil mode), or filling in answers (pen mode).
3
3
To make it easier to see where to place numbers, you can highlight
4
To make it easier to see where to place numbers, you can highlight
4
all instances of a number. You can also check your answers for
5
all instances of a number. You can also check your answers for
5
correctness while playing. The game stores your current notes and answers,
6
correctness while playing. The game stores your current notes and
6
so that you can pick up where you left off the next time you play.
7
answers, so that you can pick up where you left off the next time you
8
play.
7
9
8
WWW: http://gottcode.org/simsu/
10
WWW: http://gottcode.org/simsu/
(-)games/simsu/pkg-plist (-13 / +27 lines)
Lines 1-5 Link Here
1
bin/simsu
1
bin/simsu
2
man/man6/simsu.6.gz
3
share/appdata/simsu.appdata.xml
2
share/applications/simsu.desktop
4
share/applications/simsu.desktop
5
%%PORTDOCS%%%%DOCSDIR%%/CREDITS
6
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
7
%%PORTDOCS%%%%DOCSDIR%%/NEWS
8
%%PORTDOCS%%%%DOCSDIR%%/README
9
share/icons/hicolor/1024x1024/apps/simsu.png
3
share/icons/hicolor/128x128/apps/simsu.png
10
share/icons/hicolor/128x128/apps/simsu.png
4
share/icons/hicolor/16x16/apps/simsu.png
11
share/icons/hicolor/16x16/apps/simsu.png
5
share/icons/hicolor/22x22/apps/simsu.png
12
share/icons/hicolor/22x22/apps/simsu.png
Lines 7-25 Link Here
7
share/icons/hicolor/256x256/apps/simsu.png
14
share/icons/hicolor/256x256/apps/simsu.png
8
share/icons/hicolor/32x32/apps/simsu.png
15
share/icons/hicolor/32x32/apps/simsu.png
9
share/icons/hicolor/48x48/apps/simsu.png
16
share/icons/hicolor/48x48/apps/simsu.png
17
share/icons/hicolor/512x512/apps/simsu.png
10
share/icons/hicolor/64x64/apps/simsu.png
18
share/icons/hicolor/64x64/apps/simsu.png
11
share/icons/hicolor/scalable/apps/simsu.svg
19
share/icons/hicolor/scalable/apps/simsu.svg
12
share/pixmaps/simsu.png
13
share/pixmaps/simsu.xpm
20
share/pixmaps/simsu.xpm
14
%%NLS%%%%DATADIR%%/translations/simsu_ca.qm
21
%%DATADIR%%/translations/simsu_bg.qm
15
%%NLS%%%%DATADIR%%/translations/simsu_cs.qm
22
%%DATADIR%%/translations/simsu_ca.qm
16
%%NLS%%%%DATADIR%%/translations/simsu_el.qm
23
%%DATADIR%%/translations/simsu_cs.qm
17
%%NLS%%%%DATADIR%%/translations/simsu_en.qm
24
%%DATADIR%%/translations/simsu_de.qm
18
%%NLS%%%%DATADIR%%/translations/simsu_es.qm
25
%%DATADIR%%/translations/simsu_el.qm
19
%%NLS%%%%DATADIR%%/translations/simsu_es_CL.qm
26
%%DATADIR%%/translations/simsu_en.qm
20
%%NLS%%%%DATADIR%%/translations/simsu_fr.qm
27
%%DATADIR%%/translations/simsu_es.qm
21
%%NLS%%%%DATADIR%%/translations/simsu_he.qm
28
%%DATADIR%%/translations/simsu_es_CL.qm
22
%%NLS%%%%DATADIR%%/translations/simsu_hu.qm
29
%%DATADIR%%/translations/simsu_fr.qm
23
%%NLS%%%%DATADIR%%/translations/simsu_ro.qm
30
%%DATADIR%%/translations/simsu_he.qm
24
%%NLS%%%%DATADIR%%/translations/simsu_ru.qm
31
%%DATADIR%%/translations/simsu_hu.qm
25
%%NLS%%%%DATADIR%%/translations/simsu_uk.qm
32
%%DATADIR%%/translations/simsu_lt.qm
33
%%DATADIR%%/translations/simsu_ms.qm
34
%%DATADIR%%/translations/simsu_nl.qm
35
%%DATADIR%%/translations/simsu_pl.qm
36
%%DATADIR%%/translations/simsu_ro.qm
37
%%DATADIR%%/translations/simsu_ru.qm
38
%%DATADIR%%/translations/simsu_tr.qm
39
%%DATADIR%%/translations/simsu_uk.qm

Return to bug 197434