70aa978888
The otter port tries to build libotter.a before an object is completely built (share.o in my case) and ariadne tries to start building in a directory before it is created (under multiple jobs).
34 lines
878 B
Makefile
34 lines
878 B
Makefile
# Created by: Fernan Aguero <fernan@iib.unsam.edu.ar>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ariadne
|
|
PORTVERSION= 1.3
|
|
CATEGORIES= biology
|
|
MASTER_SITES= http://www.well.ox.ac.uk/ariadne/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Programs to compare protein sequences and profiles
|
|
|
|
WRKSRC= ${WRKDIR}/SRC-${PORTVERSION}
|
|
|
|
PLIST_FILES+= bin/ariadne bin/prospero
|
|
USES= gmake tar:Z
|
|
PORTDOCS= README
|
|
MAKE_ARGS+= CC="${CC}"
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}| ; \
|
|
s|CFLAGS =|CFLAGS +=| ; \
|
|
s|-c $(OPTIMISE)|-c $(CFLAGS) $(OPTIMIZE)|g' ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${OPSYS}/ariadne ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${OPSYS}/prospero ${STAGEDIR}${PREFIX}/bin
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|