mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Initial import of pyching-1.0.4.
pyching is a program that allows you to 'consult' the I Ching, an ancient Chinese book of wisdom, PR: 28695 Submitted by: Hye-Shik Chang <perky@python.or.kr>
This commit is contained in:
parent
dfd5092def
commit
9f16c9f019
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44930
@ -182,6 +182,7 @@
|
||||
SUBDIR += powerpak
|
||||
SUBDIR += pp
|
||||
SUBDIR += ptkei
|
||||
SUBDIR += pyching
|
||||
SUBDIR += pysol
|
||||
SUBDIR += pysol-cardsets
|
||||
SUBDIR += pysol-music
|
||||
|
47
games/pyching/Makefile
Normal file
47
games/pyching/Makefile
Normal file
@ -0,0 +1,47 @@
|
||||
# New ports collection makefile for: pyching
|
||||
# Date created: 5 July 2001
|
||||
# Whom: Hye-Shik Chang <perky@python.or.kr>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= pyching
|
||||
PORTVERSION= 1.0.4
|
||||
CATEGORIES= games python
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
||||
MAINTAINER= perky@python.or.kr
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
USE_PYTHON= yes
|
||||
USE_X_PREFIX= yes
|
||||
|
||||
PLIST_SUB+= LIB_TARGET=${LIB_TARGET:S,^${PREFIX}/,,g} \
|
||||
DOC_TARGET=${DOC_TARGET:S,^${PREFIX}/,,g}
|
||||
|
||||
EXEC_FILENAME= ${PORTNAME}
|
||||
LIB_FILES= pyching_*.py* smgTkLib/smg*.py* icon.xbm
|
||||
DOC_FILES= [A-Z]*
|
||||
LIB_TARGET= ${PREFIX}/lib/${PORTNAME}
|
||||
DOC_TARGET= ${PREFIX}/share/doc/${PORTNAME}
|
||||
|
||||
post-patch:
|
||||
${SED} 's@^\(import sys\)$$@\1; sys.path.append("${LIB_TARGET}")@' \
|
||||
${WRKSRC}/pyching.py >${WRKSRC}/${EXEC_FILENAME}
|
||||
|
||||
do-build:
|
||||
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${EXEC_FILENAME} ${PREFIX}/bin
|
||||
${MKDIR} ${LIB_TARGET}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${LIB_FILES} ${LIB_TARGET}
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOC_TARGET}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${DOC_FILES} ${DOC_TARGET}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
games/pyching/distinfo
Normal file
1
games/pyching/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (pyching-1.0.4.tar.gz) = 8ca06fc64376e97ad708fbe727b41bc0
|
1
games/pyching/pkg-comment
Normal file
1
games/pyching/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Consult a I Ching, an ancient Chinese book of wisdom
|
6
games/pyching/pkg-descr
Normal file
6
games/pyching/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
pyching is a program that allows you to 'consult'
|
||||
the I Ching, an ancient Chinese book of wisdom,
|
||||
using the coin oracle, and then to look up a brief
|
||||
interpretation.
|
||||
|
||||
WWW: http://sourceforge.net/projects/pyching/
|
32
games/pyching/pkg-plist
Normal file
32
games/pyching/pkg-plist
Normal file
@ -0,0 +1,32 @@
|
||||
bin/pyching
|
||||
%%LIB_TARGET%%/pyching_cimages.py
|
||||
%%LIB_TARGET%%/pyching_cimages.pyc
|
||||
%%LIB_TARGET%%/pyching_engine.py
|
||||
%%LIB_TARGET%%/pyching_engine.pyc
|
||||
%%LIB_TARGET%%/pyching_hlhtx_data.py
|
||||
%%LIB_TARGET%%/pyching_hlhtx_data.pyc
|
||||
%%LIB_TARGET%%/pyching_idimage_data.py
|
||||
%%LIB_TARGET%%/pyching_idimage_data.pyc
|
||||
%%LIB_TARGET%%/pyching_inhtx_data.py
|
||||
%%LIB_TARGET%%/pyching_inhtx_data.pyc
|
||||
%%LIB_TARGET%%/pyching_interface_tkinter.py
|
||||
%%LIB_TARGET%%/pyching_interface_tkinter.pyc
|
||||
%%LIB_TARGET%%/smgAbout.py
|
||||
%%LIB_TARGET%%/smgAbout.pyc
|
||||
%%LIB_TARGET%%/smgAnimate.py
|
||||
%%LIB_TARGET%%/smgAnimate.pyc
|
||||
%%LIB_TARGET%%/smgDialog.py
|
||||
%%LIB_TARGET%%/smgDialog.pyc
|
||||
%%LIB_TARGET%%/smgHtmlView.py
|
||||
%%LIB_TARGET%%/smgHtmlView.pyc
|
||||
%%LIB_TARGET%%/icon.xbm
|
||||
@dirrm %%LIB_TARGET%%
|
||||
%%PORTDOCS%%%%DOC_TARGET%%/BUGS
|
||||
%%PORTDOCS%%%%DOC_TARGET%%/CHANGES
|
||||
%%PORTDOCS%%%%DOC_TARGET%%/COPYING
|
||||
%%PORTDOCS%%%%DOC_TARGET%%/COPYRIGHT
|
||||
%%PORTDOCS%%%%DOC_TARGET%%/CREDITS
|
||||
%%PORTDOCS%%%%DOC_TARGET%%/INSTALL
|
||||
%%PORTDOCS%%%%DOC_TARGET%%/NEWS
|
||||
%%PORTDOCS%%%%DOC_TARGET%%/README
|
||||
%%PORTDOCS%%@dirrm %%DOC_TARGET%%
|
Loading…
Reference in New Issue
Block a user