pkgsrc-wip/opencobol/Makefile
2011-02-16 11:39:22 +00:00

39 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2011/02/16 11:39:22 rodo6510 Exp $
#
DISTNAME= open-cobol-1.1
CATEGORIES= wip
MASTER_SITES= http://www.sim-basis.de/
MAINTAINER= rodo@zlug.org
HOMEPAGE= http://www.sim-basis.de/
COMMENT= Open-source COBOL compiler
PKG_DESTDIR_SUPPORT= user-destdir
BDB_ACCEPTED= db4 db5
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= msgfmt
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-db
CONFIGURE_ARGS+= --with-lfs
CONFIGURE_ARGS+= --without-readline
INFO_FILES= yes
TEST_TARGET= check
SUBST_CLASSES+= bdb
SUBST_MESSAGE.bdb= Fixing bdb library names.
SUBST_STAGE.bdb= pre-configure
SUBST_FILES.bdb= configure
SUBST_SED.bdb= -e 's,db-4.5,db5,g'
SUBST_SED.bdb+= -e 's,db-4.4,db4,g'
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/gmp/buildlink3.mk"
.include "../../devel/libltdl/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bdb.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"