summaryrefslogtreecommitdiff
path: root/lang/open-cobol-ce/Makefile
blob: 56df5cd3b021029c2d83be5eae408c097efeff08 (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
# $NetBSD: Makefile,v 1.1 2013/05/26 04:13:05 ryoon Exp $

DISTNAME=	open-cobol-ce-1.1.r59
PKGNAME=	${DISTNAME:S/.r/./}
CATEGORIES=	lang
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=open-cobol/}

MAINTAINER=	ryoon@NetBSD.org
HOMEPAGE=	http://sourceforge.net/projects/open-cobol/
COMMENT=	OpenCOBOL CE compiler
LICENSE=	gnu-gpl-v2

CONFLICTS=		opencobol-[0-9]* opensource-cobol-[0-9]*

BDB_ACCEPTED=		db4

WRKSRC=			${WRKDIR}/open-cobol-ce-1.1
GNU_CONFIGURE=		yes
USE_LIBTOOL=		yes
USE_PKGLOCALEDIR=	yes

#BUILDLINK_TRANSFORM+=	l:db:db4

# XXX This SUBST will work for NetBSD. Be more intelligent.
SUBST_CLASSES+=		bdb
SUBST_MESSAGE.bdb=	Fixing runrime error.
SUBST_STAGE.bdb=	pre-configure
SUBST_FILES.bdb=	configure
SUBST_SED.bdb=		-e 's,db-4.4,db4,g'
#SUBST_SED.bdb+=		-e 's,ncurses,curses,g'

TEST_TARGET=		check

INFO_FILES=		yes

.include "../../devel/libgetopt/buildlink3.mk"
.include "../../devel/gmp/buildlink3.mk"
.include "../../mk/bdb.buildlink3.mk"
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"