# $NetBSD: Makefile,v 1.3 2014/03/16 04:52:42 ryoon Exp $ DISTNAME= opensource-cobol-1.3.2J-utf8 PKGNAME= ${DISTNAME:S/-utf8//} CATEGORIES= lang MASTER_SITES= -http://www.osscons.jp/osscobol/files/?action=cabinet_action_main_download&block_id=414&room_id=21&cabinet_id=11&file_id=193&upload_id=388 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 CONFIGURE_ARGS+= --enable-utf8 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"