e85851d3bf
Changes: 20120909: - The chapters about predefined statements and the foreign function interface in the manual, were improved. - An explanation, why the div operator is used for integer divisions, was added to the FAQ. - The FAQ about garbage collection was improved. - Links to EBNF syntax descriptions and exceptions were added to the HTML version of the manual. - EBNF syntax descriptions in the manual were improved. - Interpreter and compiler were improved to support the actions CMD_ENVIRONMENT and CMD_GET_SEARCH_PATH. - The library shell.s7i was improved to define the functions getSearchPath and environment. - The function path(PROGRAM) was improved to return the accurate value under all circumstances. - Several preprocessor defines were moved from "common.h to the new include file "config.h". - In cmdlib.c the function toArraytype() was introduced and used in cmd_environment() and cmd_getSearchPath(). - In cmd_rtl.c the functions add_stri_to_array() and complete_stri_array() were introduced and used in read_dir(), getSearchPath() and cmdEnvironment(). - Parameter names in drw_win.c, drw_x11.c and drw_dos.c were changed to fit to the names used in graph.s7i. - Parameter names in clib_file.s7i, keybd.s7i, sockbase.s7i, socket.s7i, utf8.s7i, fil_rtl.c, gkb_rtl.c, kbd_rtl.c, soc_dos.c, soc_rtl.c and ut8_rtl.c were changed to fit to each other. - The function conv_from_os_stri() was added to striutl.c . - The function concat_path in str_rtl.c was improved to work correctly, when the relative path contains "..". - In several makefiles defines for SEARCH_PATH_DELIMITER and os_environ were added and defines for MAP_ABSOLUTE_PATH_TO_DRIVE_LETTERS were replaced with defines for OS_PATH_HAS_DRIVE_LETTERS. - A description of several C preprocessor macros used in "version.h" and "config.h" was added to the file "src/read_me.txt". - Parameter names were added to function definitions in various libraries. - Documentation comments were added or improved in the files "clib_file.s7i", "external_file.s7i", "socket.s7i", "fil_rtl.c" and "striutl.c". - The function determineEnvironDefines was added to "chkccomp.c". 20120826: - A chapter, which explains the foreign function interface, was added to the manual. - Syntax descriptions, code examples and tables in the HTML version of the manual were improved. - Documentation comments were added to the file "striutl.c". - A description of several C preprocessor macros used in "version.h" was added to the file "src/read_me.txt".
72 lines
1.8 KiB
Makefile
72 lines
1.8 KiB
Makefile
# New ports collection Makefile for: seed7
|
|
# Date created: 16 July 2008
|
|
# Whom: gahr
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= seed7
|
|
DISTVERSION= 05_20120909
|
|
CATEGORIES= lang
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTNAME}/
|
|
DISTNAME= ${PORTNAME}_${DISTVERSION}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
|
COMMENT= A high-level, extensible programming language
|
|
|
|
LICENSE= LGPL21
|
|
|
|
USE_GMAKE= yes
|
|
USE_XORG= x11
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64 sparc64
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}/src
|
|
MAKEFILE= makefile
|
|
ALL_TARGET= hi
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 800000
|
|
BROKEN= does not compile
|
|
.endif
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g;\
|
|
s|`pwd`|${PREFIX}/lib/${PORTNAME}|g;\
|
|
s|-lX11|$${LFLAGS} -lX11|g' \
|
|
${WRKSRC}/makefile
|
|
${REINPLACE_CMD} -i '' -e 's|./hi|${PREFIX}/bin/hi|g' \
|
|
${WRKSRC}/../prg/chk_all.sd7
|
|
|
|
do-configure:
|
|
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} depend)
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/../bin/hi ${PREFIX}/bin
|
|
${INSTALL} -d ${PREFIX}/lib/${PORTNAME}
|
|
(cd ${WRKSRC}/../lib && ${COPYTREE_SHARE} \* ${PREFIX}/lib/${PORTNAME})
|
|
${INSTALL_DATA} ${WRKSRC}/../bin/s7_comp.a ${PREFIX}/lib/${PORTNAME}
|
|
${INSTALL_DATA} ${WRKSRC}/../bin/s7_con.a ${PREFIX}/lib/${PORTNAME}
|
|
${INSTALL_DATA} ${WRKSRC}/../bin/s7_draw.a ${PREFIX}/lib/${PORTNAME}
|
|
${INSTALL_DATA} ${WRKSRC}/../bin/s7_data.a ${PREFIX}/lib/${PORTNAME}
|
|
${INSTALL_DATA} ${WRKSRC}/../bin/seed7_05.a ${PREFIX}/lib/${PORTNAME}
|
|
|
|
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
|
|
|
|
test: install
|
|
@echo ""
|
|
@echo "Testing the ${PORTNAME} installation"
|
|
@(cd ${WRKSRC}/../prg && ${PREFIX}/bin/hi chk_all)
|
|
|
|
.include <bsd.port.post.mk>
|