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

(-)./Makefile (-19 / +9 lines)
Lines 7-56 Link Here
7
7
8
PORTNAME=	cutemaze
8
PORTNAME=	cutemaze
9
PORTVERSION=	1.1.0
9
PORTVERSION=	1.1.0
10
PORTREVISION=	2
10
PORTREVISION=	3
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	http://gottcode.org/${PORTNAME}/
12
MASTER_SITES=	http://gottcode.org/${PORTNAME}/
13
EXTRACT_SUFX=	-src.tar.bz2
13
DISTNAME=	${PORTNAME}-${DISTVERSION}-src
14
14
15
MAINTAINER=	nemysis@gmx.ch
15
MAINTAINER=	nemysis@gmx.ch
16
COMMENT=	A simple, top-down game in which mazes are randomly generated
16
COMMENT=	Simple, top-down game in which mazes are randomly generated
17
17
18
LICENSE=	GPLv3
18
LICENSE=	GPLv3
19
19
20
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
21
20
USE_BZIP2=	yes
22
USE_BZIP2=	yes
21
USE_QT4=	moc_build qmake_build rcc_build uic_build iconengines imageformats
23
USE_QT4=	moc_build qmake_build rcc_build uic_build iconengines imageformats
22
INSTALLS_ICONS=	yes
24
INSTALLS_ICONS=	yes
23
24
MAKE_JOBS_SAFE=	yes
25
MAKE_JOBS_SAFE=	yes
25
26
26
PORTDATA=	*
27
PORTDOCS=	ChangeLog README
27
PORTDOCS=	ChangeLog README
28
28
29
.include <bsd.port.options.mk>
29
.include <bsd.port.options.mk>
30
30
31
do-configure:
31
do-configure:
32
	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
32
	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
33
		${QMAKE} ${QMAKEFLAGS}
33
		${QMAKE} PREFIX=${PREFIX} ${WRKSRC}/${PORTNAME}.pro
34
35
do-install:
36
# Executable
37
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
38
39
# Data
40
	${MKDIR} ${DATADIR}
41
	@(cd ${WRKSRC} && ${COPYTREE_SHARE} "preview themes" ${DATADIR})
42
34
35
post-install:
43
# Icons
36
# Icons
44
	${MKDIR} ${PREFIX}/share/icons/oxygen
37
	${MKDIR} ${PREFIX}/share/icons/oxygen
45
.for d in icons
38
.for d in icons
46
	(cd ${WRKSRC}/${d} && ${COPYTREE_SHARE} oxygen ${PREFIX}/share/icons/)
39
	@(cd ${WRKSRC}/${d} && ${COPYTREE_SHARE} oxygen ${PREFIX}/share/icons/)
47
.endfor
40
.endfor
48
41
49
# Pixmaps and Desktop
42
# Pixmaps
50
	${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.png ${PREFIX}/share/pixmaps/
43
	${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.png ${PREFIX}/share/pixmaps/
51
	${MKDIR} ${PREFIX}/share/applications
52
	${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.desktop \
53
		${PREFIX}/share/applications/
54
44
55
# Documentation
45
# Documentation
56
.if ${PORT_OPTIONS:MDOCS}
46
.if ${PORT_OPTIONS:MDOCS}
(-)./pkg-plist (+4 lines)
Lines 1-5 Link Here
1
bin/cutemaze
1
bin/cutemaze
2
share/applications/cutemaze.desktop
2
share/applications/cutemaze.desktop
3
share/icons/hicolor/48x48/apps/cutemaze.png
3
share/icons/oxygen/16x16/application-exit.png
4
share/icons/oxygen/16x16/application-exit.png
4
share/icons/oxygen/16x16/document-new.png
5
share/icons/oxygen/16x16/document-new.png
5
share/icons/oxygen/16x16/games-config-options.png
6
share/icons/oxygen/16x16/games-config-options.png
Lines 33-37 Link Here
33
@dirrmtry share/icons/oxygen/22x22
34
@dirrmtry share/icons/oxygen/22x22
34
@dirrmtry share/icons/oxygen/16x16
35
@dirrmtry share/icons/oxygen/16x16
35
@dirrmtry share/icons/oxygen
36
@dirrmtry share/icons/oxygen
37
@dirrmtry share/icons/hicolor/48x48/apps
38
@dirrmtry share/icons/hicolor/48x48
39
@dirrmtry share/icons/hicolor
36
@dirrmtry share/icons
40
@dirrmtry share/icons
37
@dirrmtry share/applications
41
@dirrmtry share/applications

Return to bug 171362