summaryrefslogtreecommitdiff
path: root/x11-toolkits/py-gtk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/py-gtk/Makefile')
-rw-r--r--x11-toolkits/py-gtk/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/x11-toolkits/py-gtk/Makefile b/x11-toolkits/py-gtk/Makefile
index 90fae7927061..82b31e8aaba7 100644
--- a/x11-toolkits/py-gtk/Makefile
+++ b/x11-toolkits/py-gtk/Makefile
@@ -14,22 +14,20 @@ DISTNAME= gnome-python-1.0.53
MAINTAINER= nectar@FreeBSD.org
-LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
- Imlib.5:${PORTSDIR}/graphics/imlib
+LIB_DEPENDS= glade.4:${PORTSDIR}/devel/libglade
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/pygtk
-GTK_CONFIG= ${X11BASE}/bin/gtk12-config
USE_GMAKE= yes
+USE_IMLIB= yes
USE_PYTHON= yes
-CONFIGURE_ENV= GTK_CONFIG=${GTK_CONFIG} PYTHON=${PYTHON_CMD}
USE_LIBTOOL= yes
-PLIST_COMPLETE= ${PKGDIR}/PLIST
+CONFIGURE_ENV= PYTHON=${PYTHON_CMD}
-WRKSRC= ${WRKDIR}/${DISTNAME}/pygtk
EG_SRC_DIR= ${WRKSRC}/examples
EG_DST_DIR= ${PREFIX}/share/examples/py-gtk
.if !defined(NOPORTDOCS)
-PLIST= ${PLIST_COMPLETE}
post-install:
${MKDIR} ${EG_DST_DIR}
${TAR} -C ${EG_SRC_DIR} -cf - . | ${TAR} -C ${EG_DST_DIR} -xvf -
@@ -43,7 +41,7 @@ PLIST= ${WRKDIR}/PLIST.nodocs
pre-install:
${RM} -f ${PLIST}
${GREP} -E -v '^(@dirrm )?(share/examples/)|(share/doc/)' \
- ${PLIST_COMPLETE} > ${PLIST}
+ ${PKGDIR}/PLIST > ${PLIST}
.endif
.include <bsd.port.mk>