Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2012 23:41:22 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r307946 - head/games/gottet
Message-ID:  <201211282341.qASNfM08051970@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Nov 28 23:41:21 2012
New Revision: 307946
URL: http://svnweb.freebsd.org/changeset/ports/307946

Log:
  - Simplify Makefile
  
  PR:		171363
  Submitted by:	nemysis <nemysis@gmx.ch> (maintainer)
  Feature safe:	yes

Added:
  head/games/gottet/pkg-plist   (contents, props changed)
Modified:
  head/games/gottet/Makefile

Modified: head/games/gottet/Makefile
==============================================================================
--- head/games/gottet/Makefile	Wed Nov 28 23:02:15 2012	(r307945)
+++ head/games/gottet/Makefile	Wed Nov 28 23:41:21 2012	(r307946)
@@ -1,47 +1,34 @@
-# New Ports collection makefile for:	gottet
-# Date created:		21 April 2012
-# Whom:			nemysis@gmx.ch
-#
+# Created by: nemysis@gmx.ch
 # $FreeBSD$
-#
 
 PORTNAME=	gottet
 PORTVERSION=	1.0.4
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	http://gottcode.org/${PORTNAME}/
 EXTRACT_SUFX=	-src.tar.bz2
 
 MAINTAINER=	nemysis@gmx.ch
-COMMENT=	A Tetris clone
+COMMENT=	Tetris clone
 
 LICENSE=	GPLv3
 
 USE_BZIP2=	yes
 USE_QT4=	moc_build qmake_build rcc_build iconengines imageformats
-USE_GMAKE=	yes
 MAKE_JOBS_SAFE=	yes
+INSTALLS_ICONS=	yes
 
 PORTDOCS=	ChangeLog
 
-PLIST_FILES=	bin/${PORTNAME} \
-		share/applications/${PORTNAME}.desktop \
-		share/pixmaps/${PORTNAME}.png
-PLIST_DIRSTRY=	share/applications
-
 .include <bsd.port.options.mk>
 
 do-configure:
 	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
-		${QMAKE} ${QMAKEFLAGS}
-
-do-install:
-# Executable
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+		${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
 
-# 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}

Added: head/games/gottet/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/gottet/pkg-plist	Wed Nov 28 23:41:21 2012	(r307946)
@@ -0,0 +1,9 @@
+bin/gottet
+share/applications/gottet.desktop
+share/icons/hicolor/48x48/apps/gottet.png
+share/pixmaps/gottet.png
+@dirrmtry share/icons/hicolor/48x48/apps
+@dirrmtry share/icons/hicolor/48x48
+@dirrmtry share/icons/hicolor
+@dirrmtry share/icons
+@dirrmtry share/applications



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