blob: ac6139f5da4ba02241fe880b052e42da95e71307 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
PORTNAME= schilybase
PORTREVISION= 1
CATEGORIES= devel
COMMENT= Support files and libraries for the schilytools
NLS_USES= gettext-tools
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS MANPAGES 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 \
man \
man/man5
post-patch-PROFILE-off:
@${ECHO_MSG} '=> Patching Makefiles to disable profiled libraries'
@${REINPLACE_CMD} -e '/^MK_FILES/s, [a-z]*_p.mk,,' ${WRKSRC}/*/Makefile
post-build-NLS-on:
msgfmt --no-convert -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:
# this is just a copy of the FreeBSD termcap file, no need to ship it again.
${RM} ${STAGEDIR}${PREFIX}/etc/termcap
# this one goes to archivers/star
${RM} ${STAGEDIR}${PREFIX}/include/schily/strar.h
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
.include "Makefile.master"
|