mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-06 01:57:40 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
48 lines
1.2 KiB
Makefile
48 lines
1.2 KiB
Makefile
# New ports collection makefile for: m17n-db
|
|
# Date created: 29 May 2004
|
|
# Whom: Kimura Fuyuki <fuyuki@hadaly.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= m17n-db
|
|
PORTVERSION= 1.5.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.m17n.org/m17n-lib-download/:m17n \
|
|
${MASTER_SITE_GNU:S/$/:glibc/}
|
|
MASTER_SITE_SUBDIR= glibc/:glibc
|
|
DISTFILES= ${M17N_DISTFILE}:m17n \
|
|
${GLIBC_DISTFILE}:glibc
|
|
EXTRACT_ONLY= ${M17N_DISTFILE}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Data files for the m17n library
|
|
|
|
USE_GNOME= gnometarget pkgconfig
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-charmaps=${CHARMAPSDIR}
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
USE_GETTEXT= yes
|
|
PLIST_SUB+= NLS=""
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
PLIST_SUB+= NLS="@comment "
|
|
.endif
|
|
|
|
M17N_DISTFILE= ${DISTNAME}${EXTRACT_SUFX}
|
|
GLIBC_VERSION= 2.3.6
|
|
GLIBC_DISTFILE= glibc-${GLIBC_VERSION}.tar.bz2
|
|
CHARMAPSDIR= glibc-${GLIBC_VERSION}/localedata/charmaps
|
|
|
|
post-extract:
|
|
cd ${WRKSRC}; ${TAR} xjf ${DISTDIR}/${GLIBC_DISTFILE} ${CHARMAPSDIR}
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's|$${datadir}/pkgconfig|$${prefix}/libdata/pkgconfig|g'
|
|
|
|
.include <bsd.port.mk>
|