1999-03-16 14:44:07 -05:00
|
|
|
# New ports collection makefile for: py-gnome
|
1999-09-19 11:53:19 -04:00
|
|
|
# Date created: 3/14/1999
|
1999-08-31 02:53:31 -04:00
|
|
|
# Whom: nectar@FreeBSD.org
|
1998-06-02 03:41:06 -04:00
|
|
|
#
|
1999-08-30 23:04:38 -04:00
|
|
|
# $FreeBSD$
|
1998-06-02 03:41:06 -04:00
|
|
|
#
|
|
|
|
|
2000-04-09 21:11:24 -04:00
|
|
|
PORTNAME= py-gnome
|
2002-01-04 06:58:28 -05:00
|
|
|
PORTVERSION= 1.4.2
|
1999-03-16 14:44:07 -05:00
|
|
|
CATEGORIES= x11-toolkits python gnome
|
2000-06-07 14:06:25 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
|
|
MASTER_SITE_SUBDIR= stable/sources/gnome-python
|
2000-04-09 21:11:24 -04:00
|
|
|
DISTNAME= gnome-python-${PORTVERSION}
|
1998-06-02 03:41:06 -04:00
|
|
|
|
2001-05-11 12:36:50 -04:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
1998-10-15 10:31:45 -04:00
|
|
|
|
2001-07-03 13:39:22 -04:00
|
|
|
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/_gtkmodule.so:${PORTSDIR}/x11-toolkits/py-gtk
|
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_gtkmodule.so:${PORTSDIR}/x11-toolkits/py-gtk
|
1998-08-07 15:20:19 -04:00
|
|
|
|
1999-03-14 22:17:10 -05:00
|
|
|
USE_GMAKE= yes
|
2000-09-21 12:00:06 -04:00
|
|
|
USE_PYTHON= yes
|
2000-10-05 03:17:31 -04:00
|
|
|
USE_GNOME= yes
|
2001-07-03 13:39:22 -04:00
|
|
|
GNU_CONFIGURE= yes
|
2000-09-21 12:00:06 -04:00
|
|
|
CONFIGURE_ARGS= --with-python=${PYTHON_CMD} \
|
2001-07-03 07:38:46 -04:00
|
|
|
--with-gnome-config=${X11BASE}/bin/gnome-config \
|
|
|
|
--with-gtkhtml
|
2002-02-07 08:44:16 -05:00
|
|
|
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
|
1998-06-02 03:41:06 -04:00
|
|
|
|
1999-09-19 11:53:19 -04:00
|
|
|
EG_SRC_DIR= ${WRKSRC}/pygnome/examples
|
|
|
|
EG_DST_DIR= ${PREFIX}/share/examples/py-gnome
|
1999-03-14 22:17:10 -05:00
|
|
|
|
1998-06-02 03:41:06 -04:00
|
|
|
.if !defined(NOPORTDOCS)
|
1999-09-19 11:53:19 -04:00
|
|
|
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/)' \
|
2000-10-08 06:23:48 -04:00
|
|
|
${PKGDIR}/pkg-plist > ${PLIST}
|
1998-06-02 03:41:06 -04:00
|
|
|
.endif
|
|
|
|
|
1998-12-31 00:40:14 -05:00
|
|
|
.include <bsd.port.mk>
|