1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/graphics/xaos/Makefile
Tijl Coosemans c0f51fae12 math/gsl:
- Add USES=libtool and bump dependent ports
- Add USES=pathfix and INSTALL_TARGET=install-strip

Approved by:	portmgr (implicit, bump unstage port)
2014-08-17 13:09:56 +00:00

67 lines
1.5 KiB
Makefile

# Created by: Joseph Koshy <koshy@india.hp.com>
# $FreeBSD$
PORTNAME= xaos
PORTVERSION= 3.6
PORTREVISION= 1
CATEGORIES= graphics math
MASTER_SITES= SF/${PORTNAME}/XaoS/${PORTVERSION}
MAINTAINER= makc@FreeBSD.org
COMMENT= Real-time fractal browser
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \
libgsl.so:${PORTSDIR}/math/gsl
USES= gmake
GNU_CONFIGURE= yes
OPTIONS_DEFINE= THREADS NLS
OPTIONS_MULTI= DRIVER
OPTIONS_MULTI_DRIVER= AALIB GTK2 X11
DRIVER_DESC= User Interface
OPTIONS_DEFAULT= X11
OPTIONS_SUB= yes
AALIB_LIB_DEPENDS= libaa.so:${PORTSDIR}/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= pkgconfig
GTK2_CONFIGURE_WITH= gtk-driver
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= ${PTHREAD_LIBS}
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
INFO= xaos
PLIST_SUB+= XAOSDIR="share/XaoS"
DESKTOP_ENTRIES= "XaoS" "" "${PREFIX}/share/pixmaps/xaos.png" \
"xaos" "" false
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>