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

(-)games/connectagram/Makefile (-29 / +15 lines)
Lines 2-48 Link Here
2
# $FreeBSD: head/games/connectagram/Makefile 371872 2014-10-31 16:11:33Z amdmi3 $
2
# $FreeBSD: head/games/connectagram/Makefile 371872 2014-10-31 16:11:33Z amdmi3 $
3
3
4
PORTNAME=	connectagram
4
PORTNAME=	connectagram
5
PORTVERSION=	1.1.2
5
PORTVERSION=	1.2.1
6
DISTVERSIONSUFFIX=	-src
6
CATEGORIES=	games
7
CATEGORIES=	games
7
MASTER_SITES=	http://gottcode.org/${PORTNAME}/
8
MASTER_SITES=	http://gottcode.org/connectagram/
8
EXTRACT_SUFX=	-src.tar.bz2
9
9
10
MAINTAINER=	ports@FreeBSD.org
10
MAINTAINER=	ports@FreeBSD.org
11
COMMENT=	Word unscrambling game
11
COMMENT=	Word unscrambling game
12
12
13
LICENSE=	GPLv3 # or later
13
LICENSE=	GPLv3 # (or later)
14
LICENSE_FILE=	${WRKSRC}/COPYING
15
14
16
USES=		qmake tar:bzip2
15
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
17
USE_QT4=	moc_build rcc_build gui network iconengines_run \
18
		imageformats_run
19
INSTALLS_ICONS=	yes
20
21
PORTDOCS=	CREDITS ChangeLog
22
16
23
OPTIONS_DEFINE=	DOCS NLS
17
USES=		compiler:c++11-lib qmake tar:bzip2
24
OPTIONS_SUB=	yes
18
USE_QT5=	buildtools_build network widgets
19
INSTALLS_ICONS=	yes
25
20
26
.include <bsd.port.options.mk>
21
OPTIONS_DEFINE=	DOCS
27
22
28
post-patch:
23
post-patch:
29
.if ! ${PORT_OPTIONS:MNLS}
24
	@${REINPLACE_CMD} -e \
30
	@${REINPLACE_CMD} -i '' '/qm.files/,/qm.path/s/^/#/' \
25
		's|share/man|man|' ${WRKSRC}/connectagram.pro
31
		${WRKSRC}/${PORTNAME}.pro
26
	@${REINPLACE_CMD} -e \
