# New ports collection makefile for: migrate # Date created: 6 August 2001 # Whom: Johann Visagie # # $FreeBSD$ # PORTNAME= migrate PORTVERSION= 2.1.3 CATEGORIES= biology MASTER_SITES= http://popgen.csit.fsu.edu/currentversion/ DISTNAME= ${PORTNAME}-${PORTVERSION}.src MAINTAINER= ports@FreeBSD.org COMMENT= A program to estimate population sizes and migration rates WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} MAKE_ARGS= CFLAGS="${CFLAGS}" MAN1= migrate.1 MLINKS= migrate.1 migrate-n.1 DOCS= HISTORY HOWTO-PARALLEL README migrate.html EXAMPLES= README infile.ep infile.msat infile.seq \ outfile-bayes-saved outfile-ml-saved \ parmfile parmfile.testbayes parmfile.testml post-patch: @${REINPLACE_CMD} 's,-falign-loops=16,,g' ${WRKSRC}/configure do-install: @ ${INSTALL_PROGRAM} ${WRKSRC}/migrate-n ${PREFIX}/bin @ cd ${PREFIX}/bin && ${LN} -s migrate-n migrate @ ${INSTALL_MAN} ${WRKSRC}/migrate.1 ${MAN1PREFIX}/man/man1 .if !defined(NOPORTDOCS) @ ${MKDIR} ${DOCSDIR}/graphics .for i in ${DOCS} @ ${INSTALL_DATA} ${WRKSRC}/../${i} ${DOCSDIR} .endfor @ ${MKDIR} ${EXAMPLESDIR} .for i in ${EXAMPLES} @ ${INSTALL_DATA} ${WRKSRC}/../example/${i} ${EXAMPLESDIR} .endfor @ ${INSTALL_DATA} ${WRKSRC}/../graphics/* ${DOCSDIR}/graphics .endif .include .if ${ARCH} == "alpha" BROKEN= Does not compile .endif .include