View | Details | Raw Unified | Return to bug 171363 | Differences between
and this patch

Collapse All | Expand All

(-)./Makefile (-17 / +6 lines)
Lines 7-48 Link Here
7
7
8
PORTNAME=	gottet
8
PORTNAME=	gottet
9
PORTVERSION=	1.0.4
9
PORTVERSION=	1.0.4
10
PORTREVISION=	1
10
CATEGORIES=	games
11
CATEGORIES=	games
11
MASTER_SITES=	http://gottcode.org/${PORTNAME}/
12
MASTER_SITES=	http://gottcode.org/${PORTNAME}/
12
EXTRACT_SUFX=	-src.tar.bz2
13
EXTRACT_SUFX=	-src.tar.bz2
13
14
14
MAINTAINER=	nemysis@gmx.ch
15
MAINTAINER=	nemysis@gmx.ch
15
COMMENT=	A Tetris clone
16
COMMENT=	Tetris clone
16
17
17
LICENSE=	GPLv3
18
LICENSE=	GPLv3
18
19
19
USE_BZIP2=	yes
20
USE_BZIP2=	yes
20
USE_QT_VER=	4
21
USE_QT4=	moc_build qmake_build rcc_build iconengines imageformats
21
QT_COMPONENTS=	moc_build qmake_build rcc_build iconengines imageformats
22
USE_GMAKE=	yes
23
MAKE_JOBS_SAFE=	yes
22
MAKE_JOBS_SAFE=	yes
24
23
25
PORTDOCS=	ChangeLog
24
PORTDOCS=	ChangeLog
26
25
27
PLIST_FILES=	bin/${PORTNAME} \
28
		share/applications/${PORTNAME}.desktop \
29
		share/pixmaps/${PORTNAME}.png
30
PLIST_DIRSTRY=	share/applications
31
32
.include <bsd.port.options.mk>
26
.include <bsd.port.options.mk>
33
27
34
do-configure:
28
do-configure:
35
	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
29
	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
36
		${QMAKE} ${QMAKEFLAGS}
30
		${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
37
38
do-install:
39
# Executable
40
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
41
31
42
# Pixmaps and Desktop
32
post-install:
33
# Pixmaps
43
	${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.png ${PREFIX}/share/pixmaps/
34
	${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.png ${PREFIX}/share/pixmaps/
44
	${MKDIR} ${PREFIX}/share/applications
45
	${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.desktop ${PREFIX}/share/applications/
46
35
47
# Documentation
36
# Documentation
48
.if ${PORT_OPTIONS:MDOCS}
37
.if ${PORT_OPTIONS:MDOCS}
(-)./pkg-plist (+9 lines)
Line 0 Link Here
1
bin/gottet
2
share/applications/gottet.desktop
3
share/icons/hicolor/48x48/apps/gottet.png
4
share/pixmaps/gottet.png
5
@dirrmtry share/icons/hicolor/48x48/apps
6
@dirrmtry share/icons/hicolor/48x48
7
@dirrmtry share/icons/hicolor
8
@dirrmtry share/icons
9
@dirrmtry share/applications

Return to bug 171363