32
.endif
27
		's|std::lround|lround|' ${WRKSRC}/src/*.cpp
33
28
34
post-install:
29
post-install:
35
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
36
37
	@(cd ${WRKSRC} && ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR})
38
	@(cd ${WRKSRC}/icons && ${COPYTREE_SHARE} patterns ${STAGEDIR}${DATADIR})
39
40
	@(cd ${WRKSRC}/icons && ${COPYTREE_SHARE} hicolor \
41
		${STAGEDIR}${PREFIX}/share/icons/)
42
	${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
43
			${STAGEDIR}${PREFIX}/share/pixmaps/
44
45
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
30
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
46
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
31
	(cd ${WRKSRC} && ${INSTALL_DATA} CREDITS ChangeLog NEWS README \
32
		${STAGEDIR}${DOCSDIR})
47
33
48
.include <bsd.port.mk>
34
.include <bsd.port.mk>
(-)games/connectagram/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (connectagram-1.1.2-src.tar.bz2) = 06e03fed6d7651383cf8d771d0e89e09bb149c0aef431c1374296e62319087c4
1
SHA256 (connectagram-1.2.1-src.tar.bz2) = 0a559243a8d970bb79c6791214be879269fc073b5eaec6aa55fb60be82f140bb
2
SIZE (connectagram-1.1.2-src.tar.bz2) = 1415066
2
SIZE (connectagram-1.2.1-src.tar.bz2) = 1632426
(-)games/connectagram/pkg-descr (-9 / +10 lines)
Lines 1-14 Link Here
1
Connectagram is a word unscrambling game. The board consists of several
1
Connectagram is a word unscrambling game. The board consists of several
2
scrambled words that are joined together. You can choose the length of the
2
scrambled words that are joined together. You can choose the length of
3
words, the amount of words, and the pattern that the words are arranged in.
3
the words, the amount of words, and the pattern that the words are
4
arranged in.
4
5
5
The game provides a hint option for times when you are stuck, and features an
6
The game provides a hint option for times when you are stuck, and
6
online word lookup that fetches the definitions of each word from www.dict.org.
7
features an online word lookup that fetches the definitions of each word
7
Your current progress is automatically saved.
8
from www.wiktionary.org. Your current progress is automatically saved.
8
9
9
Note that this game involves a large and varied word list, some of which may be
10
Note that this game involves a large and varied word list, some of which
10
considered inappropriate for children. You can edit the file containing the
11
may be considered inappropriate for children. You can edit the file
11
word list if you wish to remove words from your game. The location of this file
12
containing the word list if you wish to remove words from your game. The
12
varies by platform.
13
location of this file varies by platform.
13
14
14
WWW: http://gottcode.org/connectagram/
15
WWW: http://gottcode.org/connectagram/
(-)games/connectagram/pkg-plist (-19 / +22 lines)
Lines 1-27 Link Here
1
bin/connectagram
1
bin/connectagram
2
man/man6/connectagram.6.gz
3
share/appdata/connectagram.appdata.xml
2
share/applications/connectagram.desktop
4
share/applications/connectagram.desktop
3
%%DATADIR%%/data/en/words
5
%%DATADIR%%/data/en/words
4
%%DATADIR%%/data/fr/words
6
%%DATADIR%%/data/fr/words
5
%%DATADIR%%/data/hu/words
7
%%DATADIR%%/data/hu/words
6
%%DATADIR%%/data/ru/words
8
%%DATADIR%%/data/ru/words
7
%%DATADIR%%/patterns/0.png
9
%%DATADIR%%/translations/connectagram_cs.qm
8
%%DATADIR%%/patterns/1.png
10
%%DATADIR%%/translations/connectagram_de.qm
9
%%DATADIR%%/patterns/2.png
11
%%DATADIR%%/translations/connectagram_el.qm
10
%%DATADIR%%/patterns/3.png
12
%%DATADIR%%/translations/connectagram_en.qm
11
%%DATADIR%%/patterns/4.png
13
%%DATADIR%%/translations/connectagram_fr.qm
12
%%DATADIR%%/patterns/5.png
14
%%DATADIR%%/translations/connectagram_he.qm
13
%%NLS%%%%DATADIR%%/translations/connectagram_cs.qm
15
%%DATADIR%%/translations/connectagram_hr.qm
14
%%NLS%%%%DATADIR%%/translations/connectagram_de.qm
16
%%DATADIR%%/translations/connectagram_hu.qm
15
%%NLS%%%%DATADIR%%/translations/connectagram_el.qm
17
%%DATADIR%%/translations/connectagram_lt.qm
16
%%NLS%%%%DATADIR%%/translations/connectagram_en.qm
18
%%DATADIR%%/translations/connectagram_nl.qm
17
%%NLS%%%%DATADIR%%/translations/connectagram_fr.qm
19
%%DATADIR%%/translations/connectagram_pl.qm
18
%%NLS%%%%DATADIR%%/translations/connectagram_he.qm
20
%%DATADIR%%/translations/connectagram_ro.qm
19
%%NLS%%%%DATADIR%%/translations/connectagram_hr.qm
21
%%DATADIR%%/translations/connectagram_ru.qm
20
%%NLS%%%%DATADIR%%/translations/connectagram_hu.qm
22
%%DATADIR%%/translations/connectagram_tr.qm
21
%%NLS%%%%DATADIR%%/translations/connectagram_pl.qm
23
%%PORTDOCS%%%%DOCSDIR%%/CREDITS
22
%%NLS%%%%DATADIR%%/translations/connectagram_ro.qm
24
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
23
%%NLS%%%%DATADIR%%/translations/connectagram_ru.qm
25
%%PORTDOCS%%%%DOCSDIR%%/NEWS
24
%%NLS%%%%DATADIR%%/translations/connectagram_tr.qm
26
%%PORTDOCS%%%%DOCSDIR%%/README
27
share/icons/hicolor/1024x1024/apps/connectagram.png
25
share/icons/hicolor/128x128/apps/connectagram.png
28
share/icons/hicolor/128x128/apps/connectagram.png
26
share/icons/hicolor/16x16/apps/connectagram.png
29
share/icons/hicolor/16x16/apps/connectagram.png
27
share/icons/hicolor/22x22/apps/connectagram.png
30
share/icons/hicolor/22x22/apps/connectagram.png
Lines 29-35 Link Here
29
share/icons/hicolor/256x256/apps/connectagram.png
32
share/icons/hicolor/256x256/apps/connectagram.png
30
share/icons/hicolor/32x32/apps/connectagram.png
33
share/icons/hicolor/32x32/apps/connectagram.png
31
share/icons/hicolor/48x48/apps/connectagram.png
34
share/icons/hicolor/48x48/apps/connectagram.png
35
share/icons/hicolor/512x512/apps/connectagram.png
32
share/icons/hicolor/64x64/apps/connectagram.png
36
share/icons/hicolor/64x64/apps/connectagram.png
33
share/icons/hicolor/scalable/apps/connectagram.svg
37
share/icons/hicolor/scalable/apps/connectagram.svg
34
share/pixmaps/connectagram.png
35
share/pixmaps/connectagram.xpm
38
share/pixmaps/connectagram.xpm

Return to bug 197429