freebsd-ports/math/libneural/Makefile
Tijl Coosemans 5d48443269 - Remove libtool hacks and patches that are now handled by USES=libtool
- Remove CONFIG_SHELL from CONFIGURE_ENV because bsd.port.mk handles that
2015-04-18 09:47:29 +00:00

26 lines
723 B
Makefile

# Created by: will
# $FreeBSD$
PORTNAME= libneural
PORTVERSION= 1.0.3
PORTREVISION= 2
CATEGORIES= math devel
MASTER_SITES= http://www.freebsdbrasil.com.br/~jmelo/
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ implementation of the classic 3-layer perceptron in library form
USES= libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
post-patch:
@${REINPLACE_CMD} -e 's|iostream.h|iostream|; s|fstream.h|fstream|; s|iomanip.h|iomanip|; \
s|endl|std::&|g; s|cerr|std::&|g; s|cout|std::&|g; s|cin|std::&|g; s|[oi]fstream |std::&|g' \
${WRKSRC}/lib/neuron.cc ${WRKSRC}/lib/nnwork.cc ${WRKSRC}/examples/*.cc
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libneural.so
.include <bsd.port.mk>