2003-12-17 05:15:52 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection Makefile for: ale
|
|
|
|
# Date created: Dec 17, 2003
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ale
|
2009-04-03 10:52:42 +02:00
|
|
|
PORTVERSION= 0.8.11.2
|
2009-05-18 17:08:58 +02:00
|
|
|
PORTREVISION= 1
|
2003-12-17 05:15:52 +01:00
|
|
|
CATEGORIES= graphics
|
2009-04-03 10:52:42 +02:00
|
|
|
MASTER_SITES= http://auricle.dyndns.org/ALE/download/
|
2003-12-17 05:15:52 +01:00
|
|
|
|
2009-03-14 00:27:19 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-12-17 05:15:52 +01:00
|
|
|
COMMENT= Anti-Lamenessing Engine
|
|
|
|
|
2005-11-26 18:17:06 +01:00
|
|
|
OPTIONS= DOUBLE "64bit Data Precision Support" off \
|
|
|
|
FFTW3 "FFTW3 Support" on \
|
|
|
|
IMAGEMAGICK "ImageMagick Support" on
|
|
|
|
|
2009-04-03 10:52:42 +02:00
|
|
|
USE_GNOME= gnomehack
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
CONFIGURE_ARGS= --disable-assertions
|
2004-08-08 08:28:45 +02:00
|
|
|
|
2009-04-03 10:52:42 +02:00
|
|
|
MAN1= ale.1
|
|
|
|
PLIST_FILES= bin/ale bin/ale-bin
|
|
|
|
|
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
|
|
|
|
|
|
|
# Restrict to stable (even) versions, indicated by the second component.
|
|
|
|
PORTSCOUT= limitw:1,even
|
2004-08-28 08:13:14 +02:00
|
|
|
|
2004-08-08 08:28:45 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-01-02 01:41:28 +01:00
|
|
|
.if ${ARCH} == "alpha"
|
2006-05-11 17:12:06 +02:00
|
|
|
BROKEN= Does not build on alpha
|
2005-01-02 01:41:28 +01:00
|
|
|
.endif
|
|
|
|
|
2004-08-28 08:13:14 +02:00
|
|
|
.if defined(WITH_DOUBLE)
|
2009-04-03 10:52:42 +02:00
|
|
|
CONFIGURE_ARGS+= --with-colors=double --with-coords=double
|
2003-12-17 05:15:52 +01:00
|
|
|
.endif
|
|
|
|
|
2009-04-03 10:52:42 +02:00
|
|
|
.if defined(WITHOUT_FFTW3)
|
|
|
|
CONFIGURE_ARGS+= --without-fftw3
|
|
|
|
.else
|
2009-05-18 17:08:58 +02:00
|
|
|
LIB_DEPENDS+= fftw3.5:${PORTSDIR}/math/fftw3
|
2004-08-08 08:28:45 +02:00
|
|
|
.endif
|
2004-01-27 04:25:51 +01:00
|
|
|
|
2009-04-03 10:52:42 +02:00
|
|
|
.if defined(WITHOUT_IMAGEMAGICK)
|
|
|
|
CONFIGURE_ARGS+= --without-imagemagick
|
|
|
|
.else
|
2009-02-10 20:50:55 +01:00
|
|
|
LIB_DEPENDS+= MagickWand.2:${PORTSDIR}/graphics/ImageMagick
|
2004-08-28 08:13:14 +02:00
|
|
|
.endif
|
|
|
|
|
2004-01-27 04:25:51 +01:00
|
|
|
.include <bsd.port.post.mk>
|