freebsd-ports/x11-toolkits/py-gnome/Makefile
Ade Lovett 1ecc592d8c Say hello to GNOME 1.2
audio/gnomemedia		1.2.0
	deskutils/gnomepim		1.2.0
	devel/bugbuddy			1.0
	devel/glade			0.5.9
	devel/libgtop			1.0.9
	games/gnomegames		1.2.0
	graphics/imlib			1.9.8.1
	misc/gnomeusersguide		1.2
	misc/gnomeutils			1.2.0
	sysutils/gnomecontrolcenter	1.2.0
	sysutils/gtop			1.0.8
	x11-fm/gmomemc			4.5.50
	x11/gnomecore			1.2.0
	x11/gnomelibs			1.2.1

Along with cosmetic changes to other parts of the metaport
for the new shared library version numbers.

Plus.  The metaport has been reworked to bring in a few more
often-requested items.

Please note that you absolutely need GTK/GLIB 1.2.8 or higher
for this release.
2000-06-01 16:10:38 +00:00

58 lines
1.8 KiB
Makefile

# New ports collection makefile for: py-gnome
# Date created: 3/14/1999
# Whom: nectar@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= py-gnome
PORTVERSION= 1.0.53
CATEGORIES= x11-toolkits python gnome
MASTER_SITES= ftp://ftp.daa.com.au/pub/james/python/ \
ftp://ftp.gimp.org/pub/gtk/python/ \
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/
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}
GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
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
.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
.include <bsd.port.mk>