diff options
author | sat <sat@FreeBSD.org> | 2006-08-28 20:34:43 +0800 |
---|---|---|
committer | sat <sat@FreeBSD.org> | 2006-08-28 20:34:43 +0800 |
commit | 0c8e5b101c06d60dcb27f85b4550aedeaf92788b (patch) | |
tree | cce9d62459efafc788bd9c5653e296b2573e465e /audio/libnoise/Makefile | |
parent | 91dbfd42b00379d91f342fd369130f4f213d1322 (diff) | |
download | freebsd-ports-gnome-0c8e5b101c06d60dcb27f85b4550aedeaf92788b.tar.gz freebsd-ports-gnome-0c8e5b101c06d60dcb27f85b4550aedeaf92788b.tar.zst freebsd-ports-gnome-0c8e5b101c06d60dcb27f85b4550aedeaf92788b.zip |
Add port audio/libnoise:
libnoise is a portable C++ library that is used to generate coherent
noise, a type of smoothly-changing noise. libnoise can generate
Perlin noise, ridged multifractal noise, and other types of
coherent-noise.
Coherent noise is often used by graphics programmers to generate
natural-looking textures, planetary terrain, and other things. The
mountain scene shown above was rendered in Terragen with a terrain
file generated by libnoise. You can also view some other examples of
what libnoise can do.
In libnoise, coherent-noise generators are encapsulated in classes
called noise modules. There are many different types of noise
modules. Some noise modules can combine or modify the outputs of
other noise modules in various ways; you can join these modules
together to generate very complex coherent noise.
WWW: http://libnoise.sourceforge.net/
Diffstat (limited to 'audio/libnoise/Makefile')
-rw-r--r-- | audio/libnoise/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/audio/libnoise/Makefile b/audio/libnoise/Makefile new file mode 100644 index 000000000000..ed03ae45ae6b --- /dev/null +++ b/audio/libnoise/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: libnoise +# Date created: 28 August 2006 +# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= libnoise +DISTVERSION= 1.0.0-RC1 +CATEGORIES= audio +MASTER_SITES= SF +DISTNAME= ${PORTNAME}src-${DISTVERSION} + +MAINTAINER= infofarmer@FreeBSD.org +COMMENT= Generates three-dimensional coherent noise + +USE_ZIP= yes +USE_GMAKE= yes +USE_LDCONFIG= yes +CXXFLAGS+= -O3 -fomit-frame-pointer +WRKSRC= ${WRKDIR}/noise +NO_FILTER_SHLIBS= yes + +do-install: + @${CP} -R ${WRKSRC}/lib/${PORTNAME}.* ${PREFIX}/lib/ + @${INSTALL} -d ${PREFIX}/include/noise + @${CP} -R ${WRKSRC}/include/ ${PREFIX}/include/noise/ + @${RM} -f ${PREFIX}/include/noise/Makefile + @${LN} -sf ${PREFIX}/lib/libnoise.so.0.3 ${PREFIX}/lib/libnoise.so.0 + +.include <bsd.port.mk> |