openbsd-ports/math/p5-AI-FANN/Makefile
2009-03-23 07:22:24 +00:00

28 lines
608 B
Makefile

# $OpenBSD: Makefile,v 1.3 2009/03/23 07:22:24 jasper Exp $
SHARED_ONLY= Yes
COMMENT= interface to the Fast Artificial Neural Network library
DISTNAME= AI-FANN-0.10
CATEGORIES= math
MODULES= cpan
# perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
LIB_DEPENDS= doublefann::math/fann
CONFIGURE_ARGS+= FANN_LIB="${LOCALBASE}/lib" \
FANN_INCLUDE"${LOCALBASE}/include"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-FANN
${INSTALL_DATA} ${WRKSRC}/samples/*.pl ${PREFIX}/share/examples/p5-FANN
.include <bsd.port.mk>