# Created by: UMENO Takashi # $FreeBSD$ PORTNAME= ninix-aya PORTVERSION= 4.4 PORTREVISION= 2 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP} MASTER_SITE_SUBDIR= ninix-aya/58500 EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= Ninix-aya is a compatible with desktop mascot program "Ukagaka" LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png RUN_DEPENDS= unzip:${PORTSDIR}/archivers/unzip \ ${PYTHON_SITELIBDIR}/chardet/__init__.py:${PORTSDIR}/textproc/py-chardet \ ${PYNUMPY} \ ${PYTHON_SITELIBDIR}/pygst.py:${PORTSDIR}/multimedia/py-gstreamer USE_PYTHON= yes USE_GNOME= pygtk2 USES= gmake OPTIONS_DEFINE= DOCS NLS NO_STAGE= yes .include .if ${PORT_OPTIONS:MDOCS} DOCSDIR= ${PREFIX}/share/doc/ninix .endif .if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else PLIST_SUB+= NLS="@comment " .endif post-patch: @${REINPLACE_CMD} -E -e 's,\$$\(DESTDIR\)(.*),\1,' \ -e 's,/opt/ninix-aya,$$(PREFIX),' \ -e 's,lib/ninix,libexec/ninix,' \ -e 's,/doc,/share/doc/ninix,' \ ${WRKSRC}/Makefile .if ! ${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} -e '/docdir)$$/d' \ ${WRKSRC}/Makefile .endif .if ! ${PORT_OPTIONS:MNLS} @${REINPLACE_CMD} -e '/localedir/d' \ ${WRKSRC}/Makefile .endif .include