diff options
author | kevlo <kevlo@FreeBSD.org> | 2001-07-09 00:05:12 +0800 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2001-07-09 00:05:12 +0800 |
commit | 8578edad02a1f2f5a95e06eb339abedfdd553448 (patch) | |
tree | f51bb6b8c39c4c2944727932231cad8032286b56 | |
parent | 94a0ae444f4aa77a3930d75b4a2aef2d77e296c4 (diff) | |
download | freebsd-ports-gnome-8578edad02a1f2f5a95e06eb339abedfdd553448.tar.gz freebsd-ports-gnome-8578edad02a1f2f5a95e06eb339abedfdd553448.tar.zst freebsd-ports-gnome-8578edad02a1f2f5a95e06eb339abedfdd553448.zip |
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>
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/pyching/Makefile | 47 | ||||
-rw-r--r-- | games/pyching/distinfo | 1 | ||||
-rw-r--r-- | games/pyching/pkg-comment | 1 | ||||
-rw-r--r-- | games/pyching/pkg-descr | 6 | ||||
-rw-r--r-- | games/pyching/pkg-plist | 32 |
6 files changed, 88 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index 24ba0f638f85..e887dd44b442 100644 --- a/games/Makefile +++ b/games/Makefile @@ -182,6 +182,7 @@ SUBDIR += powerpak SUBDIR += pp SUBDIR += ptkei + SUBDIR += pyching SUBDIR += pysol SUBDIR += pysol-cardsets SUBDIR += pysol-music diff --git a/games/pyching/Makefile b/games/pyching/Makefile new file mode 100644 index 000000000000..76e8c8b79f16 --- /dev/null +++ b/games/pyching/Makefile @@ -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> diff --git a/games/pyching/distinfo b/games/pyching/distinfo new file mode 100644 index 000000000000..bacb0c739261 --- /dev/null +++ b/games/pyching/distinfo @@ -0,0 +1 @@ +MD5 (pyching-1.0.4.tar.gz) = 8ca06fc64376e97ad708fbe727b41bc0 diff --git a/games/pyching/pkg-comment b/games/pyching/pkg-comment new file mode 100644 index 000000000000..1a146c975c90 --- /dev/null +++ b/games/pyching/pkg-comment @@ -0,0 +1 @@ +Consult a I Ching, an ancient Chinese book of wisdom diff --git a/games/pyching/pkg-descr b/games/pyching/pkg-descr new file mode 100644 index 000000000000..756010df6123 --- /dev/null +++ b/games/pyching/pkg-descr @@ -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/ diff --git a/games/pyching/pkg-plist b/games/pyching/pkg-plist new file mode 100644 index 000000000000..431cf0dfb6c7 --- /dev/null +++ b/games/pyching/pkg-plist @@ -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%% |