From 9d0066d3ff3123d27767ae7b71b1ee06f264833a Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Wed, 15 Jan 2014 22:44:13 +0000 Subject: [PATCH] Support stage Reduce over inclusions of bsd.port.mk Use BROKEN_${ARCH} --- biology/babel/Makefile | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/biology/babel/Makefile b/biology/babel/Makefile index 9bec6cbc8fa3..e4bca3550e74 100644 --- a/biology/babel/Makefile +++ b/biology/babel/Makefile @@ -22,27 +22,18 @@ PORTDOCS= README.1ST OPTIONS_DEFINE= DOCS -NO_STAGE= yes +BROKEN_powerpc= Does not compile on powerpc + post-build: ${SED} -e 's%@PREFIX@%${PREFIX}%g' \ ${FILESDIR}/babel.sh >${WRKSRC}/babel.sh -.include - do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/babel ${PREFIX}/libexec - ${INSTALL_SCRIPT} ${WRKSRC}/babel.sh ${PREFIX}/bin/babel - @${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/*.lis ${DATADIR} -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README.1ST ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/babel ${STAGEDIR}${PREFIX}/libexec + ${INSTALL_SCRIPT} ${WRKSRC}/babel.sh ${STAGEDIR}${PREFIX}/bin/babel + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/*.lis ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.1ST ${STAGEDIR}${DOCSDIR} -.include - -.if ${ARCH} == "powerpc" -BROKEN= Does not compile on powerpc -.endif - -.include +.include