2012-10-08 11:57:15 +02:00
|
|
|
# $NetBSD: Makefile,v 1.16 2012/10/08 09:57:30 asau Exp $
|
2008-02-27 14:45:47 +01:00
|
|
|
#
|
|
|
|
|
2010-10-16 14:53:11 +02:00
|
|
|
DISTNAME= m17n-db-1.6.2
|
2011-04-22 15:41:54 +02:00
|
|
|
PKGREVISION= 1
|
2008-02-27 14:45:47 +01:00
|
|
|
CATEGORIES= misc
|
|
|
|
MASTER_SITES= http://www.m17n.org/m17n-lib-download/
|
|
|
|
|
|
|
|
MAINTAINER= obache@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.m17n.org/m17n-lib-en/index.html
|
|
|
|
COMMENT= The m17n database used by the m17n library
|
2009-05-12 10:16:03 +02:00
|
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
|
2008-02-27 14:45:47 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2008-03-15 15:25:25 +01:00
|
|
|
USE_TOOLS+= gmake msgfmt pkg-config
|
2008-02-27 14:45:47 +01:00
|
|
|
USE_PKGLOCALEDIR= yes
|
2008-05-24 08:14:00 +02:00
|
|
|
USE_LANGUAGES= c
|
2008-02-27 14:45:47 +01:00
|
|
|
|
|
|
|
PKGCONFIG_OVERRIDE+= m17n-db.pc.in
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2008-09-23 03:44:07 +02:00
|
|
|
#XXX: FS size of one-true-awk 20070501 is limited to 10. Use gawk instead.
|
|
|
|
.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M4.99*) || \
|
|
|
|
${OPSYS} == "DragonFly" && (!empty(OS_VERSION:M1.1[0-9]*) || !empty(OS_VERSION:M2.*))
|
2008-09-18 18:58:01 +02:00
|
|
|
USE_TOOLS+= gawk
|
|
|
|
.endif
|
|
|
|
|
2008-02-27 14:45:47 +01:00
|
|
|
.if ${OPSYS} != "Linux"
|
|
|
|
GLIBC= glibc-2.3.6
|
|
|
|
DISTFILES= ${DEFAULT_DISTFILES} ${GLIBC}.tar.gz
|
|
|
|
SITES.${GLIBC}.tar.gz= ${MASTER_SITE_GNU:=glibc/}
|
|
|
|
CONFIGURE_ARGS+= --with-charmaps=${WRKDIR}/${GLIBC}/localedata/charmaps
|
|
|
|
.endif
|
|
|
|
|
2008-03-15 15:25:25 +01:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
2008-02-27 14:45:47 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|