2004-05-29 19:13:44 +02:00
|
|
|
# New ports collection makefile for: m17n-db
|
|
|
|
# Date created: 29 May 2004
|
|
|
|
# Whom: Kimura Fuyuki <fuyuki@hadaly.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= m17n-db
|
2007-07-07 03:57:25 +02:00
|
|
|
PORTVERSION= 1.3.4
|
2004-05-29 19:13:44 +02:00
|
|
|
CATEGORIES= devel
|
2006-09-03 04:13:38 +02:00
|
|
|
MASTER_SITES= http://www.m17n.org/m17n-lib-download/:m17n \
|
2004-05-29 19:13:44 +02:00
|
|
|
${MASTER_SITE_GNU:S/$/:glibc/}
|
|
|
|
MASTER_SITE_SUBDIR= glibc/:glibc
|
|
|
|
DISTFILES= ${M17N_DISTFILE}:m17n \
|
|
|
|
${GLIBC_DISTFILE}:glibc
|
|
|
|
EXTRACT_ONLY= ${M17N_DISTFILE}
|
|
|
|
|
2004-10-21 09:50:49 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-05-29 19:13:44 +02:00
|
|
|
COMMENT= Data files for the m17n library
|
|
|
|
|
2007-07-07 03:57:25 +02:00
|
|
|
USE_GNOME= gnometarget pkgconfig
|
2005-03-03 13:50:40 +01:00
|
|
|
USE_GMAKE= yes
|
2004-05-29 19:13:44 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-charmaps=${CHARMAPSDIR}
|
|
|
|
|
2007-07-07 03:57:25 +02:00
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2004-05-29 19:13:44 +02:00
|
|
|
M17N_DISTFILE= ${DISTNAME}${EXTRACT_SUFX}
|
2006-01-08 01:33:17 +01:00
|
|
|
GLIBC_VERSION= 2.3.6
|
2004-05-29 19:13:44 +02:00
|
|
|
GLIBC_DISTFILE= glibc-${GLIBC_VERSION}.tar.bz2
|
|
|
|
CHARMAPSDIR= glibc-${GLIBC_VERSION}/localedata/charmaps
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
cd ${WRKSRC}; ${TAR} xjf ${DISTDIR}/${GLIBC_DISTFILE} ${CHARMAPSDIR}
|
|
|
|
|
2006-09-03 14:27:49 +02:00
|
|
|
post-patch:
|
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|$${libdir}/pkgconfig|$${prefix}/libdata/pkgconfig|g'
|
|
|
|
|
2004-05-29 19:13:44 +02:00
|
|
|
.include <bsd.port.mk>
|