aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libbnr/Makefile
blob: fd03bc2d8e51a1724d243d3cb2aa34141363fa54 (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
32
33
34
35
36
# New ports collection makefile for:    libbnr
# Date created:             2005-02-27
# Whom:         Ion-Mihai "IOnut" Tetcu<itetcu@people.tecnik93.com>
#
# $FreeBSD$
#

PORTNAME=   libbnr
PORTVERSION=    2.0.3
PORTREVISION=   1
CATEGORIES= devel mail
MASTER_SITES=   http://dspam.nuclearelephant.com/sources/extras/ \
        http://people.tecnik93.com/~itetcu/FreeBSD/ports/libbnr/sources/

MAINTAINER= itetcu@FreeBSD.org
COMMENT=    GPL implementation of the Bayesian Noise Reduction algorithm

GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
CONFIGURE_ARGS+=    --includedir=${PREFIX}/include/${PORTNAME}

.ifdef(WITH_DEBUG)
CFLAGS+=    -g -DDEBUG
.endif

PORTDOCS=   README

post-install:
    ${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/example.c ${EXAMPLESDIR}
.ifndef(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>