Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= bonnie++ |
4 |
PORTNAME= bonnie++ |
5 |
PORTVERSION= 1.97 |
5 |
PORTVERSION= 1.97 |
6 |
PORTREVISION= 2 |
6 |
PORTREVISION= 3 |
7 |
CATEGORIES= benchmarks |
7 |
CATEGORIES= benchmarks |
8 |
MASTER_SITES= http://www.coker.com.au/bonnie++/experimental/ |
8 |
MASTER_SITES= http://www.coker.com.au/bonnie++/experimental/ |
9 |
EXTRACT_SUFX= .tgz |
9 |
EXTRACT_SUFX= .tgz |
Lines 15-21
Link Here
|
15 |
|
15 |
|
16 |
GNU_CONFIGURE= yes |
16 |
GNU_CONFIGURE= yes |
17 |
|
17 |
|
18 |
USES= shebangfix |
18 |
USES= shebangfix compiler |
19 |
SHEBANG_FILES= bon_csv2txt.in |
19 |
SHEBANG_FILES= bon_csv2txt.in |
20 |
|
20 |
|
21 |
WRKSRC= ${WRKDIR}/${PORTNAME}-1.97.1 |
21 |
WRKSRC= ${WRKDIR}/${PORTNAME}-1.97.1 |
Lines 24-29
Link Here
|
24 |
|
24 |
|
25 |
OPTIONS_DEFINE= DOCS |
25 |
OPTIONS_DEFINE= DOCS |
26 |
|
26 |
|
|
|
27 |
.include <bsd.port.pre.mk> |
28 |
|
29 |
# XXX Only builds with clang and base gcc (4.2.1) |
30 |
.if ${COMPILER_TYPE} == gcc && ${COMPILER_VERSION} >= 46 |
31 |
BUILD_DEPENDS+= ${LOCALBASE}/bin/clang33:${PORTSDIR}/lang/clang33 |
32 |
CPP= ${LOCALBASE}/bin/clang-cpp33 |
33 |
CC= ${LOCALBASE}/bin/clang33 |
34 |
CXX= ${LOCALBASE}/bin/clang++33 |
35 |
.endif |
36 |
|
27 |
post-patch: |
37 |
post-patch: |
28 |
@${REINPLACE_CMD} \ |
38 |
@${REINPLACE_CMD} \ |
29 |
's|/usr/share/|${PREFIX}/share/|g' ${WRKSRC}/bonnie++.8 |
39 |
's|/usr/share/|${PREFIX}/share/|g' ${WRKSRC}/bonnie++.8 |
Lines 34-37
Link Here
|
34 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
44 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
35 |
${INSTALL_DATA} ${WRKSRC}/readme.html ${STAGEDIR}${DOCSDIR} |
45 |
${INSTALL_DATA} ${WRKSRC}/readme.html ${STAGEDIR}${DOCSDIR} |
36 |
|
46 |
|
37 |
.include <bsd.port.mk> |
47 |
.include <bsd.port.post.mk> |