- Switch to options helpers
- Switch to new test framework
This commit is contained in:
parent
76ddf60538
commit
a3a75358a3
@ -87,12 +87,12 @@ do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/src/*.h ${STAGEDIR}${PREFIX}/include
|
||||
(cd ${WRKSRC}_SHARED/bin/FreeBSD && \
|
||||
${INSTALL_PROGRAM} ${BINS} ${STAGEDIR}${PREFIX}/bin)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
check test: build
|
||||
do-test: # XXX: building tests fail
|
||||
.for t in ${TESTS}
|
||||
@${PRINTF} "\n%s\n" "Building test_${t}"
|
||||
@cd ${WRKSRC}_SHARED ; ${FC} ${FFLAGS} -Llib/FreeBSD -L./ \
|
||||
@ -106,10 +106,4 @@ check test: build
|
||||
bin/FreeBSD/test_${t}
|
||||
.endfor
|
||||
|
||||
#be conservative, and expose a regression test target for amd64 builds only, because
|
||||
#some of the tests run amok during i386 tinderbox builds on amd64 hosts
|
||||
.if ${ARCH} == "amd64"
|
||||
regression-test: check
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user