mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
44eaadcb75
Where possible, correct a few instances where PORTDOCS was being used to flag stuff in EXAMPLESDIR. For some ports, mostly those owned by ruby@, PORTDOCS is applied to pretty much everything whether it's documentation or example.
30 lines
713 B
Makefile
30 lines
713 B
Makefile
# 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}
|
|
|
|
USES= gmake
|
|
|
|
EXAMPLES= graph_gen maxbit tsp tsp_bf
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
do-install:
|
|
${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>
|