svn commit: r339840 - head/biology/babel
Baptiste Daroussin
bapt at FreeBSD.org
Wed Jan 15 22:44:14 UTC 2014
Author: bapt
Date: Wed Jan 15 22:44:13 2014
New Revision: 339840
URL: http://svnweb.freebsd.org/changeset/ports/339840
QAT: https://qat.redports.org/buildarchive/r339840/
Log:
Support stage
Reduce over inclusions of bsd.port.mk
Use BROKEN_${ARCH}
Modified:
head/biology/babel/Makefile
Modified: head/biology/babel/Makefile
==============================================================================
--- head/biology/babel/Makefile Wed Jan 15 22:41:16 2014 (r339839)
+++ head/biology/babel/Makefile Wed Jan 15 22:44:13 2014 (r339840)
@@ -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
+ ${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.post.mk>
+.include <bsd.port.mk>
More information about the svn-ports-all
mailing list