aboutsummaryrefslogtreecommitdiffstats
path: root/math/fann/Makefile
blob: a7911c43f9af1adba03a8e7e70b2e8ab4d56c140 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Created by: Tz-Huan Huang <tzhuan@csie.org>
# $FreeBSD$

PORTNAME=   fann
PORTVERSION=    2.2.0
CATEGORIES= math science
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
DISTNAME=   FANN-2.2.0-Source

MAINTAINER= tzhuan@csie.org
COMMENT=    Free open source neural network library

WRKSRC=     ${WRKDIR}/FANN-2.2.0-Source

USES=       cmake
USE_ZIP=    yes
USE_LDCONFIG=   yes

post-patch:
    ${REINPLACE_CMD} -e 's|/lib/pkgconfig|/libdata/pkgconfig|g' ${WRKSRC}/CMakeLists.txt

.include <bsd.port.mk>