1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/x11-toolkits/py-gnome2/Makefile

55 lines
1.7 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: py-gnome
# Date created: 3/14/1999
# Whom: nectar@FreeBSD.org
#
1999-08-31 03:04:38 +00:00
# $FreeBSD$
#
PORTNAME= py-gnome
2000-05-20 15:25:37 +00:00
PORTVERSION= 1.0.53
CATEGORIES= x11-toolkits python gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/gnome-python
DISTNAME= gnome-python-${PORTVERSION}
MAINTAINER= nectar@FreeBSD.org
BUILD_DEPENDS= python1.5:${PORTSDIR}/lang/python ${PYGTK_DEP}
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
capplet.4:${PORTSDIR}/sysutils/gnomecontrolcenter
RUN_DEPENDS= python1.5:${PORTSDIR}/lang/python ${PYGTK_DEP}
===> 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 19:20:19 +00:00
GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
1999-03-15 03:17:10 +00:00
USE_GMAKE= yes
USE_LIBTOOL= yes
LIBTOOLFILES= configure pygnome/configure pygtk/configure
CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" \
GTK_CONFIG="${GTK_CONFIG}"
CONFIGURE_ARGS= --with-python=python1.5 \
--with-gnome-config=${X11BASE}/bin/gnome-config
EG_SRC_DIR= ${WRKSRC}/pygnome/examples
EG_DST_DIR= ${PREFIX}/share/examples/py-gnome
PYGTK_DEP= ${LOCALBASE}/lib/python1.5/site-packages/_gtkmodule.so:${PORTSDIR}/x11-toolkits/py-gtk
PLIST_COMPLETE= ${PKGDIR}/PLIST
1999-03-15 03:17:10 +00:00
.if !defined(NOPORTDOCS)
PLIST= ${PLIST_COMPLETE}
post-install:
${MKDIR} ${EG_DST_DIR}
${TAR} -C ${EG_SRC_DIR} -cf - . | ${TAR} -C ${EG_DST_DIR} -xvf -
${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
.else
PLIST= ${WRKDIR}/PLIST.nodocs
pre-install:
${RM} -f ${PLIST}
${GREP} -E -v '^(@dirrm )?(share/examples/)|(share/doc/)' \
${PLIST_COMPLETE} > ${PLIST}
.endif
1998-12-31 05:40:14 +00:00
.include <bsd.port.mk>