diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-09-29 08:55:16 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-09-29 08:55:16 +0000 |
commit | 8a2ce6d36162a5564833faa75e6a406aeb489fa8 (patch) | |
tree | a7f6a2bea65f9bf4f5c793e65831f3e5c25ba81a /graphics/sk1libs | |
parent | 79592d918d4e232c018245b3696d73db45a3d9a7 (diff) |
- Switch to USES=python
- Strip libraries
Notes
Notes:
svn path=/head/; revision=369512
Diffstat (limited to 'graphics/sk1libs')
-rw-r--r-- | graphics/sk1libs/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/graphics/sk1libs/Makefile b/graphics/sk1libs/Makefile index 755dedc73508..ad785c33c9e9 100644 --- a/graphics/sk1libs/Makefile +++ b/graphics/sk1libs/Makefile @@ -17,8 +17,8 @@ LIB_DEPENDS= liblcms.so:${PORTSDIR}/graphics/lcms \ PROJECTHOST= uniconvertor -USE_PYTHON= yes -USE_PYDISTUTILS=yes +USES= python +USE_PYTHON= distutils PYDISTUTILS_BUILD_TARGET=build_ext PYDISTUTILS_BUILDARGS= -L${LOCALBASE}/lib \ -I${LOCALBASE}/include:${LOCALBASE}/include/freetype2 @@ -26,4 +26,9 @@ PYDISTUTILS_BUILDARGS= -L${LOCALBASE}/lib \ post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/src/utils/fs.py +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/sk1libs/ft2engine/*.so \ + ${STAGEDIR}${PYTHON_SITELIBDIR}/sk1libs/pycms/*.so \ + ${STAGEDIR}${PYTHON_SITELIBDIR}/sk1libs/imaging/*.so + .include <bsd.port.mk> |