diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2001-07-08 16:05:12 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2001-07-08 16:05:12 +0000 |
commit | 9f16c9f01920cd7be66435da6964f6039fd6c55e (patch) | |
tree | c7dcd821a728cbd5732cec1e5d88673ee5641eb1 /games/pyching | |
parent | dfd5092def2af3de56eb2deecdf2c70c3aa932a5 (diff) | |
download | ports-9f16c9f01920cd7be66435da6964f6039fd6c55e.tar.gz ports-9f16c9f01920cd7be66435da6964f6039fd6c55e.zip |
Notes
Diffstat (limited to 'games/pyching')
-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 |
5 files changed, 87 insertions, 0 deletions
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%% |