- Update to version 2.768; canonicalize Makefile header

- Add LICENSE knob (ART10 GPLv2; multi)
- Drop unneeded "xt" from USE_XORG and adjust its position
- Improve test target by using -C and thus get rid of "cd"
- Remove ".if ${PORT_OPTIONS:MDOCS}" guard, no longer needed

PR:	199240
This commit is contained in:
Alexey Dokuchaev 2015-04-11 13:20:10 +00:00
parent f093a60483
commit a278b029f2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=383800
2 changed files with 12 additions and 10 deletions

View File

@ -1,17 +1,20 @@
# Created by: Frank Gruender
# Created by: Frank Gruender <elwood@mc5sys.in-berlin.de>
# $FreeBSD$
PORTNAME= yabasic
PORTVERSION= 2.767
PORTVERSION= 2.768
CATEGORIES= lang
MASTER_SITES= http://www.yabasic.de/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Yet another Basic for Unix and Windows
USE_XORG= x11 ice sm xt
LICENSE= ART10 GPLv2
LICENSE_COMB= multi
USES= bison
GNU_CONFIGURE= yes
USE_XORG= x11 ice sm
PORTDOCS= yabasic.htm
PLIST_FILES= bin/yabasic man/man1/yabasic.1.gz
@ -21,15 +24,14 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e "s|= -DUNIX|= @X_CFLAGS@ -DUNIX|g" ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|-DUNIX|@X_CFLAGS@ &|' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e '/Intrinsic\.h/d' ${WRKSRC}/yabasic.h
post-build test:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
${SETENV} ${MAKE_ENV} ${MAKE_CMD} check -C ${WRKSRC}
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/yabasic.htm ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (yabasic-2.767.tar.gz) = 8fc14f8d2c471a4abf6bb59c3a39ed992ee2537e961ea5b53dbb566537ca8055
SIZE (yabasic-2.767.tar.gz) = 572140
SHA256 (yabasic-2.768.tar.gz) = 1b86850c1a9c9a46603589daf43399bc2a4852986e4d130160bb88a29a92b113
SIZE (yabasic-2.768.tar.gz) = 573336