ports/176171: [MAINTAINER] games/simsu: update to 1.2.3
nemysis
nemysis at gmx.ch
Fri Feb 15 14:50:00 UTC 2013
>Number: 176171
>Category: ports
>Synopsis: [MAINTAINER] games/simsu: update to 1.2.3
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri Feb 15 14:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: nemysis
>Release: FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10
>Description:
- Update to 1.2.3
Please add in Makefile Header
# Created by: nemysis at gmx.ch
Makefile changed:
+USE_GNOME= desktopfileutils <-- because is used update-desktop-database
-PORTDATA= * <-- use pkg-plist better
+ @-update-desktop-database
Changed and refined:
post-install:
pkg-plist
Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports)
>How-To-Repeat:
portlint -A
looks fine.
port test: clean
>Fix:
--- simsu-1.2.3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/simsu/Makefile ./Makefile
--- /usr/ports/games/simsu/Makefile 2013-01-14 17:55:29.000000000 +0100
+++ ./Makefile 2013-02-15 15:34:31.000000000 +0100
@@ -1,8 +1,7 @@
# $FreeBSD: head/games/simsu/Makefile 303930 2012-09-08 21:02:41Z ak $
PORTNAME= simsu
-PORTVERSION= 1.2.2
-PORTREVISION= 2
+PORTVERSION= 1.2.3
CATEGORIES= games
MASTER_SITES= http://gottcode.org/${PORTNAME}/
EXTRACT_SUFX= -src.tar.bz2
@@ -14,10 +13,10 @@
USE_BZIP2= yes
USE_QT4= moc_build qmake_build rcc_build uic_build iconengines imageformats
+USE_GNOME= desktopfileutils
INSTALLS_ICONS= yes
MAKE_JOBS_SAFE= yes
-PORTDATA= *
PORTDOCS= CREDITS ChangeLog
.include <bsd.port.options.mk>
@@ -27,15 +26,13 @@
${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
post-install:
-# Pixmaps
- ${INSTALL_DATA} ${WRKSRC}/icons/hicolor/48x48/apps/simsu.png ${PREFIX}/share/pixmaps/
+ ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps/
-# Documentation
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
-. for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-. endfor
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
+ @-update-desktop-database
+
.include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/games/simsu/distinfo ./distinfo
--- /usr/ports/games/simsu/distinfo 2013-01-14 17:55:29.000000000 +0100
+++ ./distinfo 2013-02-15 15:30:36.000000000 +0100
@@ -1,2 +1,2 @@
-SHA256 (simsu-1.2.2-src.tar.bz2) = 86c18e7c05659ce3e9363b38941fe6f5024943bd2a7b24532bc56ab6a669dddd
-SIZE (simsu-1.2.2-src.tar.bz2) = 295584
+SHA256 (simsu-1.2.3-src.tar.bz2) = 623a27e487bd360bee58430b6530f3371f915a868910615572559a3e055a5da4
+SIZE (simsu-1.2.3-src.tar.bz2) = 328020
diff -ruN --exclude=CVS /usr/ports/games/simsu/pkg-plist ./pkg-plist
--- /usr/ports/games/simsu/pkg-plist 2013-01-14 17:55:29.000000000 +0100
+++ ./pkg-plist 2013-02-15 15:34:57.000000000 +0100
@@ -10,5 +10,41 @@
share/icons/hicolor/64x64/apps/simsu.png
share/icons/hicolor/scalable/apps/simsu.svg
share/pixmaps/simsu.png
-share/pixmaps/simsu_32.xpm
+share/pixmaps/simsu.xpm
+%%DATADIR%%/translations/simsu_ca.qm
+%%DATADIR%%/translations/simsu_cs.qm
+%%DATADIR%%/translations/simsu_el.qm
+%%DATADIR%%/translations/simsu_en.qm
+%%DATADIR%%/translations/simsu_es.qm
+%%DATADIR%%/translations/simsu_es_CL.qm
+%%DATADIR%%/translations/simsu_fr.qm
+%%DATADIR%%/translations/simsu_he.qm
+%%DATADIR%%/translations/simsu_hu.qm
+%%DATADIR%%/translations/simsu_ro.qm
+%%DATADIR%%/translations/simsu_ru.qm
+%%DATADIR%%/translations/simsu_uk.qm
+ at dirrm %%DATADIR%%/translations
+ at dirrm %%DATADIR%%
+ at dirrmtry share/icons/hicolor/scalable/apps
+ at dirrmtry share/icons/hicolor/scalable
+ at dirrmtry share/icons/hicolor/64x64/apps
+ at dirrmtry share/icons/hicolor/64x64
+ at dirrmtry share/icons/hicolor/48x48/apps
+ at dirrmtry share/icons/hicolor/48x48
+ at dirrmtry share/icons/hicolor/32x32/apps
+ at dirrmtry share/icons/hicolor/32x32
+ at dirrmtry share/icons/hicolor/256x256/apps
+ at dirrmtry share/icons/hicolor/256x256
+ at dirrmtry share/icons/hicolor/24x24/apps
+ at dirrmtry share/icons/hicolor/24x24
+ at dirrmtry share/icons/hicolor/22x22/apps
+ at dirrmtry share/icons/hicolor/22x22
+ at dirrmtry share/icons/hicolor/16x16/apps
+ at dirrmtry share/icons/hicolor/16x16
+ at dirrmtry share/icons/hicolor/128x128/apps
+ at dirrmtry share/icons/hicolor/128x128
+ at dirrmtry share/icons/hicolor
+ at dirrmtry share/icons
@dirrmtry share/applications
+ at exec %%LOCALBASE%%/bin/update-desktop-database -q || /usr/bin/true
+ at unexec %%LOCALBASE%%/bin/update-desktop-database -q || /usr/bin/true
--- simsu-1.2.3.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list