mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
6e9407708f
(only ja-linux-netscape is back to sada-san) My short vacation finished and I have no longer enough time to keep maintaining my ports. - Move some local-distfiles from my site to asami-san's. - Some cosmetic changes around removing kde*-i18n ports.
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
# New ports collection makefile for: ja-linux_locale
|
|
# Date created: March 20 2000
|
|
# Whom: imura@af.airnet.ne.jp
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= linux_locale
|
|
PORTVERSION= ${VERSION}.0
|
|
CATEGORIES= japanese emulators linux
|
|
MASTER_SITES= ftp://ftp.debian.org/debian/dists/woody/main/source/admin/
|
|
DISTNAME= locale-ja_${VERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
BUILD_DEPENDS= ${LCDEF_CMD}:${PORTSDIR}/emulators/linux_base
|
|
|
|
USE_LINUX_PREFIX= yes
|
|
WRKSRC= ${WRKDIR}/locale-ja-${VERSION}
|
|
PLIST_SUB= VER=${VERSION}
|
|
|
|
VERSION= 18
|
|
SRCDEF= ${WRKSRC}/ja_JP
|
|
CHARMAPS= ${WRKSRC}/charmaps/EUC-JP
|
|
REPERTOIRE_MAP= ${LINUXBASE}/usr/share/i18n/repertoiremaps/charids.894
|
|
LCDEF_CMD= ${LINUXBASE}/usr/bin/localedef
|
|
LCDEF_ARGS= --repertoire-map=${REPERTOIRE_MAP} \
|
|
-c -f ${CHARMAPS} -i ${SRCDEF}
|
|
LCDIR= ${PREFIX}/usr/share/locale/ja_JP
|
|
COMPAT_LC= ${PREFIX}/usr/share/locale/ja_JP.EUC
|
|
DOCDIR= ${PREFIX}/usr/doc/locale-ja-${VERSION}
|
|
|
|
do-build:
|
|
${MKDIR} ${WRKDIR}/LC_MESSAGES
|
|
${LCDEF_CMD} ${LCDEF_ARGS} ${WRKDIR}
|
|
|
|
do-install:
|
|
${MKDIR} ${LCDIR}/LC_MESSAGES
|
|
.for LC in COLLATE CTYPE MONETARY NUMERIC TIME
|
|
${INSTALL_DATA} ${WRKDIR}/LC_${LC} ${LCDIR}
|
|
.endfor
|
|
${INSTALL_DATA} ${WRKDIR}/LC_MESSAGES/SYS_LC_MESSAGES ${LCDIR}/LC_MESSAGES
|
|
${LN} -sf ja_JP ${COMPAT_LC}
|
|
${MKDIR} ${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/debian/* ${DOCDIR}
|
|
|
|
.include <bsd.port.mk>
|