mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Add pykawari 8.1.0, pykawari is a real kawari8 module for ninix-aya.
PR: ports/61787 Submitted by: UMENO Takashi <umeno@rr.iij4u.or.jp>
This commit is contained in:
parent
a37446b1dc
commit
07ba1772bc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99884
@ -325,6 +325,7 @@
|
||||
SUBDIR += py-sgfsummary
|
||||
SUBDIR += pyching
|
||||
SUBDIR += pydance
|
||||
SUBDIR += pykawari
|
||||
SUBDIR += pysol
|
||||
SUBDIR += pysol-cardsets
|
||||
SUBDIR += pysol-music
|
||||
|
49
games/pykawari/Makefile
Normal file
49
games/pykawari/Makefile
Normal file
@ -0,0 +1,49 @@
|
||||
# New ports collection makefile for: pykawari
|
||||
# Date created: 23 Jan 2004
|
||||
# Whom: UMENO Takashi
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= pykawari
|
||||
PORTVERSION= 8.1.0
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= kawari
|
||||
DISTNAME= kawari-${PORTVERSION:S/.//g}
|
||||
EXTRACT_SUFX= .lzh
|
||||
|
||||
PATCH_SITES= http://rinakusu.at.infoseek.co.jp/
|
||||
PATCHFILES= kawari-810-py-module.patch
|
||||
PATCH_DIST_STRIP= -p1
|
||||
|
||||
MAINTAINER= umeno@rr.iij4u.or.jp
|
||||
COMMENT= Pykawari is a real kawari8 module for ninix-aya
|
||||
|
||||
BUILD_DEPENDS= lha:${PORTSDIR}/archivers/lha
|
||||
RUN_DEPENDS= ninix:${PORTSDIR}/games/ninix-aya
|
||||
|
||||
EXTRACT_CMD= lha
|
||||
EXTRACT_BEFORE_ARGS= xfqw=${WRKDIR}
|
||||
EXTRACT_AFTER_ARGS= # empty
|
||||
|
||||
PLIST_SUB= LOCALBASE=${LOCALBASE}
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_GMAKE= yes
|
||||
USE_X_PREFIX= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/kawari-${PORTVERSION:S/.//g}
|
||||
CFLAGS+= ${PTHREAD_CFLAGS}
|
||||
|
||||
do-build:
|
||||
(cd ${WRKSRC}/build/src; ${GMAKE} -f gcc.mak PYTHONBASE=${PYTHONBASE} PYTHON_VERSION=${PYTHON_VERSION})
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/share/kawari
|
||||
${TAR} -cf - document license.txt readme.1st build/build.txt -C ${WRKSRC} | ${TAR} -xvpf - -C ${PREFIX}/share/kawari
|
||||
${LN} ${WRKSRC}/build/mach/freebsd/libshiori.so ${WRKSRC}/build/mach/freebsd/_kawari8.so
|
||||
${MKDIR} ${PREFIX}/libexec/ninix
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/build/mach/freebsd/_kawari8.so ${PREFIX}/libexec/ninix
|
||||
|
||||
.include <bsd.port.mk>
|
2
games/pykawari/distinfo
Normal file
2
games/pykawari/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (kawari-810.lzh) = 20021f6164f306a2ff9063f3f357cf20
|
||||
MD5 (kawari-810-py-module.patch) = 1074f8c088f7a7b6c0ac20e5af08aa92
|
28
games/pykawari/files/patch-build::src::gcc.mak
Normal file
28
games/pykawari/files/patch-build::src::gcc.mak
Normal file
@ -0,0 +1,28 @@
|
||||
--- build/src/gcc.mak.orig Thu Jan 22 07:47:30 2004
|
||||
+++ build/src/gcc.mak Thu Jan 22 07:49:18 2004
|
||||
@@ -6,7 +6,7 @@
|
||||
# ターゲットによって書き換え
|
||||
|
||||
## mach type: cygwin, mingw, linux, freebsd, darwin
|
||||
-MACH_TYPE = linux
|
||||
+MACH_TYPE = freebsd
|
||||
|
||||
## target name
|
||||
SHIORI = shiori
|
||||
@@ -42,6 +42,7 @@
|
||||
## (Python) and if win32
|
||||
# PYTHON_CFLAGS = -I/python22jp/include
|
||||
# PYTHON_LIBS = -L/python22jp/libs
|
||||
+PYTHON_LIBS = -L${PYTHONBASE}/lib/${PYTHON_VERSION}/config -l${PYTHON_VERSION}
|
||||
|
||||
#==========================================================================
|
||||
# 以下、基本的に書き換え不要
|
||||
@@ -146,7 +147,7 @@
|
||||
$(CXX) -o $@ -bundle $(SHIOOBJ) $(LIBOBJ) $(LDFLAGS)
|
||||
|
||||
$(MACH)/kosui$(EXEEXT) : $(KOSUIOBJ) $(LIBOBJ)
|
||||
- $(CXX) -o $@ $(KOSUIOBJ) $(LIBOBJ) $(LDFLAGS)
|
||||
+ $(CXX) -o $@ $(KOSUIOBJ) $(LIBOBJ) $(LDFLAGS) ${PTHREAD_LIBS} -lutil
|
||||
$(STRIP) $@
|
||||
|
||||
$(MACH)/kawari_encode$(EXEEXT) : tool/kawari_encode$(OBJEXT) $(CRYPTOBJ)
|
5
games/pykawari/pkg-descr
Normal file
5
games/pykawari/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
Pykawari is a real kawari8 module for ninix-aya.
|
||||
|
||||
For more information, see
|
||||
WWW: http://kawari.sourceforge.net/
|
||||
WWW: http://rinakusu.at.infoseek.co.jp/
|
41
games/pykawari/pkg-plist
Normal file
41
games/pykawari/pkg-plist
Normal file
@ -0,0 +1,41 @@
|
||||
libexec/ninix/_kawari8.so
|
||||
share/kawari/license.txt
|
||||
share/kawari/readme.1st
|
||||
share/kawari/document/banners/kawalinks.png
|
||||
share/kawari/document/banners/kawari.png
|
||||
share/kawari/document/banners/kawaribts.png
|
||||
share/kawari/document/banners/kawariplus.png
|
||||
share/kawari/document/banners/kawarisf.png
|
||||
share/kawari/document/banners/kawari_bbs.png
|
||||
share/kawari/document/banners/kawari_logo.png
|
||||
share/kawari/document/banners/kpcg_banner.png
|
||||
share/kawari/document/images/logo.png
|
||||
share/kawari/document/images/logo2.png
|
||||
share/kawari/document/images/ver_731.png
|
||||
share/kawari/document/images/ver_790.png
|
||||
share/kawari/document/images/ver_800.png
|
||||
share/kawari/document/images/ver_810.png
|
||||
share/kawari/document/index.html
|
||||
share/kawari/document/kawari.css
|
||||
share/kawari/document/kis_reference.html
|
||||
share/kawari/document/kiu_specbnf.txt
|
||||
share/kawari/document/kosui.html
|
||||
share/kawari/document/license.html
|
||||
share/kawari/document/programming.html
|
||||
share/kawari/document/programming_1.html
|
||||
share/kawari/document/programming_2.html
|
||||
share/kawari/document/programming_3.html
|
||||
share/kawari/document/programming_4.html
|
||||
share/kawari/document/programming_5.html
|
||||
share/kawari/document/start.html
|
||||
share/kawari/document/story.html
|
||||
share/kawari/document/tips.html
|
||||
share/kawari/document/users.html
|
||||
share/kawari/document/convert.html
|
||||
share/kawari/document/errormes.html
|
||||
share/kawari/build/build.txt
|
||||
@dirrm share/kawari/document/banners
|
||||
@dirrm share/kawari/document/images
|
||||
@dirrm share/kawari/document
|
||||
@dirrm share/kawari/build
|
||||
@dirrm share/kawari
|
Loading…
Reference in New Issue
Block a user