- Update to 05_20121021
Changes:
- The library vecfont10.s7i, which defines the standard vector font
with capital height 10, was added. Now mahjong.sd7 and shisen.sd7
use vecfont10.s7i.
- The programs mahjong.sd7, pairs.sd7, shisen.sd7 and sokoban.sd7
were improved to fit into a screen with a resolution of 1024 x 768.
- The library make.s7i was improved: The parsing of command
parameters (used by the Unix version of the echo command), was
improved. The processing of pattern rules was improved (The rule
with the shortest stem value is used, when several rules match).
- Functions to read a makefile were moved from make.s7i to the new
library makedata.s7i.
- The reading of makefiles was improved: The processing of the gmake
directives 'ifeq' and 'ifneq' was improved to allow else clauses.
The processing of the nmake directive 'if' was added. Merging of
dependencies for rules with the same target was improved.
- The parse function for time values (library time.s7i) was improved
to allow fractions of a second.
- The functions getSubNodes and getContent and a for-loop for xmlNode
values were defined in the library xmldom.s7i.
- The compiler was improved to initialize bstring literals correctly,
when pointers are 64-bit and integers are 32-bit.
- The font libraries cronos16.s7i, cronos27.s7i, modern27.s7i and
vecfont18.s7i were improved to include vectorfont.s7i.
- The font libraries stdfont10.s7i, stdfont12.s7i, stdfont14.s7i,
stdfont16.s7i, stdfont18.s7i, stdfont20.s7i and stdfont24.s7i were
improved to include bitmapfont.s7i.
- The program dnafight.sd7 was improved to limit the speed of the
animation.
- The program make7.sd7 was improved to recognize the options
correctly. Additionally make7 inherits also all improvements of
makedata.s7i and make.s7i.
- The program ftp7.sd7 was improved to accept the option -?.
- The graphic libraries drw_x11.c and drw_win.c were improved to draw
the background of maximized windows with the color of the last
clear command.
Feature safe: yes
2012-10-29 09:54:40 +01:00
|
|
|
# Created by: gahr
|
2008-07-17 00:42:13 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= seed7
|
- Update to 05_20121021
Changes:
- The library vecfont10.s7i, which defines the standard vector font
with capital height 10, was added. Now mahjong.sd7 and shisen.sd7
use vecfont10.s7i.
- The programs mahjong.sd7, pairs.sd7, shisen.sd7 and sokoban.sd7
were improved to fit into a screen with a resolution of 1024 x 768.
- The library make.s7i was improved: The parsing of command
parameters (used by the Unix version of the echo command), was
improved. The processing of pattern rules was improved (The rule
with the shortest stem value is used, when several rules match).
- Functions to read a makefile were moved from make.s7i to the new
library makedata.s7i.
- The reading of makefiles was improved: The processing of the gmake
directives 'ifeq' and 'ifneq' was improved to allow else clauses.
The processing of the nmake directive 'if' was added. Merging of
dependencies for rules with the same target was improved.
- The parse function for time values (library time.s7i) was improved
to allow fractions of a second.
- The functions getSubNodes and getContent and a for-loop for xmlNode
values were defined in the library xmldom.s7i.
- The compiler was improved to initialize bstring literals correctly,
when pointers are 64-bit and integers are 32-bit.
- The font libraries cronos16.s7i, cronos27.s7i, modern27.s7i and
vecfont18.s7i were improved to include vectorfont.s7i.
- The font libraries stdfont10.s7i, stdfont12.s7i, stdfont14.s7i,
stdfont16.s7i, stdfont18.s7i, stdfont20.s7i and stdfont24.s7i were
improved to include bitmapfont.s7i.
- The program dnafight.sd7 was improved to limit the speed of the
animation.
- The program make7.sd7 was improved to recognize the options
correctly. Additionally make7 inherits also all improvements of
makedata.s7i and make.s7i.
- The program ftp7.sd7 was improved to accept the option -?.
- The graphic libraries drw_x11.c and drw_win.c were improved to draw
the background of maximized windows with the color of the last
clear command.
Feature safe: yes
2012-10-29 09:54:40 +01:00
|
|
|
DISTVERSION= 05_20121021
|
2008-07-17 00:42:13 +02:00
|
|
|
CATEGORIES= lang
|
2010-06-21 15:05:49 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTNAME}/
|
2008-07-17 00:42:13 +02:00
|
|
|
DISTNAME= ${PORTNAME}_${DISTVERSION}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
|
|
|
COMMENT= A high-level, extensible programming language
|
|
|
|
|
- Update to 05_20120304
Changes:
* The "ftpserv.sd7" example program was improved to support the
commands RNFR and RNTO and to work correctly, when the listener
cannot open a passive data port.
* The font support was improved, such that caching of character
pixmaps works.
* Some characters in the standard bitmap fonts were added or
improved.
* The functions 'socSend' and 'socSendto' in "soc_rtl.c" were
improved to work correctly under 64-bit systems.
* The function 'fltSci' in "flt_rtl.c", was improved to avoid
a C compiler warning about the change of a constant value.
* The function 'redraw' in "drw_x11.c" was changed, such that it
does not use a parameter of type 'XExposeEvent'.
* The functions 'drwHeight', 'drwWidth', 'drwXPos' and 'drwYPos'
in "drw_x11.c" were improved to raise RANGE_ERROR when the
window does not exist.
* The function 'handleExpose' was introduced in "gkb_x11.c", to
handle the job of calling 'redraw'.
* The type 'unsigned int' was replaced by 'sysizetype' in
'findid.c', 'findid.h', 'identutl.c', 'identutl.h', 'literal.c',
'numlit.c', 'scanner.c' and 'symbol.h'.
* Some improvements were done in 'prg_comp.c', 'reflib.c',
'analyze.c', 'exec.c', 'infile.c', 'info.c' and 'typlib.c' to
reduce the number of warnings.
* Support for the unused action "ENU_SIZE" was removed.
- Add LICENSE
2012-03-06 15:17:24 +01:00
|
|
|
LICENSE= LGPL21
|
|
|
|
|
2008-07-17 00:42:13 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_XORG= x11
|
|
|
|
|
2010-06-21 15:05:49 +02:00
|
|
|
ONLY_FOR_ARCHS= i386 amd64 sparc64
|
2009-11-27 09:15:19 +01:00
|
|
|
|
2009-07-08 17:03:54 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}/src
|
2008-07-17 00:42:13 +02:00
|
|
|
MAKEFILE= makefile
|
|
|
|
ALL_TARGET= hi
|
|
|
|
|
2010-07-01 00:49:53 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 800000
|
|
|
|
BROKEN= does not compile
|
|
|
|
.endif
|
|
|
|
|
2008-07-17 00:42:13 +02:00
|
|
|
post-patch:
|
2008-07-31 07:45:17 +02:00
|
|
|
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g;\
|
|
|
|
s|`pwd`|${PREFIX}/lib/${PORTNAME}|g;\
|
|
|
|
s|-lX11|$${LFLAGS} -lX11|g' \
|
2008-07-17 00:42:13 +02:00
|
|
|
${WRKSRC}/makefile
|
2008-07-31 07:45:17 +02:00
|
|
|
${REINPLACE_CMD} -i '' -e 's|./hi|${PREFIX}/bin/hi|g' \
|
|
|
|
${WRKSRC}/../prg/chk_all.sd7
|
2008-07-17 00:42:13 +02:00
|
|
|
|
|
|
|
do-configure:
|
2011-11-24 10:05:43 +01:00
|
|
|
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} depend)
|
2008-07-17 00:42:13 +02:00
|
|
|
|
|
|
|
do-install:
|
2010-12-24 11:52:58 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/../bin/hi ${PREFIX}/bin
|
2008-07-17 00:42:13 +02:00
|
|
|
${INSTALL} -d ${PREFIX}/lib/${PORTNAME}
|
|
|
|
(cd ${WRKSRC}/../lib && ${COPYTREE_SHARE} \* ${PREFIX}/lib/${PORTNAME})
|
2010-12-24 11:52:58 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/../bin/s7_comp.a ${PREFIX}/lib/${PORTNAME}
|
2012-02-03 11:28:24 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/../bin/s7_con.a ${PREFIX}/lib/${PORTNAME}
|
2011-09-07 09:33:44 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/../bin/s7_draw.a ${PREFIX}/lib/${PORTNAME}
|
2010-12-24 11:52:58 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/../bin/s7_data.a ${PREFIX}/lib/${PORTNAME}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../bin/seed7_05.a ${PREFIX}/lib/${PORTNAME}
|
2008-07-17 00:42:13 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${INSTALL} -d ${DOCSDIR}
|
|
|
|
(cd ${WRKSRC}/../doc && ${COPYTREE_SHARE} \* ${DOCSDIR})
|
|
|
|
.endif
|
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
|
|
${INSTALL} -d ${EXAMPLESDIR}
|
|
|
|
(cd ${WRKSRC}/../prg && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
|
|
|
|
.endif
|
|
|
|
|
2008-07-31 07:45:17 +02:00
|
|
|
test: install
|
|
|
|
@echo ""
|
|
|
|
@echo "Testing the ${PORTNAME} installation"
|
|
|
|
@(cd ${WRKSRC}/../prg && ${PREFIX}/bin/hi chk_all)
|
|
|
|
|
2010-07-01 00:49:53 +02:00
|
|
|
.include <bsd.port.post.mk>
|