freebsd-ports/x11-toolkits/py-gnome2/Makefile

59 lines
1.6 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: py-gnome
# Date created: 09 February 2003
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
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 $
#
PORTNAME= gnome
2005-11-05 07:27:11 +01:00
PORTVERSION= 2.12.1
CATEGORIES= x11-toolkits python gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-python/${PORTVERSION:C/..$//}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= gnome-python-${PORTVERSION}
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= A set of Python bindings for GNOME 2
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/ORBit.so:${PORTSDIR}/devel/py-orbit2
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/ORBit.so:${PORTSDIR}/devel/py-orbit2
===> Configuring for py-gtk-0.4.5 creating cache ./config.cache checking for python... /usr/local/bin/python checking python version... 1.5 checking python installation prefix... /usr/local checking python installation exec_prefix... /usr/local checking definitions in Python library makefile... done checking where to install python modules... $(prefix)/lib/python1.5/site-packages checking where to install python shared modules... $(exec_prefix)/lib/python1.5/s ite-packages checking for gtk-config... /usr/local/bin/gtk-config checking for GTK cflags... -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/X11R6/include checking for GTK libs... -L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -lglib -lX ext -lX11 -lm checking for main in -lz... yes checking for main in -ltiff... no checking for main in -lgif... no checking for main in -ljpeg... no checking for png_get_valid in -lpng... no checking for gdk_imlib_init in -lgdk_imlib... yes updating cache ./config.cache creating ./config.status creating Setup creating Makefile.pre creating Makefile ===> Building for py-gtk-0.4.5 `Makefile' is up to date. cc -fpic -O2 -pipe -I/usr/local/include/python1.5 -I/usr/local/lib/python1.5/config -DHAVE_CONFIG_H=1 -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/X 11R6/include -c ./gtkmodule.c In file included from /usr/local/include/gdk/gdk.h:23, from /usr/local/include/gtk/gtk.h:23, from ./gtkmodule.c:239: /usr/local/include/gdk/gdktypes.h:25: glib.h: No such file or directory ======= glib.h is in /usr/local/include/glib. Perhaps it needs to be changed after glib was updated. By the way, why isn't devel/glib in the dependency list?
1998-08-07 21:20:19 +02: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
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
EG_SRC_DIR= ${WRKSRC}/examples
EG_DST_DIR= ${PREFIX}/share/examples/py-gnome
1999-03-15 04:17:10 +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
.if !defined(NOPORTDOCS)
post-install:
${MKDIR} ${EG_DST_DIR}
${TAR} -C ${EG_SRC_DIR} -cf - . | ${TAR} -C ${EG_DST_DIR} -xf -
${CHOWN} -R ${BINOWN}:${BINGRP} ${EG_DST_DIR}
${FIND} ${EG_DST_DIR} -type d -print | ${XARGS} ${CHMOD} 0555
${FIND} ${EG_DST_DIR} -type f -print | ${XARGS} ${CHMOD} 0444
.endif
2005-11-05 07:27:11 +01:00
.include <bsd.port.post.mk>