blob: 35b2985e8bcb6d6c0ebf29869d40056c378ae951 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# $NetBSD: Makefile,v 1.22 2011/04/22 13:43:59 obache Exp $
DISTNAME= open-cobol-1.0
PKGNAME= opencobol-1.0
PKGREVISION= 2
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=open-cobol/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.opencobol.org/
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"
|