summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-11-12 21:54:36 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-11-12 21:54:36 +0000
commitb2ac854afebf10f2bc655c08fa0fca7c896696a2 (patch)
tree8810b60fc4cb9bea45f825c76ce1da9260732616
parent3c32b3acf59bf6de2f7c2193f7ff076d5a5d8979 (diff)
downloadfreebsd-ports-b2ac854afebf10f2bc655c08fa0fca7c896696a2.zip
Stage support
drop USE_GMAKE
-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>