aboutsummaryrefslogtreecommitdiff
path: root/games/gottet
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2012-11-28 23:41:21 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2012-11-28 23:41:21 +0000
commitd3d3d75b796f657eda977f8fe22e59df91d17c30 (patch)
tree60d109965add5938296e743b7bcb37e1e791b2b2 /games/gottet
parentcaf90266b56cdfc8bcf2a175e2ee5f74eb4d494a (diff)
downloadports-d3d3d75b796f657eda977f8fe22e59df91d17c30.tar.gz
ports-d3d3d75b796f657eda977f8fe22e59df91d17c30.zip
- Simplify Makefile
PR: 171363 Submitted by: nemysis <nemysis@gmx.ch> (maintainer) Feature safe: yes
Notes
Notes: svn path=/head/; revision=307946
Diffstat (limited to 'games/gottet')
-rw-r--r--games/gottet/Makefile27
-rw-r--r--games/gottet/pkg-plist9
2 files changed, 16 insertions, 20 deletions
diff --git a/games/gottet/Makefile b/games/gottet/Makefile
index 705776a19891..688c26109597 100644
--- a/games/gottet/Makefile
+++ b/games/gottet/Makefile
@@ -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}
diff --git a/games/gottet/pkg-plist b/games/gottet/pkg-plist
new file mode 100644
index 000000000000..733a98395b41
--- /dev/null
+++ b/games/gottet/pkg-plist
@@ -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