freebsd-ports/games/ninix-aya/Makefile
Ruslan Makhmatkhanov df9d4528d9 - 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

PR:             ports/162087
Submitted by:   rm (myself)
Approved by:    maintainer (timeout - 2+ weeks), novel (mentor)
Feature safe:   yes
2011-11-15 01:06:40 +00:00

59 lines
1.3 KiB
Makefile

# New ports collection makefile for: ninix-aya
# Date created: 6 Dec 2003
# Whom: UMENO Takashi
#
# $FreeBSD$
#
PORTNAME= ninix-aya
PORTVERSION= 4.3.2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
MASTER_SITE_SUBDIR= ninix-aya/53772
EXTRACT_SUFX= .tgz
MAINTAINER= umeno@rr.iij4u.or.jp
COMMENT= Ninix-aya is a compatible with desktop mascot program "Ukagaka"
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= png:${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
USE_GMAKE= yes
.include <bsd.port.pre.mk>
.if !defined(NOPORTDOCS)
DOCSDIR= ${PREFIX}/share/doc/ninix
.endif
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
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 defined(NOPORTDOCS)
@${REINPLACE_CMD} -e '/docdir)$$/d' \
${WRKSRC}/Makefile
.endif
.if defined(WITHOUT_NLS)
@${REINPLACE_CMD} -e '/localedir/d' \
${WRKSRC}/Makefile
.endif
.include <bsd.port.post.mk>