freebsd-ports/games/pykawari/Makefile
Gerald Pfeifer 15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00

46 lines
1.2 KiB
Makefile

# Created by: UMENO Takashi
# $FreeBSD$
PORTNAME= pykawari
PORTVERSION= 8.2.8
PORTREVISION= 7
CATEGORIES= games
MASTER_SITES= SF/kawari/kawari/${PORTVERSION}
DISTNAME= kawari-${PORTVERSION:S/.//g}
MAINTAINER= ports@FreeBSD.org
COMMENT= Real kawari8 module for ninix-aya
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/license.txt
RUN_DEPENDS= ninix:${PORTSDIR}/games/ninix-aya
BUILD_WRKSRC= ${WRKSRC}/build/src
USES= gmake python zip
MAKEFILE= gcc.mak
MAKE_ARGS= CXX="${CXX}" CFLAGS="${CXXFLAGS}" \
PYTHONBASE="${PYTHONBASE}" PYTHON_VERSION="${PYTHON_VERSION}"
CFLAGS+= -I. -DNDEBUG -I${PYTHON_INCLUDEDIR} -fPIC
DATADIR= ${PREFIX}/share/kawari
post-patch:
@${REINPLACE_CMD} -e 's|shell python|shell ${PYTHON_CMD}|' \
${BUILD_WRKSRC}/gcc.mak
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/ninix \
${STAGEDIR}${DATADIR}/build
(cd ${WRKSRC}/build/mach/freebsd && ${INSTALL_LIB} libshiori.so \
${STAGEDIR}${PREFIX}/libexec/ninix/_kawari8.so)
(cd ${WRKSRC} && ${COPYTREE_SHARE} document \
${STAGEDIR}${DATADIR})
(cd ${WRKSRC} && ${INSTALL_DATA} license.txt readme.1st \
${STAGEDIR}${DATADIR})
(cd ${WRKSRC}/build && ${INSTALL_DATA} BUILD.TXT \
${STAGEDIR}${DATADIR}/build)
.include <bsd.port.mk>