Makefile 832 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # $OpenBSD: Makefile,v 1.7 2016/03/16 21:19:38 naddy Exp $
  2. ONLY_FOR_ARCHS= i386
  3. COMMENT = optimizing Oberon-2 to C compiler
  4. DISTNAME = oo2c_32-2.1.11
  5. REVISION = 1
  6. SHARED_LIBS = oo2c 3.0
  7. CATEGORIES = lang
  8. HOMEPAGE = http://sourceforge.net/projects/ooc/
  9. MAINTAINER = Alexander Shiryaev <shiryaev.a.v@gmail.com>
  10. # GPLv2
  11. PERMIT_PACKAGE_CDROM = Yes
  12. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=ooc/}
  13. EXTRACT_SUFX = .tar.bz2
  14. WANTLIB = c pthread m gc>=3.0
  15. BUILD_DEPENDS = sysutils/ggrep \
  16. textproc/libxslt
  17. LIB_DEPENDS = devel/boehm-gc
  18. USE_GMAKE = Yes
  19. CONFIGURE_STYLE = gnu
  20. CONFIGURE_ENV = CFLAGS="${CFLAGS} -O0 -I${LOCALBASE}/include -DGC_PTR='void*'" \
  21. LDFLAGS="-L${LOCALBASE}/lib -pthread"
  22. FAKE_FLAGS = prefix="${WRKINST}${PREFIX}" \
  23. mandir="${WRKINST}${PREFIX}/man/man1"
  24. TEST_TARGET = test
  25. .include <bsd.port.mk>