1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/x11-toolkits/py-gtk/Makefile
Baptiste Daroussin 70f898b28e Deprecate because it depends on the expired gtkglarea
Approved by:	gnome (kwm)
Feature safe:	yes
2012-10-28 21:34:25 +00:00

54 lines
1.3 KiB
Makefile

# Created by: nectar@FreeBSD.org
# $FreeBSD$
PORTNAME= gtk
PORTVERSION= 0.6.11
PORTREVISION= 11
CATEGORIES= x11-toolkits python
MASTER_SITES= GNOME
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= gnome-python-1.4.4
DIST_SUBDIR= gnome
MAINTAINER= gnome@FreeBSD.org
COMMENT= A set of Python bindings for GTK
DEPRECATED= Depends on the expired gtkglarea
EXPIRATION_DATE= 2012-11-28
BUILD_DEPENDS= ${PYNUMERIC}
LIB_DEPENDS= gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea
RUN_DEPENDS= ${PYNUMERIC}
WRKSRC= ${WRKDIR}/${DISTNAME}/pygtk
USE_BZIP2= yes
USE_GMAKE= yes
USE_GNOME= gnomelibs gdkpixbuf libglade
USE_PYTHON= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= PYTHON=${PYTHON_CMD}
PORTDOCS= MAPPING
EG_SRC_DIR= ${WRKSRC}/examples
CONFLICTS= py*-gtk-2* py*-gobject-[0-9]*
post-patch:
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/MAPPING ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
${TAR} -C ${EG_SRC_DIR} -cf - . | ${TAR} -C ${EXAMPLESDIR} -xvf -
${CHOWN} -R ${BINOWN}:${BINGRP} ${EXAMPLESDIR}
${FIND} ${EXAMPLESDIR} -type d -print | ${XARGS} ${CHMOD} 0555
${FIND} ${EXAMPLESDIR} -type f -print | ${XARGS} ${CHMOD} 0444
.endif
.include <bsd.port.mk>