Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Sep 2012 03:55:48 +0200
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jgh@FreeBSD.org
Subject:   ports/171363: [MAINTAINER] games/gottet: Makefile simplified
Message-ID:  <20120906015551.266F6106566C@hub.freebsd.org>
Resent-Message-ID: <201209060200.q8620BeA088958@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         171363
>Category:       ports
>Synopsis:       [MAINTAINER] games/gottet: Makefile simplified
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 06 02:00:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:

Makefile simplified

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- gottet-1.0.4_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/gottet/Makefile ./Makefile
--- /usr/ports/games/gottet/Makefile	2012-08-17 15:24:40.000000000 +0200
+++ ./Makefile	2012-09-06 03:54:38.000000000 +0200
@@ -7,21 +7,26 @@
 
 PORTNAME=	gottet
 PORTVERSION=	1.0.4
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	http://gottcode.org/${PORTNAME}/
-EXTRACT_SUFX=	-src.tar.bz2
+DISTNAME=	${PORTNAME}-${DISTVERSION}-src
 
 MAINTAINER=	nemysis@gmx.ch
-COMMENT=	A Tetris clone
+COMMENT=	Tetris clone
 
 LICENSE=	GPLv3
 
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
 USE_BZIP2=	yes
-USE_QT_VER=	4
-QT_COMPONENTS=	moc_build qmake_build rcc_build iconengines imageformats
-USE_GMAKE=	yes
+USE_QT4=	moc_build qmake_build rcc_build iconengines imageformats
 MAKE_JOBS_SAFE=	yes
 
+do-configure:
+	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
+		${QMAKE} PREFIX=${PREFIX} ${WRKSRC}/${PORTNAME}.pro
+
 PORTDOCS=	ChangeLog
 
 PLIST_FILES=	bin/${PORTNAME} \
@@ -31,18 +36,9 @@
 
 .include <bsd.port.options.mk>
 
-do-configure:
-	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
-		${QMAKE} ${QMAKEFLAGS}
-
-do-install:
-# Executable
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-
-# Pixmaps and Desktop
+post-install:
+# Pixmaps
 	${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.png ${PREFIX}/share/pixmaps/
-	${MKDIR} ${PREFIX}/share/applications
-	${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.desktop ${PREFIX}/share/applications/
 
 # Documentation
 .if ${PORT_OPTIONS:MDOCS}
--- gottet-1.0.4_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120906015551.266F6106566C>