freebsd-ports/biology/avida/Makefile
Dmitry Marakasov c3fd0b3811 - Update to 2.8.1
PR:		128057
Submitted by:	Christian Sturm <athaba at inode dot at>
2008-10-23 14:13:37 +00:00

37 lines
862 B
Makefile

# New ports collection makefile for: avida
# Date created: 17 April 2002
# Whom: Jeremy <karlj000@unbc.ca>
#
# $FreeBSD$
#
PORTNAME= avida
PORTVERSION= 2.8.1
CATEGORIES= biology
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
COMMENT= Avida is an auto-adaptive genetic system designed for ALife research
USE_CMAKE= yes
USE_GCC= 4.2+
WRKSRC= ${WRKDIR}/${PORTNAME}-src-${PORTVERSION}
PORTDOCS= *
post-extract:
@${RM} -f ${WRKSRC}/documentation/.[D_]*
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/work/avida ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/work/avida-viewer ${PREFIX}/bin
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/work/*.cfg ${WRKSRC}/work/*.org ${DATADIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/documentation && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif
.include <bsd.port.mk>