diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-01-15 22:44:13 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-01-15 22:44:13 +0000 |
commit | 9d0066d3ff3123d27767ae7b71b1ee06f264833a (patch) | |
tree | d7a6142f5289c83f3f7a8cd52e2eca8dff3e7f75 /biology/babel | |
parent | 93f21f65e2dd53b3a791e5e0604043c73814dff7 (diff) |
Support stage
Reduce over inclusions of bsd.port.mk
Use BROKEN_${ARCH}
Notes
Notes:
svn path=/head/; revision=339840
Diffstat (limited to 'biology/babel')
-rw-r--r-- | biology/babel/Makefile | 29 |
1 files changed, 10 insertions, 19 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 <bsd.port.options.mk> - 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 - -.include <bsd.port.pre.mk> - -.if ${ARCH} == "powerpc" -BROKEN= Does not compile on powerpc -.endif - -.include <bsd.port.post.mk> + ${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 <bsd.port.mk> |