1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00
freebsd-ports/devel/schilybase/Makefile
Robert Clausecker 965979bfb0 devel/schilybase: Fix umlauts in locale C.UTF-8
PR:             257905
Reported by:    bugzeo <kiboto6933@eyeremind.com>
MFH:            2022Q1
2022-02-14 08:46:55 +01:00

65 lines
1.5 KiB
Makefile

PORTNAME= schilybase
CATEGORIES= devel
COMMENT= Support files and libraries for the schilytools
NLS_USES= gettext-tools
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS NLS PROFILE
OPTIONS_DEFAULT=DOCS NLS
OPTIONS_SUB= yes
# do not reorder: order required for build to succeed
BOOTSTRAP_SMAKE?= yes
COMPONENTS= conf \
inc \
include \
include/schily \
libschily \
libdeflt \
libscg \
libscg/scg \
libxtermcap \
libcdrdeflt \
libdbgmalloc \
libedc \
libfile \
libfind \
libgetopt \
libhfs_iso \
libmdigest \
libparanoia \
librmt \
librscg \
libscgcmd \
libshedit \
libsiconv \
libsiconv/tables \
libstreamar \
man \
man/man4
post-build-NLS-on:
${SETENV} LC_ALL=de_DE.ISO8859-1 msgfmt -o ${WRKDIR}/SCHILY_utils.mo ${WRKSRC}/SCHILY_utils.po
# all languages supported by FreeBSD
_LANGUAGES= C af am ar be bg ca cs da de el en es et eu fi fr ga he hi hr \
hu hy is it ja kk ko lt lv mn nb nl nn pl pt ro ru se sk sl sr \
sv tr uk zh
post-install-NLS-on:
@${ECHO_MSG} '=> installing dummy message catalogues'
${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/de/LC_MESSAGES
${INSTALL_DATA} ${WRKDIR}/SCHILY_utils.mo ${STAGEDIR}${PREFIX}/share/locale/de/LC_MESSAGES/SCHILY_utils.mo
.for lang in ${_LANGUAGES:Nde}
${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES
${LN} ${STAGEDIR}${PREFIX}/share/locale/de/LC_MESSAGES/SCHILY_utils.mo \
${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/SCHILY_utils.mo
.endfor
post-install-PROFILE-off:
${RM} -r ${STAGEDIR}${PREFIX}/lib/profiled
.include "Makefile.master"