mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
6cb90ab37d
PR: ports/166533 Submitted by: Tz-Huan Huang <tzhuan@gmail.com> (maintainer) Feature safe: yes
30 lines
672 B
Makefile
30 lines
672 B
Makefile
# New ports collection makefile for: fann
|
|
# Date created: 2007-03-04
|
|
# Whom: 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= A free open source neural network library
|
|
|
|
WRKSRC= ${WRKDIR}/FANN-2.2.0-Source
|
|
|
|
USE_CMAKE= yes
|
|
USE_ZIP= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|/lib/pkgconfig|/libdata/pkgconfig|g' ${WRKSRC}/CMakeLists.txt
|
|
|
|
post-configure:
|
|
${ENV} CPP=${CPP} CC=${CC} CXX=${CXX} ${CMAKE_BIN} ${WRKSRC} -DCMAKE_INSTALL_PREFIX=${PREFIX}
|
|
|
|
.include <bsd.port.mk>
|