blob: 9bf67191510c0068690cded6fa6f83b45eb24885 (
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
40
41
|
# $NetBSD: Makefile,v 1.13 2006/12/11 12:53:02 obache Exp $
#
DISTNAME= open-cobol-0.23
PKGNAME= ${DISTNAME:S/-//}
PKGREVISION= 4
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=open-cobol/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.opencobol.org/
COMMENT= Open-source COBOL compiler
GNU_CONFIGURE= yes
USE_TOOLS+= msgfmt
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
INFO_FILES= # PLIST
INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR:Q}
TEST_TARGET= check
CONFIGURE_ARGS+= --without-readline
CONFIGURE_ARGS+= --with-lfs
CONFIGURE_ENV+= NCURSES_LIB=${BUILDLINK_LDADD.ncurses:Q}
EGDIR= ${PREFIX}/share/examples/open-cobol
CONF_FILES= ${EGDIR}/libconf.conf ${PKG_SYSCONFDIR}/libconf.conf
# XXX: followings can be removed when update to 0.33.
SUBST_CLASSES+= fixchkgmp
SUBST_STAGE.fixchkgmp= pre-configure
SUBST_FILES.fixchkgmp= configure
SUBST_SED.fixchkgmp= -e 's|__gmp_rand|__gmp_randinit|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"
|