1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

- Simplify Makefile

PR:		171363
Submitted by:	nemysis <nemysis@gmx.ch> (maintainer)
Feature safe:	yes
This commit is contained in:
Dmitry Marakasov 2012-11-28 23:41:21 +00:00
parent caf90266b5
commit d3d3d75b79
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=307946
2 changed files with 16 additions and 20 deletions

View File

@ -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}
${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
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}

9
games/gottet/pkg-plist Normal file
View File

@ -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