# Created by: Joe Marcus Clarke # $FreeBSD$ # $MCom: ports/x11-toolkits/py-gnome2/Makefile,v 1.60 2010/04/02 20:22:15 kwm Exp $ PORTNAME= gnome PORTVERSION= 2.28.1 PORTREVISION= 6 CATEGORIES= x11-toolkits python gnome MASTER_SITES= GNOME/sources/gnome-python/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= gnome-python-${PORTVERSION} DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= Python bindings for GNOME 2 OPTIONS_DEFINE= EXAMPLES OPTIONS_SUB= yes BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/ORBit.so:devel/py-orbit RUN_DEPENDS= ${PYTHON_SITELIBDIR}/ORBit.so:devel/py-orbit USES= gettext gmake libtool:keepla pathfix pkgconfig python:2 tar:bzip2 USE_LDCONFIG= yes USE_GNOME= libgnomeui pygtk2 GNU_CONFIGURE= yes CONFIGURE_ENV= PTHREAD_LIBS="-lpthread" CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip EG_SRC_DIR= ${WRKSRC}/examples EG_DST_DIR= ${PREFIX}/share/examples/py-gnome post-install: @${MKDIR} ${STAGEDIR}${EG_DST_DIR} cd ${EG_SRC_DIR}; ${PAX} -rw . ${STAGEDIR}${EG_DST_DIR} ${FIND} ${STAGEDIR}${EG_DST_DIR} -type d -print | ${XARGS} ${CHMOD} 0755 ${FIND} ${STAGEDIR}${EG_DST_DIR} -type f -print | ${XARGS} ${CHMOD} 0444 .include