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

47 lines
1.2 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: pygtk
1998-09-23 08:40:25 -04:00
# Version required: 0.5.2
# Date created: 30 May 1998
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
#
# $Id: Makefile,v 1.13 1998/10/15 14:31:45 jseger Exp $
#
1998-09-23 08:40:25 -04:00
DISTNAME= pygtk-0.5.2
PKGNAME= py-gtk-0.5.2
CATEGORIES= x11-toolkits python
1998-08-07 03:48:16 -04:00
MASTER_SITES= ftp://ftp.daa.com.au/pub/james/python/ \
ftp://ftp.gimp.org/pub/gtk/python/ \
1998-06-03 03:19:51 -04:00
ftp://infosoc.uni-koeln.de/pub/ftp.gimp.org/pub/gtk/python/ \
ftp://ftp.cs.umn.edu/pub/gimp/gtk/python/ \
ftp://stef.u-picardie.fr/mirror/ftp.gimp.org/gtk/python/
1998-08-07 03:48:16 -04:00
MAINTAINER= ports@FreeBSD.ORG
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 300000
BROKEN= python
.endif
BUILD_DEPENDS= python:${PORTSDIR}/lang/python
1998-09-25 05:52:45 -04:00
LIB_DEPENDS= Imlib.1:${PORTSDIR}/graphics/imlib
RUN_DEPENDS= python:${PORTSDIR}/lang/python
===> 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 15:20:19 -04:00
GNU_CONFIGURE= yes
1998-09-23 08:40:25 -04:00
CONFIGURE_ARGS= --with-gtk-config=${X11BASE}/bin/gtk11-config
ALL_TARGET= sharedmods
MAKE_FLAGS= OPT="${CFLAGS}"
post-install:
@${MKDIR} ${PREFIX}/share/examples/pygtk
@(cd ${WRKSRC}/examples; tar cf - *) | \
(cd ${PREFIX}/share/examples/pygtk; tar xf -)
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/pygtk
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/pygtk
.endif
BROKEN= gtk
.include <bsd.port.post.mk>