2013-04-26 18:39:14 +02:00
|
|
|
# Created by: UMENO Takashi
|
2003-12-06 18:59:43 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2004-10-26 00:01:25 +02:00
|
|
|
PORTNAME= ninix-aya
|
2013-04-27 08:18:58 +02:00
|
|
|
PORTVERSION= 4.4
|
2014-03-10 21:55:20 +01:00
|
|
|
PORTREVISION= 2
|
2003-12-06 18:59:43 +01:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
|
2013-04-27 08:18:58 +02:00
|
|
|
MASTER_SITE_SUBDIR= ninix-aya/58500
|
2003-12-06 18:59:43 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2014-06-28 09:48:01 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-12-06 18:59:43 +01:00
|
|
|
COMMENT= Ninix-aya is a compatible with desktop mascot program "Ukagaka"
|
|
|
|
|
2011-09-26 00:43:51 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2014-07-14 01:23:25 +02:00
|
|
|
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png
|
2003-12-06 18:59:43 +01:00
|
|
|
RUN_DEPENDS= unzip:${PORTSDIR}/archivers/unzip \
|
2009-01-30 14:06:03 +01:00
|
|
|
${PYTHON_SITELIBDIR}/chardet/__init__.py:${PORTSDIR}/textproc/py-chardet \
|
2011-11-15 02:06:40 +01:00
|
|
|
${PYNUMPY} \
|
2010-01-15 04:05:01 +01:00
|
|
|
${PYTHON_SITELIBDIR}/pygst.py:${PORTSDIR}/multimedia/py-gstreamer
|
2003-12-06 18:59:43 +01:00
|
|
|
|
|
|
|
USE_PYTHON= yes
|
2011-11-15 02:06:40 +01:00
|
|
|
USE_GNOME= pygtk2
|
2014-05-29 16:35:01 +02:00
|
|
|
USES= gmake
|
2003-12-06 18:59:43 +01:00
|
|
|
|
2013-06-18 18:09:58 +02:00
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
|
|
|
2013-09-20 19:36:33 +02:00
|
|
|
NO_STAGE= yes
|
2013-04-26 18:39:14 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2010-05-16 06:55:16 +02:00
|
|
|
|
2013-04-26 18:39:14 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2010-05-16 06:55:16 +02:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/ninix
|
|
|
|
.endif
|
|
|
|
|
2013-04-26 18:39:14 +02:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
|
|
|
USES+= gettext
|
2010-05-16 06:55:16 +02:00
|
|
|
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
|
2013-06-18 18:09:58 +02:00
|
|
|
.if ! ${PORT_OPTIONS:MDOCS}
|
2010-05-16 06:55:16 +02:00
|
|
|
@${REINPLACE_CMD} -e '/docdir)$$/d' \
|
|
|
|
${WRKSRC}/Makefile
|
|
|
|
.endif
|
2013-06-18 18:09:58 +02:00
|
|
|
.if ! ${PORT_OPTIONS:MNLS}
|
2010-05-16 06:55:16 +02:00
|
|
|
@${REINPLACE_CMD} -e '/localedir/d' \
|
|
|
|
${WRKSRC}/Makefile
|
|
|
|
.endif
|
|
|
|
|
2013-04-26 18:39:14 +02:00
|
|
|
.include <bsd.port.mk>
|