freebsd-ports/x11-toolkits/py-gnome/Makefile

48 lines
1.2 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 05:04:38 +02:00
# $FreeBSD$
#
PORTNAME= py-gnome
2002-08-28 20:02:42 +02:00
PORTVERSION= 1.4.4
PORTREVISION= 9
CATEGORIES= x11-toolkits python gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-python/1.4
DISTNAME= gnome-python-${PORTVERSION}
2002-08-28 20:02:42 +02:00
DIST_SUBDIR= gnome
MAINTAINER= gnome@FreeBSD.org
COMMENT= A set of Python bindings for GNOME
2002-08-28 20:02:42 +02:00
USE_BZIP2= yes
1999-03-15 04:17:10 +01:00
USE_GMAKE= yes
2000-09-21 18:00:06 +02:00
USE_PYTHON= yes
USE_GNOME= gtkhtml gnometarget pygtk
GNU_CONFIGURE= yes
2000-09-21 18:00:06 +02:00
CONFIGURE_ARGS= --with-python=${PYTHON_CMD} \
--with-gnome-config=${LOCALBASE}/bin/gnome-config \
--with-gtkhtml
EG_SRC_DIR= ${WRKSRC}/pygnome/examples
EG_DST_DIR= ${EXAMPLESDIR}
1999-03-15 04:17:10 +01:00
CONFLICTS= py*-gnome-2*
2007-07-15 02:11:46 +02:00
post-patch:
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' \
${WRKSRC}/configure ${WRKSRC}/pygtk/configure
2007-07-15 02:11:46 +02:00
.if !defined(NOPORTEXAMPLES)
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
.endif
1998-12-31 06:40:14 +01:00
.include <bsd.port.mk>