diff options
author | makc <makc@FreeBSD.org> | 2010-07-12 02:57:42 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2010-07-12 02:57:42 +0800 |
commit | 9c953f870df27fc162a1c73133b6bc3ba1620f40 (patch) | |
tree | 2d75cdd28008d4698fafee544156b79ac3ef0f00 /misc | |
parent | 47dbdae0fffdf3db61c9e58c65927c997f2cf15b (diff) | |
download | freebsd-ports-gnome-9c953f870df27fc162a1c73133b6bc3ba1620f40.tar.gz freebsd-ports-gnome-9c953f870df27fc162a1c73133b6bc3ba1620f40.tar.zst freebsd-ports-gnome-9c953f870df27fc162a1c73133b6bc3ba1620f40.zip |
Add new port misc/py-xdelta3:
Python module for xdelta3
PR: ports/147641
Submitted by: Anonymous <swell.k at gmail.com>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/py-xdelta3/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/misc/py-xdelta3/Makefile b/misc/py-xdelta3/Makefile new file mode 100644 index 000000000000..a7726d316500 --- /dev/null +++ b/misc/py-xdelta3/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: py-xdelta3 +# Date created: 7 Jun 2010 +# Whom: Anonymous +# +# $FreeBSD$ +# + +PORTREVISION= 0 +PORTEPOCH= 0 +CATEGORIES?= misc python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +COMMENT= Python module for xdelta3 + +BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13 \ + ${NONEXISTENT}:${PORTSDIR}/misc/xdelta3:build + +MASTERDIR= ${.CURDIR}/../../misc/xdelta3 + +USE_PYTHON= yes +USE_PYDISTUTILS= yes +PYDISTUTILS_PKGNAME= xdelta3main + +WRKDIR= ${WRKDIRPREFIX}${MASTERDIR}/work +PLIST_FILES= %%PYTHON_SITELIBDIR%%/${PYDISTUTILS_PKGNAME}.so \ + %%PYTHON_SITELIBDIR%%/xdelta3module.so \ + %%PYTHON_SITELIBDIR%%/xdelta3.py + +post-install: + ${INSTALL_PROGRAM} ${WRKSRC}/xdelta3module.so ${PYTHONPREFIX_SITELIBDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/xdelta3.py ${PYTHONPREFIX_SITELIBDIR} + +regression-test: build + ${PYTHON_CMD} ${WRKSRC}/xdelta3-test.py + +.include "${MASTERDIR}/Makefile" |