Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Apr 2019 09:02:32 +0000 (UTC)
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r498708 - head/games/pythonsudoku
Message-ID:  <201904120902.x3C92WnZ013040@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bofh
Date: Fri Apr 12 09:02:32 2019
New Revision: 498708
URL: https://svnweb.freebsd.org/changeset/ports/498708

Log:
  games/pythonsudoku: Change DEPENDS from py-reportlab1 to py-reportlab
  
  - Modernize OPTIONS

Modified:
  head/games/pythonsudoku/Makefile

Modified: head/games/pythonsudoku/Makefile
==============================================================================
--- head/games/pythonsudoku/Makefile	Fri Apr 12 09:01:15 2019	(r498707)
+++ head/games/pythonsudoku/Makefile	Fri Apr 12 09:02:32 2019	(r498708)
@@ -3,7 +3,7 @@
 
 PORTNAME=	pythonsudoku
 PORTVERSION=	0.13
-PORTREVISION=	10
+PORTREVISION=	11
 CATEGORIES=	games python
 MASTER_SITES=	SF/${PORTNAME}/Python%20Sudoku/${PORTVERSION}/ \
 		SF/nemysisfreebsdp/games/:icons
@@ -12,7 +12,7 @@ DISTFILES=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
 DIST_SUBDIR=	python
 EXTRACT_ONLY=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	Text and graphical program to create or resolve Sudokus
 
 LICENSE=	GPLv2+
@@ -21,25 +21,23 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 LIB_DEPENDS+=	libcups.so:print/cups
 RUN_DEPENDS=	${PYGAME} \
 		${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}reportlab1>=0:print/py-reportlab1@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}reportlab>=0:print/py-reportlab@${PY_FLAVOR}
 
-USES=		python:2.7 tar:bzip2
+USES=		gnome python:2.7 tar:bzip2
 USE_GNOME=	pygtk2
 USE_PYTHON=	distutils
-INSTALLS_ICONS=	yes
 
 PORTDOCS=	*
 
 DESKTOP_ENTRIES="Python Sudoku" "" "${PORTNAME}" \
 		"${PORTNAME}" "Game;LogicGame;" ""
+INSTALLS_ICONS=	yes
+NO_ARCH=	yes
 
 OPTIONS_DEFINE=	DOCS NLS
 OPTIONS_SUB=	yes
-
 NLS_USES=	gettext-runtime:run
 
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/games|${PREFIX}/bin|; \
 		s|/usr/share/games|${PREFIX}/share|' \
@@ -52,11 +50,10 @@ post-patch:
 		's|/usr/lib/python2.4|${PYTHON_CMD}|'
 	@${FIND} ${WRKSRC} -name "*.bak" -delete
 
-.if ! ${PORT_OPTIONS:MNLS}
+post-patch-NLS-off:
 	@${REINPLACE_CMD} -i '' \
 		'/for lingua in linguas():/,/\["locale\/%s\/LC_MESSAGES\/pythonsudoku.mo" % lingua\]))/s/^/#/' \
 		${WRKSRC}/setup.py
-.endif
 
 post-install:
 	@cd ${STAGEDIR}${PREFIX}/bin && ${LN} -sf pysdk-gui.py ${PORTNAME}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904120902.x3C92WnZ013040>