1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/x11-toolkits/py-gtk2/Makefile
Satoshi Asami dbc8aa6cc1 Use bsd.port.{pre,post}.mk. Either use them to avoid having to define
something already there (PORTOBJFORMAT, OSVERSION) or move stuff from after
.include <bsd.port.mk> to before.

(This is not by any means the complete list but just the ones I've noticed
recently.)
1998-11-11 05:37:39 +00:00

47 lines
1.2 KiB
Makefile

# New ports collection makefile for: pygtk
# 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 $
#
DISTNAME= pygtk-0.5.2
PKGNAME= py-gtk-0.5.2
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= ports@FreeBSD.ORG
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 300000
BROKEN= python
.endif
BUILD_DEPENDS= python:${PORTSDIR}/lang/python
LIB_DEPENDS= Imlib.1:${PORTSDIR}/graphics/imlib
RUN_DEPENDS= python:${PORTSDIR}/lang/python
GNU_CONFIGURE= yes
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>