1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/x11-toolkits/py-gtk/Makefile
Jacques Vidrine 6a49767d3f Update to 0.5.10. Note that I have changed installation paths
for examples (s;/pygtk;/py-gtk).
1999-02-22 21:59:16 +00:00

42 lines
1.2 KiB
Makefile

# New ports collection makefile for: py-gtk
# Version required: 0.5.10
# Date created: 12/26/1998
# Whom: nectar@FreeBSD.ORG
#
# $Id: Makefile,v 1.18 1999/01/17 17:34:21 nectar Exp $
#
DISTNAME= pygtk-0.5.10
PKGNAME= py-gtk-0.5.10
CATEGORIES= x11-toolkits python
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/
MAINTAINER= nectar@FreeBSD.ORG
BUILD_DEPENDS= python:${PORTSDIR}/lang/python
LIB_DEPENDS= Imlib.2:${PORTSDIR}/graphics/imlib
RUN_DEPENDS= python:${PORTSDIR}/lang/python
GNU_CONFIGURE= yes
CONFIGURE_ENV= GTK_CONFIG=${X11BASE}/bin/gtk11d-config
MAKE_FLAGS= OPT="${CFLAGS}"
# NOTE: for packaging to work properly, this port should be
# built with PREFIX set the same as when the python port
# was built.
post-install:
@${MKDIR} ${PREFIX}/share/examples/py-gtk
@(cd ${WRKSRC}/examples; tar cf - *) | \
(cd ${PREFIX}/share/examples/py-gtk; tar xf -)
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/py-gtk
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/py-gtk
.endif
.include <bsd.port.mk>