summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2014-04-20 17:47:33 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2014-04-20 17:47:33 +0800
commit226a50730fef172d91d84e5e905baee43b90d366 (patch)
tree9f005f8c9e60f1392e82db41669fe10f5f5fd5eb
parentadeef02e02705629ae257082ad139536932cccdb (diff)
downloadmarcuscom-ports-experimental-226a50730fef172d91d84e5e905baee43b90d366.tar.gz
marcuscom-ports-experimental-226a50730fef172d91d84e5e905baee43b90d366.tar.zst
marcuscom-ports-experimental-226a50730fef172d91d84e5e905baee43b90d366.zip
Move depend info to master port.
Drop USE_LDCONFIG we not installing a shared library. git-svn-id: svn://creme-brulee.marcuscom.com/ports-experimental/trunk@19554 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--devel/py-gobject3/Makefile8
-rw-r--r--devel/py3-gobject3/Makefile8
-rw-r--r--devel/pygobject3-common/Makefile20
3 files changed, 17 insertions, 19 deletions
diff --git a/devel/py-gobject3/Makefile b/devel/py-gobject3/Makefile
index 061a971..94f954f 100644
--- a/devel/py-gobject3/Makefile
+++ b/devel/py-gobject3/Makefile
@@ -9,14 +9,6 @@ PKGNAMESUFFIX= 3
SLAVE_PORT= python2
-BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo
-LIB_DEPENDS= libffi.so:${PORTSDIR}/devel/libffi
-RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo \
- pygobject3-common>=0:${PORTSDIR}/devel/pygobject3-common
-
-USE_GNOME= glib20 introspection
-USE_PYTHON= 2
-USE_LDCONFIG= yes
MASTERDIR= ${.CURDIR}/../../devel/pygobject3-common
PLIST= ${.CURDIR}/pkg-plist
diff --git a/devel/py3-gobject3/Makefile b/devel/py3-gobject3/Makefile
index 1fc1206..947a7e2 100644
--- a/devel/py3-gobject3/Makefile
+++ b/devel/py3-gobject3/Makefile
@@ -9,14 +9,6 @@ PKGNAMESUFFIX= 3
SLAVE_PORT= python3
-BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/py3cairo.pc:${PORTSDIR}/graphics/py3-cairo
-LIB_DEPENDS= libffi.so:${PORTSDIR}/devel/libffi
-RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/py3cairo.pc:${PORTSDIR}/graphics/py3-cairo \
- pygobject3-common>=0:${PORTSDIR}/devel/pygobject3-common
-
-USE_GNOME= glib20 introspection
-USE_PYTHON= 3
-USE_LDCONFIG= yes
MASTERDIR= ${.CURDIR}/../../devel/pygobject3-common
PLIST= ${.CURDIR}/pkg-plist
diff --git a/devel/pygobject3-common/Makefile b/devel/pygobject3-common/Makefile
index 6ad27ee..ef6a0a2 100644
--- a/devel/pygobject3-common/Makefile
+++ b/devel/pygobject3-common/Makefile
@@ -34,7 +34,6 @@ PLIST_SUB= ARCH=${ARCH} UNAME_R=${UNAME_R} VERSION=${PORTVERSION}
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo
USE_PYTHON_BUILD= 2
USE_GNOME= glib20:build introspection:build
-
NO_BUILD= yes
do-install:
@@ -43,7 +42,23 @@ do-install:
${STAGEDIR}${PREFIX}/include/pygobject-3.0/pygobject.h
${INSTALL_DATA} ${WRKSRC}/pygobject-3.0.pc \
${STAGEDIR}${PREFIX}/libdata/pkgconfig/pygobject-3.0.pc
-.elif ${SLAVE_PORT} == python2 || ${SLAVE_PORT} == python3
+.elif
+USE_GNOME+= glib20 introspection
+LIB_DEPENDS+= libffi.so:${PORTSDIR}/devel/libffi
+BUILD_DEPENDS+= pygobject3-common>=0:${PORTSDIR}/devel/pygobject3-common
+
+.if ${SLAVE_PORT} == python2
+USE_PYTHON= 2
+BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo
+RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo
+.endif
+
+.if ${SLAVE_PORT} == python3
+USE_PYTHON= 3
+BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/py3cairo.pc:${PORTSDIR}/graphics/py3-cairo
+RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/py3cairo.pc:${PORTSDIR}/graphics/py3-cairo
+.endif
+
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/gi/*.so
@${RM} -rf ${STAGEDIR}${PREFIX}/include/pygobject-3.0 \
@@ -55,4 +70,3 @@ post-install:
UNAME_R!= ${UNAME} -r
.include <bsd.port.post.mk>
-