aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libnoise/Makefile
blob: ed03ae45ae6b5e39f80d82e7cce35ea01e1c11c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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>