2013-09-20 21:53:09 +02:00
|
|
|
# Created by: Oliver Breuninger <ob@seicom.NET>
|
2000-06-30 04:56:21 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= oo2c
|
2010-09-10 00:31:34 +02:00
|
|
|
PORTVERSION= 2.1.11
|
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
2018-12-12 02:35:33 +01:00
|
|
|
PORTREVISION= 12
|
2000-06-30 04:56:21 +02:00
|
|
|
CATEGORIES= lang
|
2009-08-22 02:24:37 +02:00
|
|
|
MASTER_SITES= SF/ooc/ooc2/${PORTVERSION}
|
2010-09-10 00:31:34 +02:00
|
|
|
DISTNAME= ${PORTNAME}_${BITS}-${PORTVERSION}
|
2000-06-30 04:56:21 +02:00
|
|
|
|
2010-09-10 00:31:34 +02:00
|
|
|
MAINTAINER= johans@FreeBSD.org
|
2003-02-21 13:35:09 +01:00
|
|
|
COMMENT= Optimizing Oberon-2 compiler of University of Kaiserslautern, Germany
|
2000-06-30 04:56:21 +02:00
|
|
|
|
2014-08-26 19:35:45 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2016-04-01 16:08:37 +02:00
|
|
|
BUILD_DEPENDS= xsltproc:textproc/libxslt
|
|
|
|
RUN_DEPENDS= libtool:devel/libtool
|
|
|
|
LIB_DEPENDS= libgc.so:devel/boehm-gc
|
2000-06-30 04:56:21 +02:00
|
|
|
|
2017-06-25 02:29:09 +02:00
|
|
|
ONLY_FOR_ARCHS= amd64 i386
|
|
|
|
|
2006-01-26 07:14:41 +01:00
|
|
|
DOCSDIR= lib/${PORTNAME}
|
2014-08-10 15:47:00 +02:00
|
|
|
USES= gmake libtool:build tar:bzip2
|
2010-09-10 00:31:34 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LDCONFIG= yes
|
2014-02-14 09:42:35 +01:00
|
|
|
USE_CSTD= gnu89
|
|
|
|
USE_GCC= any
|
2014-01-22 18:54:34 +01:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2011-09-24 00:26:39 +02:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2005-12-04 11:06:24 +01:00
|
|
|
|
2014-07-16 04:29:34 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2014-02-20 19:17:22 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} 's/dir=@/dir=$${DESTDIR}@/' \
|
|
|
|
${WRKSRC}/Makefile.config.in
|
2014-08-26 19:35:45 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|@PERL@|${LOCALBASE}/bin/perl|' \
|
|
|
|
${WRKSRC}/rsrc/OOC/oobacktrace.in
|
2014-02-20 19:17:22 +01:00
|
|
|
|
2010-09-10 00:31:34 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == i386
|
|
|
|
BITS= 32
|
|
|
|
.else
|
|
|
|
BITS= 64
|
|
|
|
.endif
|
2004-02-23 05:42:56 +01:00
|
|
|
|
2010-09-10 00:31:34 +02:00
|
|
|
.include <bsd.port.post.mk>
|