svn commit: r409864 - head/games/simsu

Guido Falsi madpilot at FreeBSD.org
Tue Mar 1 10:38:46 UTC 2016


Author: madpilot
Date: Tue Mar  1 10:38:44 2016
New Revision: 409864
URL: https://svnweb.freebsd.org/changeset/ports/409864

Log:
  - Update to 1.3.2
  - Add LICENSE_FILE
  - Remove unneeded INSTALLS_ICONS
  - Use option targets
  
  PR:		207160
  Submitted by:	Ports Fury

Modified:
  head/games/simsu/Makefile
  head/games/simsu/distinfo
  head/games/simsu/pkg-plist

Modified: head/games/simsu/Makefile
==============================================================================
--- head/games/simsu/Makefile	Tue Mar  1 10:37:34 2016	(r409863)
+++ head/games/simsu/Makefile	Tue Mar  1 10:38:44 2016	(r409864)
@@ -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 at 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})

Modified: head/games/simsu/distinfo
==============================================================================
--- head/games/simsu/distinfo	Tue Mar  1 10:37:34 2016	(r409863)
+++ head/games/simsu/distinfo	Tue Mar  1 10:38:44 2016	(r409864)
@@ -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

Modified: head/games/simsu/pkg-plist
==============================================================================
--- head/games/simsu/pkg-plist	Tue Mar  1 10:37:34 2016	(r409863)
+++ head/games/simsu/pkg-plist	Tue Mar  1 10:38:44 2016	(r409864)
@@ -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


More information about the svn-ports-head mailing list