diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2014-09-29 16:55:16 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2014-09-29 16:55:16 +0800 |
commit | 22eace1b2220dbc46125a63f9bbcaeb0656440a6 (patch) | |
tree | a7f6a2bea65f9bf4f5c793e65831f3e5c25ba81a /graphics/sk1libs/Makefile | |
parent | 24ee8aed2fcec50f2b5f01d2a23b2ea142399dca (diff) | |
download | freebsd-ports-gnome-22eace1b2220dbc46125a63f9bbcaeb0656440a6.tar.gz freebsd-ports-gnome-22eace1b2220dbc46125a63f9bbcaeb0656440a6.tar.zst freebsd-ports-gnome-22eace1b2220dbc46125a63f9bbcaeb0656440a6.zip |
- Switch to USES=python
- Strip libraries
Diffstat (limited to 'graphics/sk1libs/Makefile')
-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> |