svn commit: r303930 - head/games/simsu
Alex Kozlov
ak at FreeBSD.org
Sat Sep 8 21:02:42 UTC 2012
Author: ak
Date: Sat Sep 8 21:02:41 2012
New Revision: 303930
URL: http://svn.freebsd.org/changeset/ports/303930
Log:
- Simplify Makefile [1]
- Remove deprecated comments at the top of Makefile
PR: ports/171358
Submitted by: nemysis <nemysis at gmx.ch> (maintainer) [1]
Modified:
head/games/simsu/Makefile
head/games/simsu/pkg-plist (contents, props changed)
Modified: head/games/simsu/Makefile
==============================================================================
--- head/games/simsu/Makefile Sat Sep 8 20:34:17 2012 (r303929)
+++ head/games/simsu/Makefile Sat Sep 8 21:02:41 2012 (r303930)
@@ -1,35 +1,20 @@
-# New Ports collection makefile for: simsu
-# Date created: 2012-04-21
-# Whom: nemysis at 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 at 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
-
-# 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/
+do-configure:
+ @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
+ ${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
+
+post-install:
+# Pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/icons/hicolor/48x48/apps/simsu.png ${PREFIX}/share/pixmaps/
# Documentation
.if ${PORT_OPTIONS:MDOCS}
Modified: head/games/simsu/pkg-plist
==============================================================================
--- head/games/simsu/pkg-plist Sat Sep 8 20:34:17 2012 (r303929)
+++ head/games/simsu/pkg-plist Sat Sep 8 21:02:41 2012 (r303930)
@@ -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
More information about the svn-ports-all
mailing list