a5f9cc91c2
x11-fonts/, x11-toolkits and x11-wm to new USES=python Approved by: portmgr (implicit)
43 lines
1.3 KiB
Makefile
43 lines
1.3 KiB
Makefile
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
|
|
# $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= 5
|
|
CATEGORIES= x11-toolkits python gnome
|
|
MASTER_SITES= GNOME
|
|
MASTER_SITE_SUBDIR= 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:${PORTSDIR}/devel/py-orbit
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/ORBit.so:${PORTSDIR}/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="${PTHREAD_LIBS}"
|
|
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 <bsd.port.mk>
|