1999-03-16 20:44:07 +01:00
|
|
|
# New ports collection makefile for: py-gnome
|
2003-02-23 19:04:37 +01:00
|
|
|
# Date created: 09 February 2003
|
|
|
|
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
1998-06-02 09:41:06 +02:00
|
|
|
#
|
1999-08-31 05:04:38 +02:00
|
|
|
# $FreeBSD$
|
2005-11-05 07:27:11 +01:00
|
|
|
# $MCom: ports/x11-toolkits/py-gnome2/Makefile,v 1.24 2005/10/03 16:28:50 marcus Exp $
|
1998-06-02 09:41:06 +02:00
|
|
|
#
|
|
|
|
|
2004-08-07 20:59:49 +02:00
|
|
|
PORTNAME= gnome
|
2005-11-05 07:27:11 +01:00
|
|
|
PORTVERSION= 2.12.1
|
1999-03-16 20:44:07 +01:00
|
|
|
CATEGORIES= x11-toolkits python gnome
|
2000-06-07 20:06:25 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2004-11-20 18:18:17 +01:00
|
|
|
MASTER_SITE_SUBDIR= sources/gnome-python/${PORTVERSION:C/..$//}
|
2004-08-07 20:59:49 +02:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2000-04-10 03:11:24 +02:00
|
|
|
DISTNAME= gnome-python-${PORTVERSION}
|
2004-08-07 20:59:49 +02:00
|
|
|
DIST_SUBDIR= gnome2
|
1998-06-02 09:41:06 +02:00
|
|
|
|
2001-05-11 18:36:50 +02:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2003-02-23 19:04:37 +01:00
|
|
|
COMMENT= A set of Python bindings for GNOME 2
|
1998-10-15 16:31:45 +02:00
|
|
|
|
2004-08-07 20:59:49 +02:00
|
|
|
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/ORBit.so:${PORTSDIR}/devel/py-orbit2
|
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/ORBit.so:${PORTSDIR}/devel/py-orbit2
|
1998-08-07 21:20:19 +02:00
|
|
|
|
2003-02-23 19:04:37 +01:00
|
|
|
LATEST_LINK= py-gnome2
|
2002-08-28 20:02:42 +02:00
|
|
|
USE_BZIP2= yes
|
1999-03-15 04:17:10 +01:00
|
|
|
USE_GMAKE= yes
|
2000-09-21 18:00:06 +02:00
|
|
|
USE_PYTHON= yes
|
2005-03-12 12:15:36 +01:00
|
|
|
USE_GNOME= gnomehack libgnomeui pygtk2
|
2005-11-05 07:27:11 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
|
|
|
USE_REINPLACE= yes
|
2003-02-23 19:04:37 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
1998-06-02 09:41:06 +02:00
|
|
|
|
2003-02-23 19:04:37 +01:00
|
|
|
EG_SRC_DIR= ${WRKSRC}/examples
|
1999-09-19 17:53:19 +02:00
|
|
|
EG_DST_DIR= ${PREFIX}/share/examples/py-gnome
|
1999-03-15 04:17:10 +01:00
|
|
|
|
2004-01-30 04:31:01 +01:00
|
|
|
CONFLICTS= py*-gnome-1*
|
|
|
|
|
2005-11-05 07:27:11 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 503001
|
|
|
|
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-gnomevfs_Makefile.in
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|' \
|
|
|
|
${WRKSRC}/gnomevfs/Makefile.in
|
|
|
|
|
1998-06-02 09:41:06 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
1999-09-19 17:53:19 +02:00
|
|
|
post-install:
|
|
|
|
${MKDIR} ${EG_DST_DIR}
|
2003-02-23 19:04:37 +01:00
|
|
|
${TAR} -C ${EG_SRC_DIR} -cf - . | ${TAR} -C ${EG_DST_DIR} -xf -
|
1999-09-19 17:53:19 +02:00
|
|
|
${CHOWN} -R ${BINOWN}:${BINGRP} ${EG_DST_DIR}
|
2003-02-23 19:04:37 +01:00
|
|
|
${FIND} ${EG_DST_DIR} -type d -print | ${XARGS} ${CHMOD} 0555
|
|
|
|
${FIND} ${EG_DST_DIR} -type f -print | ${XARGS} ${CHMOD} 0444
|
1998-06-02 09:41:06 +02:00
|
|
|
.endif
|
|
|
|
|
2005-11-05 07:27:11 +01:00
|
|
|
.include <bsd.port.post.mk>
|