2013-09-20 20:35:44 +02:00
|
|
|
# Created by: Will Andrews <andrews@technologist.com>
|
1999-12-31 22:54:35 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2000-04-14 12:48:02 +02:00
|
|
|
PORTNAME= gnofract4d
|
2014-03-26 13:16:59 +01:00
|
|
|
PORTVERSION= 3.14.1
|
2014-12-25 21:54:41 +01:00
|
|
|
PORTREVISION= 3
|
2000-06-01 18:25:45 +02:00
|
|
|
CATEGORIES= graphics gnome
|
2009-01-17 13:27:07 +01:00
|
|
|
MASTER_SITES= SF
|
1999-12-31 22:54:35 +01:00
|
|
|
|
2014-04-28 23:31:31 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:08:19 +01:00
|
|
|
COMMENT= Weird GNOME fractal generator
|
1999-12-31 22:54:35 +01:00
|
|
|
|
2014-03-26 13:16:59 +01:00
|
|
|
LICENSE= BSD3CLAUSE
|
2009-11-02 20:13:13 +01:00
|
|
|
|
2014-03-26 13:16:59 +01:00
|
|
|
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
|
2014-12-25 20:04:25 +01:00
|
|
|
libpng.so:${PORTSDIR}/graphics/png
|
2011-05-20 20:55:10 +02:00
|
|
|
|
2014-10-21 18:36:12 +02:00
|
|
|
USES= desktop-file-utils pathfix pkgconfig python shared-mime-info
|
2014-04-24 19:34:45 +02:00
|
|
|
USE_GNOME= gnomeprefix intlhack libgnomeui pygtk2
|
2014-10-21 18:36:12 +02:00
|
|
|
USE_PYTHON= distutils autoplist
|
2014-03-26 13:16:59 +01:00
|
|
|
USE_GCC= yes
|
2006-06-28 07:59:53 +02:00
|
|
|
|
2014-03-26 13:16:59 +01:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
2006-06-28 07:59:53 +02:00
|
|
|
|
2014-03-26 13:16:59 +01:00
|
|
|
PLIST_FILES= man/man1/gnofract4d.1.gz
|
2008-04-30 02:45:12 +02:00
|
|
|
|
2014-03-26 13:16:59 +01:00
|
|
|
PORTDOCS= README
|
|
|
|
OPTIONS_DEFINE= DOCS
|
2008-04-30 02:45:12 +02:00
|
|
|
|
2014-03-26 13:16:59 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2008-04-30 02:45:12 +02:00
|
|
|
|
2014-03-26 13:16:59 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|/usr/include/|${LOCALBASE}/include/|; \
|
2014-03-29 16:39:57 +01:00
|
|
|
/# doc files/,+2d; /"html"/,+1d' \
|
2014-03-26 13:16:59 +01:00
|
|
|
${WRKSRC}/setup.py
|
|
|
|
@${REINPLACE_CMD} -e 's|"CC"|"${CC}"|; s|"gcc"|"${CC}"|' \
|
|
|
|
${WRKSRC}/setup.py \
|
|
|
|
${WRKSRC}/fract4d/test_fractconfig.py \
|
|
|
|
${WRKSRC}/fract4d/fc.py
|
|
|
|
@${REINPLACE_CMD} -e 's|gcc|${CC}|' \
|
|
|
|
${WRKSRC}/fract4d/test_codegen.py \
|
|
|
|
${WRKSRC}/fract4d/fractconfig.py
|
2008-04-30 02:45:12 +02:00
|
|
|
|
2014-03-26 13:16:59 +01:00
|
|
|
post-install:
|
|
|
|
.for l in fract4d_stdlib fract4dc
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/fract4d/${l}.so
|
|
|
|
.endfor
|
2004-09-18 19:49:31 +02:00
|
|
|
|
2014-03-26 13:16:59 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \
|
|
|
|
${STAGEDIR}${MAN1PREFIX}/man/man1/
|
2010-03-30 10:14:43 +02:00
|
|
|
|
2014-03-26 13:16:59 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
2009-01-17 13:27:07 +01:00
|
|
|
|
2014-03-26 13:16:59 +01:00
|
|
|
.include <bsd.port.mk>
|