1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
freebsd-ports/lang/seed7/Makefile
Pietro Cerutti 28556314b9 - 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 14:17:24 +00:00

72 lines
1.8 KiB
Makefile

# New ports collection Makefile for: seed7
# Date created: 16 July 2008
# Whom: gahr
#
# $FreeBSD$
#
PORTNAME= seed7
DISTVERSION= 05_20120304
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>