2004-02-03 17:16:14 +01:00
|
|
|
# New ports collection makefile for: pykawari
|
|
|
|
# Date created: 23 Jan 2004
|
|
|
|
# Whom: UMENO Takashi
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pykawari
|
2009-03-03 06:42:18 +01:00
|
|
|
PORTVERSION= 8.2.8
|
2010-03-28 08:47:48 +02:00
|
|
|
PORTREVISION= 2
|
2004-02-03 17:16:14 +01:00
|
|
|
CATEGORIES= games
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF/kawari/kawari/${PORTVERSION}
|
2004-02-03 17:16:14 +01:00
|
|
|
DISTNAME= kawari-${PORTVERSION:S/.//g}
|
|
|
|
|
|
|
|
MAINTAINER= umeno@rr.iij4u.or.jp
|
2004-10-13 11:02:27 +02:00
|
|
|
COMMENT= A real kawari8 module for ninix-aya
|
2004-02-03 17:16:14 +01:00
|
|
|
|
2009-09-08 23:08:41 +02:00
|
|
|
EXTRACT_DEPENDS=unzip:${PORTSDIR}/archivers/unzip
|
2004-02-03 17:16:14 +01:00
|
|
|
RUN_DEPENDS= ninix:${PORTSDIR}/games/ninix-aya
|
|
|
|
|
2004-10-13 11:02:27 +02:00
|
|
|
EXTRACT_CMD= ${UNZIP_CMD}
|
|
|
|
EXTRACT_BEFORE_ARGS= # empty
|
2004-02-03 17:16:14 +01:00
|
|
|
EXTRACT_AFTER_ARGS= # empty
|
|
|
|
|
|
|
|
PLIST_SUB= LOCALBASE=${LOCALBASE}
|
|
|
|
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_GMAKE= yes
|
2009-03-03 06:42:18 +01:00
|
|
|
USE_ZIP= yes
|
2004-02-03 17:16:14 +01:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/kawari-${PORTVERSION:S/.//g}
|
2004-02-20 14:53:42 +01:00
|
|
|
CFLAGS+= ${PTHREAD_CFLAGS} -fPIC
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
2004-09-26 04:43:13 +02:00
|
|
|
|
2005-05-21 19:45:05 +02:00
|
|
|
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
|
2004-02-20 14:53:42 +01:00
|
|
|
CFLAGS+= -fPIC
|
|
|
|
.endif
|
2004-02-03 17:16:14 +01:00
|
|
|
|
|
|
|
do-build:
|
2005-03-19 22:27:57 +01:00
|
|
|
(cd ${WRKSRC}/build/src; CFLAGS="${CFLAGS}" ${GMAKE} -f gcc.mak PYTHONBASE=${PYTHONBASE} PYTHON_VERSION=${PYTHON_VERSION} PTHREAD_LIBS=${PTHREAD_LIBS} CXX=${CXX})
|
2004-02-03 17:16:14 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${PREFIX}/share/kawari
|
2004-10-13 11:02:27 +02:00
|
|
|
(cd ${WRKSRC}; ${TAR} -cf - document license.txt readme.1st build/BUILD.TXT) | ${TAR} -xvpf - -C ${PREFIX}/share/kawari
|
2004-02-05 04:03:12 +01:00
|
|
|
${LN} -f ${WRKSRC}/build/mach/freebsd/libshiori.so ${WRKSRC}/build/mach/freebsd/_kawari8.so
|
2004-02-03 17:16:14 +01:00
|
|
|
${MKDIR} ${PREFIX}/libexec/ninix
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/build/mach/freebsd/_kawari8.so ${PREFIX}/libexec/ninix
|
|
|
|
|
2004-02-20 14:53:42 +01:00
|
|
|
.include <bsd.port.post.mk>
|