openbsd-ports/lang/oo2c/Makefile
jasper 2b652e0076 - various fixes, as GCC would generate incorrect code (what's new..)
from Alexander Shiryaev (MAINTAINER)
ok landry@
2011-01-18 12:03:19 +00:00

47 lines
954 B
Makefile

# $OpenBSD: Makefile,v 1.3 2011/01/18 12:03:19 jasper Exp $
ONLY_FOR_ARCHS= i386
COMMENT = optimizing Oberon-2 to C compiler
SHARED_ONLY = Yes
DISTNAME = oo2c_32-2.1.11
REVISION = 0
SHARED_LIBS = oo2c 3.0
CATEGORIES = lang
HOMEPAGE = http://sourceforge.net/projects/ooc/
MAINTAINER = Alexander Shiryaev <shiryaev.a.v@gmail.com>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=ooc/}
EXTRACT_SUFX = .tar.bz2
WANTLIB = c pthread m gc>=3.0
BUILD_DEPENDS = sysutils/ggrep \
textproc/libxslt
LIB_DEPENDS = devel/boehm-gc
USE_LIBTOOL = Yes
USE_GMAKE = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CFLAGS="${CFLAGS} -O0 -I${LOCALBASE}/include -DGC_PTR='void*'" \
LDFLAGS="-L${LOCALBASE}/lib -pthread"
FAKE_FLAGS = prefix="${WRKINST}${PREFIX}" \
mandir="${WRKINST}${PREFIX}/man/man1"
REGRESS_TARGET = test
.include <bsd.port.mk>