2013-09-20 19:04:43 +02:00
|
|
|
# Created by: Stanislav Sedov <stas@FreeBSD.org>
|
2006-11-29 15:49:24 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= fga
|
2007-10-30 12:43:22 +01:00
|
|
|
PORTVERSION= 1.4
|
2006-11-29 15:49:24 +01:00
|
|
|
CATEGORIES= devel
|
2009-08-22 02:18:43 +02:00
|
|
|
MASTER_SITES= SF
|
2006-11-29 15:49:24 +01:00
|
|
|
|
2011-10-24 05:33:20 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-11-29 15:49:24 +01:00
|
|
|
COMMENT= Fast Genetic Algorithm library
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
2014-02-06 16:19:00 +01:00
|
|
|
USES= gmake
|
2006-11-29 15:49:24 +01:00
|
|
|
|
2007-07-19 01:04:44 +02:00
|
|
|
EXAMPLES= graph_gen maxbit tsp tsp_bf
|
2006-11-29 15:49:24 +01:00
|
|
|
PORTDOCS= *
|
|
|
|
|
|
|
|
do-install:
|
2014-02-06 16:19:00 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/include/fga.hpp ${STAGEDIR}${PREFIX}/include
|
|
|
|
${INSTALL_PROGRAM} ${EXAMPLES:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
|
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
|
|
|
|
${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/,:S,$,.cpp,} ${STAGEDIR}${EXAMPLESDIR}/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}/
|
2006-11-29 15:49:24 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|