openbsd-ports/lang/open-cobol/Makefile
2012-06-22 16:38:21 +00:00

35 lines
765 B
Makefile

# $OpenBSD: Makefile,v 1.14 2012/06/22 16:38:21 jasper Exp $
COMMENT= open source COBOL compiler
DISTNAME= open-cobol-1.1
SHARED_LIBS += cob 3.0 # .2.0
CATEGORIES= lang
HOMEPAGE= http://www.opencobol.org/
# compiler: GPL
# run-time library: LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=open-cobol/}
LIB_DEPENDS= databases/db/v4 \
devel/gmp
MODULES= devel/gettext
USE_LIBTOOL= Yes
WANTLIB= c db gmp m ncurses
AUTOCONF_VERSION= 2.59
CONFIGURE_STYLE=autoconf
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CFLAGS="-I${LOCALBASE}/include" \
CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/db4"
.include <bsd.port.mk>