Date: Wed, 9 Jan 2013 16:48:22 +0000 (UTC) From: Pietro Cerutti <gahr@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r310158 - in head/lang/seed7: . files Message-ID: <201301091648.r09GmMRq048625@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gahr Date: Wed Jan 9 16:48:22 2013 New Revision: 310158 URL: http://svnweb.freebsd.org/changeset/ports/310158 Log: - Update to 05_20130105 Changes: * The Seed7 interpreter was renamed. The new name of the Seed7 interpreter is s7. * Manual, FAQ, read_me files and several example programs were updated to use the new name of the Seed7 interpreter (s7). * The build process of a package can compile interpreter and compiler with (xx and yy must be replaced with a path): $ make S7_LIB_DIR=xx SEED7_LIBRARY=yy depend s7 s7c * The function drwOpen in drw_win.c was improved to hide the console window, when the program was not started from a console. * Descriptions of the operators 'sci' and 'exp' were added to the manual. * Documentation comments were added to clib_file.s7i. * In pixmap_file.s7i the functions for pixmapFontFiles were improved. * Interpreter and compiler were improved to allow using winmain as main function. * In cmd_win.c the function prepareCommandLine was improved and in the function cmdStartProcess the flag wShowWindow was changed to 1. * The file hi.c was renamed to s7.c. * In striutl.c the function escape_command was changed to quote commands with special characters under windows. * In striutl.c the function cp_to_command was improved to do a quoting under windows, even when there are no parameters. * Parameter names were added to null_file.s7i, osfiles.s7i, time.s7i, pixmapfont.s7i, progs.s7i, reference.s7i, seed7_05.s7i, shell.s7i, stritext.s7i, text.s7i, rever.sd7 and snake.sd7. Modified: head/lang/seed7/Makefile head/lang/seed7/distinfo head/lang/seed7/files/patch-makefile head/lang/seed7/pkg-plist Modified: head/lang/seed7/Makefile ============================================================================== --- head/lang/seed7/Makefile Wed Jan 9 16:46:59 2013 (r310157) +++ head/lang/seed7/Makefile Wed Jan 9 16:48:22 2013 (r310158) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= seed7 -DISTVERSION= 05_20121212 +DISTVERSION= 05_20130105 CATEGORIES= lang MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTNAME}/ DISTNAME= ${PORTNAME}_${DISTVERSION} @@ -24,7 +24,7 @@ MAKE_ENV+= S7_LIB_DIR=${S7_LIB_DIR} \ SEED7_LIBRARY=${SEED7_LIBRARY} \ C_COMPILER=${CC} \ CPLUSPLUS_COMPILER=${CPP} -ALL_TARGET= depend hi +ALL_TARGET= depend s7 SEED7_LIBRARY= ${PREFIX}/lib/${PORTNAME}/lib S7_LIB_DIR= ${PREFIX}/lib/${PORTNAME}/bin @@ -33,6 +33,8 @@ S7_LIBS= s7_comp.a s7_con.a s7_draw.a s7 PORTEXAMPLES= * PORTDOCS= * +.include <bsd.port.options.mk> + .include <bsd.port.pre.mk> .if ${OSVERSION} < 800000 @@ -42,11 +44,11 @@ BROKEN= does not compile post-patch: ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g;' ${WRKSRC}/makefile ${REINPLACE_CMD} -e '/FLOATTYPE_DOUBLE/s|undef|define|' ${WRKSRC}/config.h - ${REINPLACE_CMD} -i '' -e 's|./hi|${PREFIX}/bin/hi|g' ${WRKSRC}/../prg/chk_all.sd7 + ${REINPLACE_CMD} -i '' -e 's|./s7|${PREFIX}/bin/s7|g' ${WRKSRC}/../prg/chk_all.sd7 do-install: # install interpreter - ${INSTALL_PROGRAM} ${WRKSRC}/../bin/hi ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/../bin/s7 ${PREFIX}/bin # install seed7 library ${INSTALL} -d ${SEED7_LIBRARY} cd ${WRKSRC}/../lib && ${COPYTREE_SHARE} '*.s7i' ${SEED7_LIBRARY} @@ -60,7 +62,7 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/../prg/s7c ${PREFIX}/bin/s7c ${RM} ${WRKSRC}/../prg/tmp_s7c.c ${WRKSRC}/../prg/s7c # install PORTDOCS -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${INSTALL} -d ${DOCSDIR} cd ${WRKSRC}/../doc && ${COPYTREE_SHARE} \* ${DOCSDIR} .endif @@ -70,9 +72,9 @@ do-install: cd ${WRKSRC}/../prg && ${COPYTREE_SHARE} '*.dna *.sd7 *.dat *.s7i' ${EXAMPLESDIR} .endif -regression-test: install +regression-test: ${INSTALL_TARGET} @echo "" @echo "Testing the ${PORTNAME} installation" - @(cd ${WRKSRC}/../prg && ${PREFIX}/bin/hi chk_all) + @(cd ${WRKSRC}/../prg && ${PREFIX}/bin/s7 chk_all) .include <bsd.port.post.mk> Modified: head/lang/seed7/distinfo ============================================================================== --- head/lang/seed7/distinfo Wed Jan 9 16:46:59 2013 (r310157) +++ head/lang/seed7/distinfo Wed Jan 9 16:48:22 2013 (r310158) @@ -1,2 +1,2 @@ -SHA256 (seed7_05_20121212.tgz) = d4f23d71e3f86ea81ff404e52a803f644d8fa505cde0da62895941c8ad73c67a -SIZE (seed7_05_20121212.tgz) = 1801593 +SHA256 (seed7_05_20130105.tgz) = 72c166e1854acc4b424b512a44793c8f7ad392e710274a44aacbd2dcc9f5f28b +SIZE (seed7_05_20130105.tgz) = 1806154 Modified: head/lang/seed7/files/patch-makefile ============================================================================== --- head/lang/seed7/files/patch-makefile Wed Jan 9 16:46:59 2013 (r310157) +++ head/lang/seed7/files/patch-makefile Wed Jan 9 16:48:22 2013 (r310158) @@ -9,10 +9,10 @@ # CFLAGS = -O2 -g -ffunction-sections -fdata-sections -Wall -Winline -Wconversion -Wshadow -Wpointer-arith # CFLAGS = -O2 -g -std=c99 -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith # CFLAGS = -O2 -g -Wall -Winline -Wconversion -Wshadow -Wpointer-arith -@@ -21,6 +21,7 @@ +@@ -21,6 +21,6 @@ # CFLAGS = -O2 -fomit-frame-pointer -funroll-loops -Wall # CFLAGS = -O2 -funroll-loops -Wall -pg - LDFLAGS = -Wl,--gc-sections +-LDFLAGS = -Wl,--gc-sections +LDFLAGS = -Wl,--gc-sections -L%%LOCALBASE%%/lib # LDFLAGS = -pg # LDFLAGS = -pg -lc_p @@ -26,11 +26,3 @@ GET_CC_VERSION_INFO = $(CC) --version > BIGINT_LIB_DEFINE = USE_BIG_RTL_LIBRARY -@@ -113,6 +114,7 @@ - COMP_DATA_LIB_SRC = typ_data.c rfl_data.c ref_data.c listutl.c flistutl.c typeutl.c datautl.c - COMPILER_LIB_SRC = $(PSRC1) $(LSRC1) $(LSRC2) $(LSRC3) $(ESRC1) $(ASRC1) $(ASRC2) $(ASRC3) $(GSRC1) $(GSRC2) - -+.PHONY: hi - hi: ../bin/hi ../prg/hi - ../bin/hi level - Modified: head/lang/seed7/pkg-plist ============================================================================== --- head/lang/seed7/pkg-plist Wed Jan 9 16:46:59 2013 (r310157) +++ head/lang/seed7/pkg-plist Wed Jan 9 16:48:22 2013 (r310158) @@ -1,4 +1,4 @@ -bin/hi +bin/s7 bin/s7c lib/seed7/bin/s7_comp.a lib/seed7/bin/s7_con.a
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301091648.r09GmMRq048625>