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

Collapse All | Expand All

(-)./Makefile (-16 / +12 lines)
Lines 7-27 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
DISTNAME=	${PORTNAME}-${DISTVERSION}-src
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
20
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
21
19
USE_BZIP2=	yes
22
USE_BZIP2=	yes
20
USE_QT_VER=	4
23
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
24
MAKE_JOBS_SAFE=	yes
24
25
26
do-configure:
27
	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
28
		${QMAKE} PREFIX=${PREFIX} ${WRKSRC}/${PORTNAME}.pro
29
25
PORTDOCS=	ChangeLog
30
PORTDOCS=	ChangeLog
26
31
27
PLIST_FILES=	bin/${PORTNAME} \
32
PLIST_FILES=	bin/${PORTNAME} \
Lines 31-48 Link Here
31
36
32
.include <bsd.port.options.mk>
37
.include <bsd.port.options.mk>
33
38
34
do-configure:
39
post-install:
35
	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
40
# Pixmaps
36
		${QMAKE} ${QMAKEFLAGS}
37
38
do-install:
39
# Executable
40
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
41
42
# Pixmaps and Desktop
43
	${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.png ${PREFIX}/share/pixmaps/
41
	${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
42
47
# Documentation
43
# Documentation
48
.if ${PORT_OPTIONS:MDOCS}
44
.if ${PORT_OPTIONS:MDOCS}

Return to bug 171363