freebsd-ports/graphics/xaos/Makefile

75 lines
1.7 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: XaoS
# Date created: 24 February 1996
# Whom: Joseph Koshy <koshy@india.hp.com>
#
1999-08-25 08:16:32 +02:00
# $FreeBSD$
#
PORTNAME= xaos
PORTVERSION= 3.1.2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= xaos
DISTNAME= XaoS-${PORTVERSION}
MAINTAINER= jkoshy@freebsd.org
COMMENT= A real-time fractal browser for X11 and ASCII terminals
2001-09-11 04:22:51 +02:00
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
1998-11-29 13:43:13 +01:00
USE_XLIB= yes
USE_GETTEXT= yes
GNU_CONFIGURE= yes
OPTIONS= SVGALIB "Enable svgalib support" off \
AALIB "Enable aalib support" off \
PTHREAD "Enable experimental threads support" off
CONFIGURE_ENV= LDFLAGS="-L${PREFIX}/lib -L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-dga-driver=no
CFLAGS= -DHAVE_SYS_PARAM_H \
-I${LOCALBASE}/include \
-I${PREFIX}/include \
-pipe -O6 -fstrength-reduce -ffast-math -fomit-frame-pointer\
-fforce-mem -fforce-addr -funroll-loops
MAN6= xaos.6
INFO= xaos
PLIST_SUB+= XAOSDIR="share/XaoS"
.include <bsd.port.pre.mk>
.if defined(WITH_SVGALIB)
LIB_DEPENDS+= vga.1:${PORTSDIR}/graphics/svgalib
CONFIGURE_ARGS+= --with-svga-driver=yes
.else
CONFIGURE_ARGS+= --with-svga-driver=no
.endif
.if defined(WITH_AALIB)
LIB_DEPENDS+= aa.1:${PORTSDIR}/graphics/aalib
CONFIGURE_ARGS+= --with-aa-driver=yes
.else
CONFIGURE_ARGS+= --with-aa-driver=no
.endif
.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
2004-08-14 09:44:35 +02:00
# GCC 3.4.2 alleges prototype mismatches with __attribute__((regparm))
.if ${OSVERSION} >= 502125
CFLAGS+= -DNOREGISTERS
.endif
post-install:
${STRIP_CMD} ${PREFIX}/bin/xaos
.include <bsd.port.post.mk>