aboutsummaryrefslogtreecommitdiffstats
path: root/games/simsu
diff options
context:
space:
mode:
authormadpilot <madpilot@FreeBSD.org>2016-03-01 18:38:44 +0800
committermadpilot <madpilot@FreeBSD.org>2016-03-01 18:38:44 +0800
commitae52f403f313bddb025fd88e3e5cbd54afcb5fc9 (patch)
tree9c7fdd632dcd55547e913a20cf48ffd5c59fdbc2 /games/simsu
parent1aca723e8b2df53fb339945cdfeea6d39f0c994d (diff)
downloadfreebsd-ports-gnome-ae52f403f313bddb025fd88e3e5cbd54afcb5fc9.tar.gz
freebsd-ports-gnome-ae52f403f313bddb025fd88e3e5cbd54afcb5fc9.tar.zst
freebsd-ports-gnome-ae52f403f313bddb025fd88e3e5cbd54afcb5fc9.zip
- Update to 1.3.2
- Add LICENSE_FILE - Remove unneeded INSTALLS_ICONS - Use option targets PR: 207160 Submitted by: Ports Fury
Diffstat (limited to 'games/simsu')
-rw-r--r--games/simsu/Makefile19
-rw-r--r--games/simsu/distinfo4
-rw-r--r--games/simsu/pkg-plist1
3 files changed, 11 insertions, 13 deletions
diff --git a/games/simsu/Makefile b/games/simsu/Makefile
index d22adb1edffa..c22eefb070c2 100644
--- a/games/simsu/Makefile
+++ b/games/simsu/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= simsu
-PORTVERSION= 1.3.1
+PORTVERSION= 1.3.2
DISTVERSIONSUFFIX= -src
CATEGORIES= games
MASTER_SITES= http://gottcode.org/${PORTNAME}/
@@ -11,28 +11,25 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Basic Sudoku game
LICENSE= GPLv3+
+LICENSE_FILE= ${WRKSRC}/COPYING
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USES= compiler:c++11-lib qmake tar:bzip2
USE_QT5= buildtools_build widgets
-INSTALLS_ICONS= yes
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
-.include <bsd.port.options.mk>
-
post-patch:
-.if ! ${PORT_OPTIONS:MNLS}
- @${REINPLACE_CMD} -i '' '/qm.files/,/qm.path/s/^/#/' \
- ${WRKSRC}/${PORTNAME}.pro
-.endif
@${REINPLACE_CMD} -e \
- 's|c++0x|c++11| ; \
- s|share/man|man|' ${WRKSRC}/simsu.pro
+ 's|share/man|man|' ${WRKSRC}/simsu.pro
+
+post-patch-NLS-off:
+ @${REINPLACE_CMD} -e \
+ '/INSTALLS/s|qm||' ${WRKSRC}/simsu.pro
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} CREDITS ChangeLog NEWS README \
${STAGEDIR}${DOCSDIR})
diff --git a/games/simsu/distinfo b/games/simsu/distinfo
index aa5ea20c43ce..7a88f54e24d9 100644
--- a/games/simsu/distinfo
+++ b/games/simsu/distinfo
@@ -1,2 +1,2 @@
-SHA256 (simsu-1.3.1-src.tar.bz2) = 94cd1728a3bd1743b65c2636cb7ecb739ba7b1b31660fca4b5318908f000e9b7
-SIZE (simsu-1.3.1-src.tar.bz2) = 480585
+SHA256 (simsu-1.3.2-src.tar.bz2) = bf147e675ae01e7bccf092cd9b9e5ae89b7f0893e28f7e65239b8b0371f6562a
+SIZE (simsu-1.3.2-src.tar.bz2) = 485611
diff --git a/games/simsu/pkg-plist b/games/simsu/pkg-plist
index b7eca535b911..0eab7a733803 100644
--- a/games/simsu/pkg-plist
+++ b/games/simsu/pkg-plist
@@ -33,6 +33,7 @@ share/pixmaps/simsu.xpm
%%NLS%%%%DATADIR%%/translations/simsu_ms.qm
%%NLS%%%%DATADIR%%/translations/simsu_nl.qm
%%NLS%%%%DATADIR%%/translations/simsu_pl.qm
+%%NLS%%%%DATADIR%%/translations/simsu_pt.qm
%%NLS%%%%DATADIR%%/translations/simsu_ro.qm
%%NLS%%%%DATADIR%%/translations/simsu_ru.qm
%%NLS%%%%DATADIR%%/translations/simsu_tr.qm