41 lines
1.4 KiB
Bash
41 lines
1.4 KiB
Bash
#!/bin/sh
|
|
|
|
echo "# Configuration at ${HOSTNAME}" > ${WRKSRC}/config.param
|
|
echo ftppass_hostnamegen=y >> ${WRKSRC}/config.param
|
|
echo use_nntp=y >> ${WRKSRC}/config.param
|
|
echo use_ansi_color=y >> ${WRKSRC}/config.param
|
|
echo dmodel=5 >> ${WRKSRC}/config.param
|
|
echo use_ssl_verify=y >> ${WRKSRC}/config.param
|
|
echo ded=/usr/bin/vi >> ${WRKSRC}/config.param
|
|
echo dmail=/usr/bin/mail >> ${WRKSRC}/config.param
|
|
echo dbrowser=${LOCALBASE}/bin/netscape >> ${WRKSRC}/config.param
|
|
echo dcc=${CC} >> ${WRKSRC}/config.param
|
|
echo emacs_like_lineedit=y >> ${WRKSRC}/config.param
|
|
echo use_bundled_gclib=n >> ${WRKSRC}/config.param
|
|
|
|
if [ -n "${USE_OPENSSL}" ] ; then
|
|
echo dcflags="\"${SSL_CFLAGS} -I${LOCALBASE}/include\"" >> ${WRKSRC}/config.param
|
|
echo dldflags="\"${SSL_LIBS} ${EXTRA_SSL_LIBS} -L${LOCALBASE}/lib\"" >> ${WRKSRC}/config.param
|
|
else
|
|
echo dcflags=-I${LOCALBASE}/include >> ${WRKSRC}/config.param
|
|
echo dldflags=-L${LOCALBASE}/lib >> ${WRKSRC}/config.param
|
|
fi
|
|
|
|
if [ -n "${JAPANESE}" ] ; then
|
|
echo lang=JA >> ${WRKSRC}/config.param
|
|
echo use_migemo=y >> ${WRKSRC}/config.param
|
|
else
|
|
echo lang=EN >> ${WRKSRC}/config.param
|
|
echo use_migemo=n >> ${WRKSRC}/config.param
|
|
fi
|
|
|
|
if [ -n "${INLINE_IMAGE}" ] ; then
|
|
echo use_image=y >> ${WRKSRC}/config.param
|
|
echo use_w3mimg_x11=y >> ${WRKSRC}/config.param
|
|
fi
|
|
|
|
if [ -n "${M17N}" ] ; then
|
|
echo charset=UTF-8 >> ${WRKSRC}/config.param
|
|
else
|
|
echo display_code=E >> ${WRKSRC}/config.param
|
|
fi
|