1999-12-31 16:54:35 -05:00
|
|
|
# New ports collection makefile for: gnofract4d
|
|
|
|
# Date created: 30 Dec 1999
|
|
|
|
# Whom: Will Andrews <andrews@technologist.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-14 06:48:02 -04:00
|
|
|
PORTNAME= gnofract4d
|
2006-11-09 09:02:29 -05:00
|
|
|
PORTVERSION= 3.1
|
2006-11-17 09:55:41 -05:00
|
|
|
PORTREVISION= 1
|
2000-06-01 12:25:45 -04:00
|
|
|
CATEGORIES= graphics gnome
|
2000-06-14 09:21:38 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
1999-12-31 16:54:35 -05:00
|
|
|
|
2000-06-22 01:52:15 -04:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 13:08:19 -05:00
|
|
|
COMMENT= Weird GNOME fractal generator
|
1999-12-31 16:54:35 -05:00
|
|
|
|
2006-06-28 01:59:53 -04:00
|
|
|
USE_GNOME= gnomehack gnomeprefix gnometarget intlhack libgnomeui lthack \
|
|
|
|
pygtk2
|
2005-04-26 08:45:31 -04:00
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS=yes
|
|
|
|
USE_GCC= 3.4
|
2000-10-05 03:10:50 -04:00
|
|
|
|
2006-06-28 01:59:53 -04:00
|
|
|
PORTDOCS= *
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-04-26 08:45:31 -04:00
|
|
|
post-patch:
|
|
|
|
# where to install libraries
|
2006-06-28 01:59:53 -04:00
|
|
|
@${REINPLACE_CMD} -e 's,\(^install_lib =\).*,\1${PREFIX}/lib/${PORTNAME},' ${WRKSRC}/setup.cfg
|
2005-04-26 08:45:31 -04:00
|
|
|
# contain in DATADIR ('share/foobar/gnofract4d' -> 'share/gnofract4d/foobar')
|
2006-06-28 01:59:53 -04:00
|
|
|
@${FIND} ${WRKSRC} -name '*.py' -exec \
|
2005-04-26 08:45:31 -04:00
|
|
|
${REINPLACE_CMD} -e "s,\([\"']\)share/\([^/]*\)/gnofract4d\1,\1${DATADIR:C/${PREFIX}\///}/\2\1," {} \;
|
|
|
|
# libraries again
|
2006-06-28 01:59:53 -04:00
|
|
|
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," ${WRKSRC}/gnofract4d
|
2005-04-26 08:45:31 -04:00
|
|
|
# where to install docs
|
2006-06-28 01:59:53 -04:00
|
|
|
@${REINPLACE_CMD} -e "s,share/doc/gnofract4d-%s/'.*,${DOCSDIR:C/${PREFIX}\///}'\,," ${WRKSRC}/setup.py
|
2006-11-17 09:55:41 -05:00
|
|
|
# fixup library detection
|
|
|
|
@${REINPLACE_CMD} -e "s/libpng/libpng12/" ${WRKSRC}/setup.py
|
|
|
|
@${REINPLACE_CMD} -e "s,/usr/include/jpeglib.h,${LOCALBASE}/include/jpeglib.h," ${WRKSRC}/setup.py
|
2004-09-18 13:49:31 -04:00
|
|
|
|
2006-06-28 01:59:53 -04:00
|
|
|
.include <bsd.port.post.mk>
|