freebsd-ports/devel/fga/Makefile

28 lines
686 B
Makefile
Raw Normal View History

# Created by: Stanislav Sedov <stas@FreeBSD.org>
# $FreeBSD$
PORTNAME= fga
PORTVERSION= 1.4
CATEGORIES= devel
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Fast Genetic Algorithm library
WRKSRC= ${WRKDIR}/${PORTNAME}
2014-02-06 16:19:00 +01:00
USES= gmake
EXAMPLES= graph_gen maxbit tsp tsp_bf
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}/
.include <bsd.port.mk>