mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
e543536c70
PR: 122892 Submitted by: Max Brazhnikov <makc@issp.ac.ru> (maintainer)
61 lines
1.3 KiB
Makefile
61 lines
1.3 KiB
Makefile
# New ports collection makefile for: XaoS
|
|
# Date created: 24 February 1996
|
|
# Whom: Joseph Koshy <koshy@india.hp.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xaos
|
|
PORTVERSION= 3.3
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF
|
|
DISTNAME= XaoS-${PORTVERSION}
|
|
|
|
MAINTAINER= makc@issp.ac.ru
|
|
COMMENT= A real-time fractal browser for X11 and ASCII terminals
|
|
|
|
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
|
|
|
|
USE_XORG= x11 xt x11 xau xdmcp xext
|
|
USE_GETTEXT= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_AUTOTOOLS= autoconf:261
|
|
|
|
OPTIONS= PTHREAD "Enable experimental SMP support" off
|
|
|
|
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${PREFIX}/lib -L${LOCALBASE}/lib"
|
|
CONFIGURE_ARGS= --with-aa-driver=no --with-dga-driver=no \
|
|
--with-ggi-driver=no --with-svga-driver=no \
|
|
--with-included-gettext=yes \
|
|
--with-x --with-png=yes \
|
|
--with-mit-shm=yes \
|
|
--with-sffe=no
|
|
|
|
MAN6= xaos.6
|
|
INFO= xaos
|
|
|
|
PLIST_SUB+= XAOSDIR="share/XaoS"
|
|
DESKTOP_ENTRIES="XaoS" "Fractal zoomer" "" "xaos" "" false
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_PTHREAD)
|
|
CONFIGURE_ARGS+= --with-pthread=yes
|
|
CONFIGURE_ENV+= LIBS="${PTHREAD_LIBS}" \
|
|
CFLAGS="${PTHREAD_CFLAGS} ${CFLAGS}"
|
|
.else
|
|
CONFIGURE_ARGS+= --with-pthread=no
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
USE_GETTEXT= yes
|
|
PLIST_SUB+= NLS=""
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
PLIST_SUB+= NLS="@comment "
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|