1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

- Update to 2.769

PR:		203800
Submitted by:	tkato432@yahoo.com
This commit is contained in:
Wen Heping 2015-10-16 00:31:32 +00:00
parent 20df8ba912
commit b45bfd2e1e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=399419
2 changed files with 13 additions and 9 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= yabasic
PORTVERSION= 2.768
PORTVERSION= 2.769
CATEGORIES= lang
MASTER_SITES= http://www.yabasic.de/download/
@ -12,9 +12,9 @@ COMMENT= Yet another Basic for Unix and Windows
LICENSE= ART10 GPLv2
LICENSE_COMB= multi
USES= bison
USES= bison ncurses
GNU_CONFIGURE= yes
USE_XORG= x11 ice sm
USE_XORG= ice sm x11
PORTDOCS= yabasic.htm
PLIST_FILES= bin/yabasic man/man1/yabasic.1.gz
@ -28,14 +28,18 @@ BROKEN= all tests end up with segfault on FreeBSD < 10.x amd64
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-DUNIX|@X_CFLAGS@ &|' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e '/Intrinsic\.h/d' ${WRKSRC}/yabasic.h
@${REINPLACE_CMD} -e \
's|= -DUNIX|= @X_CFLAGS@ -DUNIX|g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e \
's|-R$$x_libraries||' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
'/Intrinsic.h/d' ${WRKSRC}/yabasic.h
post-build test:
${SETENV} ${MAKE_ENV} ${MAKE_CMD} check -C ${WRKSRC}
@(cd ${WRKSRC} && ${DO_MAKE_BUILD} check)
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/yabasic.htm ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (yabasic-2.768.tar.gz) = 1b86850c1a9c9a46603589daf43399bc2a4852986e4d130160bb88a29a92b113
SIZE (yabasic-2.768.tar.gz) = 573336
SHA256 (yabasic-2.769.tar.gz) = 558fc1a04675b8d8428c0d105ee08abb28d32f0ebf3380461fc3b603e16ba598
SIZE (yabasic-2.769.tar.gz) = 573272