pkgsrc/lang/opensource-cobol/Makefile
2013-05-26 04:15:40 +00:00

42 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.2 2013/05/26 04:15:40 ryoon Exp $
DISTNAME= opensource-cobol-1.3J-utf8
PKGNAME= ${DISTNAME:S/-utf8//}
CATEGORIES= lang
MASTER_SITES= -http://www.osscons.jp/osscobol/files/?action=cabinet_action_main_download&block_id=412&room_id=21&cabinet_id=11&file_id=154&upload_id=304
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= http://www.osscons.jp/osscobol/
COMMENT= UTF-8 version of opensource COBOL, OpenCOBOL with Japanese extensions
LICENSE= gnu-gpl-v2
CONFLICTS= opencobol-[0-9]* open-cobol-ce-[0-9]*
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
BDB_ACCEPTED= db4
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
TEST_TARGET= check
#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'
INFO_FILES= yes
.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"