From d3d3d75b796f657eda977f8fe22e59df91d17c30 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 28 Nov 2012 23:41:21 +0000 Subject: - Simplify Makefile PR: 171363 Submitted by: nemysis (maintainer) Feature safe: yes --- games/gottet/Makefile | 27 +++++++-------------------- games/gottet/pkg-plist | 9 +++++++++ 2 files changed, 16 insertions(+), 20 deletions(-) create mode 100644 games/gottet/pkg-plist (limited to 'games/gottet') 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 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 -- cgit v1.2.3