summaryrefslogtreecommitdiffstats
path: root/devel/py-gobject3
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-12-20 19:02:42 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-12-20 19:02:42 +0800
commit9e3581b15da1ca2f16eb75c34650d1dd9350922e (patch)
tree39733a7f2f2d9d829bace29bcd2122bf3389a7b7 /devel/py-gobject3
parent83d97469cd2ab30c8ca40e9c622abaa3bfb26189 (diff)
downloadmarcuscom-ports-9e3581b15da1ca2f16eb75c34650d1dd9350922e.tar
marcuscom-ports-9e3581b15da1ca2f16eb75c34650d1dd9350922e.tar.gz
marcuscom-ports-9e3581b15da1ca2f16eb75c34650d1dd9350922e.tar.bz2
marcuscom-ports-9e3581b15da1ca2f16eb75c34650d1dd9350922e.tar.lz
marcuscom-ports-9e3581b15da1ca2f16eb75c34650d1dd9350922e.tar.xz
marcuscom-ports-9e3581b15da1ca2f16eb75c34650d1dd9350922e.tar.zst
marcuscom-ports-9e3581b15da1ca2f16eb75c34650d1dd9350922e.zip
Stageify, and misc small cleanups.
Move net/libgweather3 -> net/libgweather. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18965 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/py-gobject3')
-rw-r--r--devel/py-gobject3/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/devel/py-gobject3/Makefile b/devel/py-gobject3/Makefile
index 236242237..93ad0fad5 100644
--- a/devel/py-gobject3/Makefile
+++ b/devel/py-gobject3/Makefile
@@ -1,6 +1,6 @@
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
-# $MCom: ports/trunk/devel/py-gobject3/Makefile 18610 2013-06-30 16:33:05Z marcus $
+# $MCom$
PORTNAME= gobject
PORTVERSION= 3.8.1
@@ -8,6 +8,7 @@ CATEGORIES= devel python
MASTER_SITES= GNOME
MASTER_SITE_SUBDIR= sources/pygobject/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX= 3
DISTNAME= pygobject-${PORTVERSION}
DIST_SUBDIR= gnome3
@@ -21,8 +22,6 @@ BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py
LIB_DEPENDS= libffi.so:${PORTSDIR}/devel/libffi
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo
-NO_STAGE= yes
-LATEST_LINK= ${PYTHON_PKGNAMEPREFIX}${PORTNAME}3
USE_XZ= yes
USES= gmake pathfix pkgconfig
USE_GNOME= glib20 introspection
@@ -45,4 +44,9 @@ post-patch:
@${REINPLACE_CMD} -e 's|SUBDIRS = examples gi tests|SUBDIRS = examples gi|g' \
${WRKSRC}/Makefile.in
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpyglib-gi-2.0-${PYTHON_VERSION}.so.0
+ @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/gi/*.so
+ @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/gi/*/*.so
+
.include <bsd.port.post.mk>