mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
- Switch to new test framework
- Switch to options helpers Approved by: portmgr blanket
This commit is contained in:
parent
2868b83d13
commit
491944b8c1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=471085
@ -17,6 +17,7 @@ GH_TUPLE= fujita-y:ypsilon:0.9.6-update3
|
||||
|
||||
USES= gmake
|
||||
USE_GCC= yes
|
||||
TEST_TARGET= check # XXX: tests fail
|
||||
|
||||
MAKE_ARGS= DATADIR="${DATADIR}"
|
||||
|
||||
@ -25,17 +26,16 @@ ONLY_FOR_ARCHS= i386 amd64
|
||||
OPTIONS_DEFINE= EXAMPLES
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} 's/-fno-[a-z-]*//g' ${WRKSRC}/Makefile
|
||||
@${REINPLACE_CMD} 's/-fno-[a-z-]*//g' ${WRKSRC}/Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} "sitelib stdlib" ${STAGEDIR}${DATADIR})
|
||||
|
||||
do-install-EXAMPLES-on:
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/example/*.scm ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
regression-test: build
|
||||
cd ${WRKSRC} && ${MAKE_CMD} check
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user