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

54 lines
1.5 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$
# $MCom: ports/x11-toolkits/py-gnome2/Makefile,v 1.60 2010/04/02 20:22:15 kwm Exp $
#
PORTNAME= gnome
PORTVERSION= 2.28.1
2012-06-01 07:26:28 +02:00
PORTREVISION= 3
CATEGORIES= x11-toolkits python gnome
MASTER_SITES= GNOME
Presenting GNOME 2.16.1 for FreeBSD. This release represents a massive amount of work by the FreeBSD GNOME Team and our testers. On top of the usual GNOME update, we have taken this opportunity to move GNOME from X11BASE to LOCALBASE. This means roughly 600 ports NOT part of the GNOME Desktop also need to be changed. The bulk of the move was carried out by ahze, mezz, and pav, but it would not have been possible without cooperation from the FreeBSD KDE team who worked with us to make sure GNOME and KDE can still coexist happily. We would also like to send a shout out to kris and pointyhat for putting up with multiple test runs until we got something that was solid. Back to GNOME 2.16. This release brings a huge amount of new functionality to FreeBSD. The standard release notes can be read at http://www.gnome.org/start/2.16/ . But on top of what you will read there, jylefort and marcus have completed work on a port of HAL to FreeBSD. This will allow FreeBSD to take advantage of closer hardware interaction such as auto-mounting CD-ROMs, USB drives, and music players; auto-playing audio CDs; and managing laptop power consumption. But where would this all be without our loyal testers and contributors? Therefore, the FreeBSD GNOME team would like to thank the following users: Phillip Neumann <pneumann@gmail.com> tmclaugh mux Yuri Pankov <yuri.pankov@gmail.com> chinsan Thomas <freebsdlists@bsdunix.ch> Brian Gruber <knightbg@yahoo.com> Franz Klammer <klammer@webonaut.com> Dominique Goncalves <dominique.goncalves@gmail.com> Pascal Hofstee <caelian@gmail.com> Yasuda Keisuke <kysd@po.harenet.ne.jp> backyard <backyard1454-bsd@yahoo.com> Andris Raugulis <endrju@null.lv> <endrju@null.lv> Eric L. Chen <d9364104@mail.nchu.edu.tw> Pawel Worach <pawel.worach@gmail.com> QuiRK on #freebsd-gnome Shane Bell <decept0@gmail.com> luigi sajd on #freebsd-gnome sat Chris Coleman <chrisc@vmunix.com> kaeru on #freebsd-gnome crsd_ via irc.freenode.org/#FreeBSD-GNOME Joel Diaz <joeldiaz@mac.com> Enjoy! Approved by: portmgr (implicit, kris)
2006-10-14 10:35:50 +02:00
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= A set of Python bindings for GNOME 2
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/ORBit.so:${PORTSDIR}/devel/py-orbit
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/ORBit.so:${PORTSDIR}/devel/py-orbit
===> 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
2006-11-06 13:43:59 +01:00
USE_LDCONFIG= yes
USES= gettext
2005-03-12 12:15:36 +01:00
USE_GNOME= gnomehack libgnomeui pygtk2
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" \
2006-03-15 06:52:44 +01:00
PTHREAD_LIBS="${PTHREAD_LIBS}"
CPPFLAGS+= -I${LOCALBASE}/include
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 !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} 0755
${FIND} ${EG_DST_DIR} -type f -print | ${XARGS} ${CHMOD} 0444
.endif
2005-11-05 07:27:11 +01:00
.include <bsd.port.post.mk>