svn commit: r307946 - head/games/gottet

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Nov 28 23:41:22 UTC 2012


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 at 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 at gmx.ch
-#
+# Created by: nemysis at 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 at 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
+ at dirrmtry share/icons/hicolor/48x48/apps
+ at dirrmtry share/icons/hicolor/48x48
+ at dirrmtry share/icons/hicolor
+ at dirrmtry share/icons
+ at dirrmtry share/applications


More information about the svn-ports-all mailing list