1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/graphics/xaos/Makefile

74 lines
1.5 KiB
Makefile

# Created by: Joseph Koshy <koshy@india.hp.com>
# $FreeBSD$
PORTNAME= xaos
PORTVERSION= 3.6
PORTREVISION= 7
CATEGORIES= graphics math
MASTER_SITES= SF/${PORTNAME}/XaoS/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Real-time fractal browser
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png \
libgsl.so:math/gsl
USES= gmake localbase
GNU_CONFIGURE= yes
MAKE_JOBS_UNSAFE=yes
INFO= xaos
PLIST_SUB= XAOSDIR="share/XaoS"
DESKTOP_ENTRIES="XaoS" \
"" \
"${PREFIX}/share/pixmaps/xaos.png" \
"xaos" \
"" \
false
OPTIONS_DEFINE= THREADS NLS
OPTIONS_MULTI= DRIVER
OPTIONS_MULTI_DRIVER= AALIB GTK2 X11
OPTIONS_DEFAULT= X11
OPTIONS_SUB= yes
DRIVER_DESC= User Interface
AALIB_LIB_DEPENDS= libaa.so:graphics/aalib
AALIB_CONFIGURE_WITH= aa-driver
AALIB_CONFIGURE_ON= ac_cv_aalib_ver_ok=yes
GTK2_DESC= GTK+ User Interface (experimental)
GTK2_USE= GNOME=gtk20
GTK2_USES= gnome pkgconfig
GTK2_CONFIGURE_WITH= gtk-driver
X11_USES= xorg
X11_USE= XORG=x11,xext
X11_CONFIGURE_WITH= x11-driver x
NLS_USES= gettext iconv
NLS_CONFIGURE_ENABLE= nls
THREADS_DESC= Enable SMP support (experimental)
THREADS_CONFIGURE_WITH= pthread
THREADS_LIBS= -lpthread
pre-configure:
@${REINPLACE_CMD} -e 's,/usr\(/share/locale\),${PREFIX}\1,g' \
${WRKSRC}/configure \
${WRKSRC}/src/ui/ui.c
@${REINPLACE_CMD} 's,malloc.h,stdlib.h,' \
${WRKSRC}/src/ui/ui-drv/aa/ui_aa.c
post-install:
${INSTALL_DATA} ${WRKSRC}/src/ui/ui-drv/qt/images/xaosbig.png \
${STAGEDIR}${PREFIX}/share/pixmaps/xaos.png
.include <bsd.port.mk>