ports/162087: [PATCH] games/ninix-aya: dependencies cleanup

Ruslan Mahmatkhanov cvs-src at yandex.ru
Fri Oct 28 09:10:12 UTC 2011


>Number:         162087
>Category:       ports
>Synopsis:       [PATCH] games/ninix-aya: dependencies cleanup
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 28 09:10:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Ruslan Mahmatkhanov
>Release:        
>Organization:
>Environment:
>Description:
- remove conditional for python < 2.4 (we haven't them in ports tree anyway and japanese/pycodec is deprecated)
- change dependency on math/py-numpy with ${PYNUMPY}
- change dependency on x11-toolkits/py-gtk2 with USE_GNOME= pygtk2
- whitespace fix in pkg-descr

No functional changes, so no PORTREVISION bump needed.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/Makefile b/Makefile
index 550b4bf..e4d0a7d 100644
--- a/Makefile
+++ b/Makefile
@@ -20,17 +20,12 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	png:${PORTSDIR}/graphics/png
 RUN_DEPENDS=	unzip:${PORTSDIR}/archivers/unzip \
-		${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2 \
 		${PYTHON_SITELIBDIR}/chardet/__init__.py:${PORTSDIR}/textproc/py-chardet \
-		${PYTHON_SITELIBDIR}/numpy:${PORTSDIR}/math/py-numpy \
+		${PYNUMPY} \
 		${PYTHON_SITELIBDIR}/pygst.py:${PORTSDIR}/multimedia/py-gstreamer
 
-PYVERSION=	${PYTHON_VERSION:S/^python//}
-.if defined(PYTHON_VERSION) && ${PYVERSION:S/.//} < 24
-RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/japanese.pth:${PORTSDIR}/japanese/pycodec
-.endif # defined(PYVERSION) && ${PYVERSION:S/.//} < 24
-
 USE_PYTHON=	yes
+USE_GNOME=	pygtk2
 USE_GMAKE=	yes
 
 .include <bsd.port.pre.mk>
diff --git a/pkg-descr b/pkg-descr
index 83bc419..f009d5e 100644
--- a/pkg-descr
+++ b/pkg-descr
@@ -1,5 +1,5 @@
 Ninix-aya is a branch of ninix.
-Ninix-aya and ninix are compatible with Windows desktop mascot 
+Ninix-aya and ninix are compatible with Windows desktop mascot
 program "Ukagaka".
 
 For more information, see


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list