1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/devel/fga/Makefile
2013-02-14 09:42:12 +00:00

39 lines
770 B
Makefile

# New ports collection makefile for: fga
# Date created: 2006-11-29
# Whom: Stanislav Sedov <stas@FreeBSD.org>
#
# $MBSDlabs$
# $FreeBSD$
#
PORTNAME= fga
PORTVERSION= 1.4
CATEGORIES= devel
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Fast Genetic Algorithm library
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_GMAKE= yes
EXAMPLES= graph_gen maxbit tsp tsp_bf
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
do-install:
${INSTALL_DATA} ${WRKSRC}/include/fga.hpp ${PREFIX}/include
${INSTALL_PROGRAM} ${EXAMPLES:S,^,${WRKSRC}/,} ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}/
${MKDIR} ${EXAMPLESDIR}/
${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/,:S,$,.cpp,} ${EXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}/
.endif
.include <bsd.port.mk>