2009-03-16 07:40:24 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2009/03/16 11:40:24 espie Exp $
|
2005-04-26 23:32:15 -04:00
|
|
|
|
2007-09-15 20:27:05 -04:00
|
|
|
COMMENT= open source COBOL compiler
|
2005-04-26 23:32:15 -04:00
|
|
|
|
2008-10-24 12:36:56 -04:00
|
|
|
DISTNAME= open-cobol-1.0
|
2009-03-16 07:40:24 -04:00
|
|
|
PKGNAME = ${DISTNAME}p0
|
2008-10-24 12:36:56 -04:00
|
|
|
SHARED_LIBS += cob 3.0 # .2.0
|
2005-04-26 23:32:15 -04:00
|
|
|
CATEGORIES= lang
|
|
|
|
|
2008-10-24 12:36:56 -04:00
|
|
|
HOMEPAGE= http://www.opencobol.org/
|
2005-04-26 23:32:15 -04:00
|
|
|
|
2008-10-24 12:36:56 -04:00
|
|
|
# compiler: GPL
|
|
|
|
# run-time library: LGPL
|
2005-04-26 23:32:15 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2006-01-02 16:49:23 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=open-cobol/}
|
|
|
|
|
2009-03-16 07:40:24 -04:00
|
|
|
LIB_DEPENDS= db:db->=4,<5:databases/db/v4 \
|
2006-08-03 09:09:09 -04:00
|
|
|
gmp.>=6::devel/gmp
|
2005-04-26 23:32:15 -04:00
|
|
|
|
2006-11-04 07:52:06 -05:00
|
|
|
MODULES= devel/gettext
|
2006-01-02 16:49:23 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2005-04-26 23:32:15 -04:00
|
|
|
|
|
|
|
WANTLIB= c m ncurses
|
|
|
|
|
2006-11-04 07:52:06 -05:00
|
|
|
AUTOCONF_VERSION= 2.59
|
|
|
|
CONFIGURE_STYLE=gnu autoconf
|
2005-04-26 23:32:15 -04:00
|
|
|
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
CFLAGS="-I${LOCALBASE}/include" \
|
2008-10-24 12:36:56 -04:00
|
|
|
CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/db4"
|
2005-04-26 23:32:15 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|