Makefile 791 B

1234567891011121314151617181920212223242526272829303132333435
  1. # $OpenBSD: Makefile,v 1.18 2015/03/16 18:07:49 naddy Exp $
  2. COMMENT= open source COBOL compiler
  3. DISTNAME= open-cobol-1.1
  4. SHARED_LIBS += cob 3.0 # .2.0
  5. CATEGORIES= lang
  6. REVISION= 0
  7. HOMEPAGE= http://www.opencobol.org/
  8. # compiler: GPL
  9. # run-time library: LGPL
  10. PERMIT_PACKAGE_CDROM= Yes
  11. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=open-cobol/}
  12. LIB_DEPENDS= databases/db/v4 \
  13. devel/gmp
  14. MODULES= devel/gettext
  15. WANTLIB= c db gmp m ncurses
  16. AUTOCONF_VERSION= 2.59
  17. CONFIGURE_STYLE=autoconf
  18. CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
  19. CFLAGS="-I${LOCALBASE}/include" \
  20. CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/db4"
  21. # Do not pick up kpathsea/getopt.h from print/texlive/base
  22. CONFIGURE_ENV+= ac_cv_header_kpathsea_getopt_h=no
  23. .include <bsd.port.mk>