diff options
author | tg <tg@FreeBSD.org> | 2001-09-28 19:04:47 +0800 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 2001-09-28 19:04:47 +0800 |
commit | e3b30cf7fd9323cff45676346ba36151b8c796c7 (patch) | |
tree | 5ab978486b12571a563db7e2c8ddb0c6a7462af4 /lang | |
parent | 6f6b8a08843d757aae31676452b8ba49b26e1d69 (diff) | |
download | freebsd-ports-gnome-e3b30cf7fd9323cff45676346ba36151b8c796c7.tar.gz freebsd-ports-gnome-e3b30cf7fd9323cff45676346ba36151b8c796c7.tar.zst freebsd-ports-gnome-e3b30cf7fd9323cff45676346ba36151b8c796c7.zip |
Install header files; they are needed for some third-party extensions.
Requested by: Dmytro Rud <unixoid@web.de>
Diffstat (limited to 'lang')
-rw-r--r-- | lang/py-mx-base/Makefile | 8 | ||||
-rw-r--r-- | lang/py-mx-base/pkg-plist | 15 |
2 files changed, 10 insertions, 13 deletions
diff --git a/lang/py-mx-base/Makefile b/lang/py-mx-base/Makefile index 983a0fdaa569..757e0d1ec176 100644 --- a/lang/py-mx-base/Makefile +++ b/lang/py-mx-base/Makefile @@ -21,6 +21,7 @@ BUILD_DEPENDS= ${PYDISTUTILS} USE_PYTHON= yes DOCDIR= ${PREFIX}/share/doc/py-mx +MXHDRDIR= ${PYTHON_SITELIBDIR}/mx/stdlib do-build: @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py build) @@ -29,12 +30,13 @@ do-install: @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py install) post-install: -.for dir in DateTime Proxy Stack TextTools Tools - @cd ${PYTHON_SITELIBDIR} && ${LN} -sf mx/${dir} ${dir} -.endfor @${MKDIR} ${DOCDIR} @${SED} -e "s;%%PYTHON_SITELIBDIR%%;${PYTHON_SITELIBDIR};g" \ < ${FILESDIR}/index.html.in > ${DOCDIR}/index.html @${CHMOD} 644 ${DOCDIR}/index.html + @${MKDIR} ${MXHDRDIR} +.for file in mx.h mxh.h mxpyapi.h mxstdlib.h + ${INSTALL_DATA} ${WRKSRC}/mx/stdlib/${file} ${MXHDRDIR} +.endfor .include <bsd.port.mk> diff --git a/lang/py-mx-base/pkg-plist b/lang/py-mx-base/pkg-plist index 125717b7cb50..e87c7599d4bb 100644 --- a/lang/py-mx-base/pkg-plist +++ b/lang/py-mx-base/pkg-plist @@ -333,18 +333,13 @@ lib/%%PYTHON_VERSION%%/site-packages/mx/Tools/mxTools/xmap.so lib/%%PYTHON_VERSION%%/site-packages/mx/__init__.py lib/%%PYTHON_VERSION%%/site-packages/mx/__init__.pyc lib/%%PYTHON_VERSION%%/site-packages/mx/__init__.pyo +lib/%%PYTHON_VERSION%%/site-packages/mx/stdlib/mx.h +lib/%%PYTHON_VERSION%%/site-packages/mx/stdlib/mxh.h +lib/%%PYTHON_VERSION%%/site-packages/mx/stdlib/mxpyapi.h +lib/%%PYTHON_VERSION%%/site-packages/mx/stdlib/mxstdlib.h share/doc/py-mx/index.html -@exec ln -sf mx/DateTime %D/lib/%%PYTHON_VERSION%%/site-packages/DateTime -@exec ln -sf mx/Proxy %D/lib/%%PYTHON_VERSION%%/site-packages/Proxy -@exec ln -sf mx/Stack %D/lib/%%PYTHON_VERSION%%/site-packages/Stack -@exec ln -sf mx/TextTools %D/lib/%%PYTHON_VERSION%%/site-packages/TextTools -@exec ln -sf mx/Tools %D/lib/%%PYTHON_VERSION%%/site-packages/Tools -@unexec rm -f %D/lib/%%PYTHON_VERSION%%/site-packages/Tools -@unexec rm -f %D/lib/%%PYTHON_VERSION%%/site-packages/TextTools -@unexec rm -f %D/lib/%%PYTHON_VERSION%%/site-packages/Stack -@unexec rm -f %D/lib/%%PYTHON_VERSION%%/site-packages/Proxy -@unexec rm -f %D/lib/%%PYTHON_VERSION%%/site-packages/DateTime @dirrm share/doc/py-mx +@dirrm lib/%%PYTHON_VERSION%%/site-packages/mx/stdlib @dirrm lib/%%PYTHON_VERSION%%/site-packages/mx/Tools/mxTools @dirrm lib/%%PYTHON_VERSION%%/site-packages/mx/Tools/Examples @dirrm lib/%%PYTHON_VERSION%%/site-packages/mx/Tools/Doc |