blob: 0ccdb2bb33edd1729d75c413cafbedc1b74a1876 (
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.2 2015/08/18 07:31:10 wiz Exp $
DISTNAME= open-cobol-ce-1.1.r59
PKGNAME= ${DISTNAME:S/.r/./}
PKGREVISION= 1
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"
|