aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorak <ak@FreeBSD.org>2012-09-09 05:02:41 +0800
committerak <ak@FreeBSD.org>2012-09-09 05:02:41 +0800
commit53ec4e3707d5973881450ebbf29d9d65462e6ee9 (patch)
treed172f2bdcedb7c97a392eff84c5e3ca3aaf2c547 /games
parentf087e3ed26f8befa5c3bfbfd826c853f8d60de22 (diff)
downloadfreebsd-ports-gnome-53ec4e3707d5973881450ebbf29d9d65462e6ee9.tar.gz
freebsd-ports-gnome-53ec4e3707d5973881450ebbf29d9d65462e6ee9.tar.zst
freebsd-ports-gnome-53ec4e3707d5973881450ebbf29d9d65462e6ee9.zip
- Simplify Makefile [1]
- Remove deprecated comments at the top of Makefile PR: ports/171358 Submitted by: nemysis <nemysis at gmx.ch> (maintainer) [1]
Diffstat (limited to 'games')
-rw-r--r--games/simsu/Makefile44
-rw-r--r--games/simsu/pkg-plist1
2 files changed, 10 insertions, 35 deletions
diff --git a/games/simsu/Makefile b/games/simsu/Makefile
index 9affdfd87c11..c2e30bdcecf7 100644
--- a/games/simsu/Makefile
+++ b/games/simsu/Makefile
@@ -1,35 +1,20 @@
-# New Ports collection makefile for: simsu
-# Date created: 2012-04-21
-# Whom: nemysis@gmx.ch
-#
# $FreeBSD$
-#
PORTNAME= simsu
PORTVERSION= 1.2.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://gottcode.org/${PORTNAME}/
EXTRACT_SUFX= -src.tar.bz2
MAINTAINER= nemysis@gmx.ch
-COMMENT= Simsu is a basic Sudoku game
+COMMENT= Basic Sudoku game
LICENSE= GPLv3
+USE_BZIP2= yes
USE_QT4= moc_build qmake_build rcc_build uic_build iconengines imageformats
-
INSTALLS_ICONS= yes
-HAS_CONFIGURE= yes
-
-do-configure:
- @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
- ${QMAKE} PREFIX=${PREFIX} ${WRKSRC}/${PORTNAME}.pro
-
-CONFIGURE_ENV+= UIC="${UIC}" QMAKE="${QMAKE}" QMAKESPEC="${QMAKESPEC}"
-MAKE_ENV+= QMAKESPEC="${QMAKESPEC}"
-
-USE_GMAKE= yes
MAKE_JOBS_SAFE= yes
PORTDATA= *
@@ -37,24 +22,13 @@ PORTDOCS= CREDITS ChangeLog
.include <bsd.port.options.mk>
-do-install:
-# Executable
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-
-# Data
- ${MKDIR} ${DATADIR}
- @(cd ${WRKSRC} && ${COPYTREE_SHARE} "symmetry translations" ${DATADIR})
-
-# Icons
- ${MKDIR} ${PREFIX}/share/icons/hicolor
-.for d in icons
- @(cd ${WRKSRC}/${d} && ${COPYTREE_SHARE} hicolor ${PREFIX}/share/icons/)
-.endfor
+do-configure:
+ @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
+ ${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
-# Pixmaps and Desktop
- ${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}_32.xpm ${PREFIX}/share/pixmaps/
- ${MKDIR} ${PREFIX}/share/applications
- ${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.desktop ${PREFIX}/share/applications/
+post-install:
+# Pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/icons/hicolor/48x48/apps/simsu.png ${PREFIX}/share/pixmaps/
# Documentation
.if ${PORT_OPTIONS:MDOCS}
diff --git a/games/simsu/pkg-plist b/games/simsu/pkg-plist
index 56443ccdfe0c..a29aeb20e568 100644
--- a/games/simsu/pkg-plist
+++ b/games/simsu/pkg-plist
@@ -9,5 +9,6 @@ share/icons/hicolor/32x32/apps/simsu.png
share/icons/hicolor/48x48/apps/simsu.png
share/icons/hicolor/64x64/apps/simsu.png
share/icons/hicolor/scalable/apps/simsu.svg
+share/pixmaps/simsu.png
share/pixmaps/simsu_32.xpm
@dirrmtry share/applications