summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--biology/ariadne/Makefile17
1 files changed, 6 insertions, 11 deletions
diff --git a/biology/ariadne/Makefile b/biology/ariadne/Makefile
index 4620887f1554..9c7c1938d81a 100644
--- a/biology/ariadne/Makefile
+++ b/biology/ariadne/Makefile
@@ -11,28 +11,23 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Programs to compare protein sequences and profiles
WRKSRC= ${WRKDIR}/SRC-${PORTVERSION}
-USE_GMAKE= yes
PLIST_FILES+= bin/ariadne bin/prospero
+USES= gmake
PORTDOCS= README
+MAKE_ARGS+= CC="${CC}"
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}| ; \
- s|CC =|CC ?=| ; \
s|CFLAGS =|CFLAGS +=| ; \
s|-c $(OPTIMISE)|-c $(CFLAGS) $(OPTIMIZE)|g' ${WRKSRC}/Makefile
-.include <bsd.port.options.mk>
-
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${OPSYS}/ariadne ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/${OPSYS}/prospero ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ ${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>