1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

New port:

ELM with Korean extension.

PR:	3332
Submitted by:	Choi Jun Ho <junker@jazz.snu.ac.kr>
This commit is contained in:
Masafumi Max NAKANE 1997-04-26 21:31:49 +00:00
parent 31b9dcc707
commit a28363ada2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=6307
11 changed files with 544 additions and 0 deletions

29
korean/elm/Makefile Normal file
View File

@ -0,0 +1,29 @@
# New ports collection makefile for: elm-2.4h4.1
# Version required: 2.4pl25.h4.1
# Date created: 1 Apr 1997
# Whom: Choi Jun Ho <junker@jazz.snu.ac.kr>
#
# $Id$
#
DISTNAME= elm2.4h4.1
PKGNAME= kr-elm-2.4h4.1
CATEGORIES= korean mail
MASTER_SITES= ftp://ftp.kaist.ac.kr/pub/hangul/mail/Others/ \
ftp://sunsite.kren.nm.kr/pub/packages/hangul/mail/Others/
MAINTAINER= junker@jazz.snu.ac.kr
MAN1= answer.1 checkalias.1 elm.1 elmalias.1 fastmail.1 filter.1\
frm.1 listalias.1 messages.1 newalias.1 printmail.1 readmsg.1\
newmail.1
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= elm-config
CONFIGURE_ENV+= PREFIX="${PREFIX}"
post-install:
ln -fs ${PREFIX}/man/man1/newmail.1.gz ${PREFIX}/man/man1/wnewmail.1.gz
ln -fs ${PREFIX}/man/man1/frm.1.gz ${PREFIX}/man/man1/nfrm.1.gz
.include <bsd.port.mk>

1
korean/elm/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (elm2.4h4.1.tar.gz) = f4a39af65dd2b4ac1090f617f7b4b0dc

View File

@ -0,0 +1,47 @@
#!/bin/sh
# tail part of configure
#
# by junker@jazz.snu.ac.kr
#
PortsDir=$PORTSDIR
CurDir=$CURDIR
WrkSrc=$WRKSRC
Prefix=$PREFIX
echo "prefix is $PREFIX"
# read configuration
. ./config.sh
echo " "
echo "Doing variable substitutions on .SH files..."
set x `awk '{print $1}' <MANIFEST | $grep '\.SH'`
shift
case $# in
0) set x *.SH; shift;;
esac
if test ! -f $1; then
shift
fi
for file in $*; do
case "$file" in
*/*)
dir=`$expr X$file : 'X\(.*\)/'`
file=`$expr X$file : 'X.*/\(.*\)'`
(cd $dir && . $file)
;;
*)
(. $file)
;;
esac
done
if test -f config.h.SH; then
if test ! -f config.h; then
: oops, they left it out of MANIFEST, probably, so do it anyway.
(. config.h.SH)
fi
fi
#make depend

34
korean/elm/files/patch-aa Normal file
View File

@ -0,0 +1,34 @@
*** nls/Makefile.old Tue Apr 1 22:31:44 1997
--- nls/Makefile Tue Apr 1 22:32:15 1997
***************
*** 1,6 ****
LANGFILE=LANGS
CATNAME=elm2.4.cat
! GENCAT= nls/gencat
HDIR= ../hdrs
SDIR= C/C/C
--- 1,6 ----
LANGFILE=LANGS
CATNAME=elm2.4.cat
! GENCAT= gencat
HDIR= ../hdrs
SDIR= C/C/C
***************
*** 39,45 ****
./Install $(LANGFILE) $(GENCAT) $(CATNAME)
$(HFILES): $(MFILES)
! gencat/gencat $(MSGCAT) "$(SDIR)/`basename $@ .h`".m -h $@
clean: FRC
/bin/rm -f $(MSGCAT)
--- 39,45 ----
./Install $(LANGFILE) $(GENCAT) $(CATNAME)
$(HFILES): $(MFILES)
! $(GENCAT) $(MSGCAT) "$(SDIR)/`basename $@ .h`".m -h $@
clean: FRC
/bin/rm -f $(MSGCAT)

15
korean/elm/files/patch-ab Normal file
View File

@ -0,0 +1,15 @@
*** nls/LANGS.old Sun Jun 28 04:32:25 1992
--- nls/LANGS Fri Jul 28 06:48:31 1995
***************
*** 1,5 ****
# LANGS file
! C/C/C /usr/local/nls/msg/C
! english/us/ascii /usr/local/nls/msg/english
! french/canada/8859 /usr/local/nls/msg/french
--- 1,5 ----
# LANGS file
! C/C/C /usr/local/share/nls/C
! english/us/ascii /usr/local/share/nls/en_US.ISO_8859-1
! french/canada/8859 /usr/local/share/nls/fr_FR.ISO_8859-1

53
korean/elm/files/patch-ac Normal file
View File

@ -0,0 +1,53 @@
*** doc/Makefile.SH.orig Fri Mar 11 02:20:29 1994
--- doc/Makefile.SH Sun Apr 27 05:54:24 1997
***************
*** 207,213 ****
install: $(LIB_LIST)
@if $(TEST) '$(MAN)' != none; then $(MAKE) install_man ; else true ; fi
! @if $(TEST) '$(CATMAN)' != none; then $(MAKE) install_catman ; else true ; fi
install_man: $(MAN_LIST) $(MAN)/wnewmail$(MANEXT)
--- 207,213 ----
install: $(LIB_LIST)
@if $(TEST) '$(MAN)' != none; then $(MAKE) install_man ; else true ; fi
! # @if $(TEST) '$(CATMAN)' != none; then $(MAKE) install_catman ; else true ; fi
install_man: $(MAN_LIST) $(MAN)/wnewmail$(MANEXT)
***************
*** 234,240 ****
$(RM) $(MAN)/newmail$(MANEXT) $(MAN)/wnewmail$(MANEXT)
$(CP) $(REMOTE_MAN_LIST) $(MAN)
$(CHMOD) u=rw,go=r $(MAN_LIST)
! $(LN) $(MAN)/newmail$(MANEXT) $(MAN)/wnewmail$(MANEXT)
$(CP) $(REMOTE_LIB_LIST) $(LIB)
$(CHMOD) u=rw,go=r $(LIB_LIST)
--- 234,240 ----
$(RM) $(MAN)/newmail$(MANEXT) $(MAN)/wnewmail$(MANEXT)
$(CP) $(REMOTE_MAN_LIST) $(MAN)
$(CHMOD) u=rw,go=r $(MAN_LIST)
! # $(LN) $(MAN)/newmail$(MANEXT) $(MAN)/wnewmail$(MANEXT)
$(CP) $(REMOTE_LIB_LIST) $(LIB)
$(CHMOD) u=rw,go=r $(LIB_LIST)
***************
*** 304,310 ****
$(MAN)/wnewmail$(MANEXT): $(MAN)/newmail$(MANEXT)
$(RM) $@
! $(LN) $? $@
$(LIB)/elm-help.0: elm-help.0
$(CP) $? $@
--- 304,310 ----
$(MAN)/wnewmail$(MANEXT): $(MAN)/newmail$(MANEXT)
$(RM) $@
! # $(LN) $? $@
$(LIB)/elm-help.0: elm-help.0
$(CP) $? $@

19
korean/elm/files/patch-ad Normal file
View File

@ -0,0 +1,19 @@
*** utils/Makefile.SH.orig Fri Mar 11 02:20:29 1994
--- utils/Makefile.SH Sun Apr 27 06:05:04 1997
***************
*** 67,73 ****
LIB2 = $libs
LIBS = $termlib $dbm
LINT = $lint
! LN = $ln
MAKE = $make
MV = $mv
OPTIMIZE = $optimize
--- 67,73 ----
LIB2 = $libs
LIBS = $termlib $dbm
LINT = $lint
! LN = $ln -fs
MAKE = $make
MV = $mv
OPTIMIZE = $optimize

1
korean/elm/pkg-comment Normal file
View File

@ -0,0 +1 @@
ELM Mail User Agent, patched for Korean E-Mail

8
korean/elm/pkg-descr Normal file
View File

@ -0,0 +1,8 @@
elm-2.4h4.1
---------------
Elm is an interactive screen-oriented mailer program that supersedes mail
and mailx. This version of elm is patched for Korean E-Mail transfer.
--
Port by Choi Jun Ho <junker@jazz.snu.ac.kr>

36
korean/elm/pkg-plist Normal file
View File

@ -0,0 +1,36 @@
bin/elm
bin/answer
bin/checkalias
bin/filter
bin/elmalias
bin/fastmail
bin/frm
bin/nfrm
bin/listalias
bin/messages
bin/newalias
bin/newmail
bin/wnewmail
bin/printmail
bin/readmsg
lib/prlong
lib/elmrc-info
lib/elm-help.0
lib/elm-help.1
lib/elm-help.2
lib/elm-help.3
man/man1/answer.1.gz
man/man1/checkalias.1.gz
man/man1/elm.1.gz
man/man1/elmalias.1.gz
man/man1/fastmail.1.gz
man/man1/filter.1.gz
man/man1/frm.1.gz
man/man1/nfrm.1.gz
man/man1/listalias.1.gz
man/man1/messages.1.gz
man/man1/newalias.1.gz
man/man1/newmail.1.gz
man/man1/wnewmail.1.gz
man/man1/printmail.1.gz
man/man1/readmsg.1.gz

View File

@ -0,0 +1,301 @@
#!/bin/sh -
#
# pre-configure script for Elm port to FreeBSD 2.0
#
# original from elm-2.4pl25ME+ patch
# adopted to elm-2.4h4 by Choi Jun Ho <junker@jazz.snu.ac.kr>
PortsDir=$PORTSDIR
CurDir=$CURDIR
WrkSrc=$WRKSRC
cp $FILESDIR/elm-config ${WrkSrc}/
cat > ${WrkSrc}/config.sh << 'EOF'
#!/bin/sh
# config.sh
# This file was produced by running the Configure script.
Log='$Log'
Header='$Header'
bin="${PREFIX}/bin"
contains='grep'
cppstdin='/usr/bin/cpp'
cppminus=''
d_getopt='define'
d_memcpy='define'
d_mkdir='define'
d_rename='define'
d_symlink='define'
d_whoami='undef'
n='-n'
c=''
orderlib='false'
ranlib='/usr/bin/ranlib'
package='elm2'
pager='builtin+'
prefshell='/bin/csh'
startsh='#!/bin/sh'
d_eunice='undef'
define='define'
eunicefix=':'
loclist='
cat
chgrp
chmod
cp
echo
expr
grep
ln
ls
make
mv
rm
sed
sleep
touch
tr
'
expr='/bin/expr'
sed='/usr/bin/sed'
echo='/bin/echo'
cat='/bin/cat'
rm='/bin/rm'
mv='/bin/mv'
cp='/bin/cp'
tail=''
tr='/usr/bin/tr'
mkdir=''
sort=''
uniq=''
grep='/usr/bin/grep'
trylist='
Mcc
compress
cpp
date
emacs
execmail
ispell
line
lint
lp
lpr
mailx
mips
more
nroff
pack
pg
pmake
pr
rmail
sendmail
shar
smail
submit
tar
tbl
test
troff
uname
uuname
vi
'
test='/bin/test'
inews=''
ispell="${PREFIX}/bin/ispell"
egrep=''
more='/usr/bin/more'
pg='pg'
Mcc='Mcc'
vi='/usr/bin/vi'
mailx='mailx'
mail=''
cpp='/usr/bin/cpp'
perl=''
emacs='emacs'
ls='/bin/ls'
rmail='/bin/rmail'
sendmail='/usr/sbin/sendmail'
shar='/usr/bin/shar'
smail='smail'
submit=''
tbl='/usr/bin/tbl'
troff='/usr/bin/troff'
nroff='/usr/bin/nroff'
uname='/usr/bin/uname'
uuname='/usr/bin/uuname'
line='line'
chgrp='/usr/bin/chgrp'
chmod='/bin/chmod'
lint='/usr/bin/lint'
sleep='/bin/sleep'
pr='/usr/bin/pr'
tar='/usr/bin/tar'
ln='/bin/ln'
lpr='/usr/bin/lpr'
lp='/usr/bin/lp'
touch='/usr/bin/touch'
make='/usr/bin/make'
date='/bin/date'
csh=''
pmake='pmake'
mips='false'
col=''
pack='pack'
compress='/usr/bin/compress'
execmail=''
libswanted='intl nls'
c_date='1997³â 4¿ù 1ÀÏ È­ ¿äÀÏ 22½Ã 00ºÐ 41ÃÊ KST'
d_ascii='undef'
d_broke_ctype='undef'
d_calendar='undef'
calendar=''
d_chown_neg1='define'
d_content='undef'
d_crypt='define'
cryptlib='/usr/lib/libcrypt.a'
d_cuserid='undef'
d_disphost='undef'
d_domname='define'
d_usegetdom='undef'
d_errlst='define'
d_flock='define'
d_dotlock='undef'
d_fcntlock='undef'
lock_dir='/var/spool/uucp'
has_flock='define'
has_fcntl='define'
d_ftruncate='define'
d_gethname='define'
d_douname='undef'
d_host_comp='undef'
ign_hname='n'
d_havetlib='define'
termlib='-ltermlib'
d_index='undef'
d_internet='define'
d_ispell='define'
ispell_path="${PREFIX}/bin/ispell"
ispell_options=''
d_locale='define'
d_nl_types='define'
d_msgcat='define'
d_usenls='undef'
d_mallocvoid='define'
d_mboxedit='undef'
d_mime='define'
defencoding='8bit'
defcharset='EUC-KR'
defdispcharset='EUC-KR'
d_mmdf='undef'
d_newauto='define'
d_noaddfrom='define'
d_usedomain='undef'
d_noxheader='undef'
d_pidcheck='define'
d_ptem='undef'
d_putenv='define'
d_remlock='undef'
maxattempts='6'
d_setgid='define'
d_savegrpmboxid='define'
mailermode='2755'
d_sigvec='undef'
d_sigvectr='undef'
d_sigset='undef'
d_sighold='undef'
d_sigprocmask='define'
d_sigblock='undef'
d_sigaction='define'
d_strcspn='define'
d_strspn='define'
d_strpbrk='define'
d_strerror='define'
d_strftime='define'
d_strings='undef'
d_pwdinsys='undef'
strings='/usr/include/string.h'
includepath=''
d_strstr='define'
d_strtok='define'
d_subshell='define'
d_tempnam='define'
tempnamo=''
tempnamc=''
d_termio='undef'
d_termios='define'
d_useembed='define'
d_utimbuf='define'
d_vfork='define'
defbatsub='no subject (file transmission)'
defeditor='/usr/bin/vi'
editoropts=''
hostname=${Hostname}
phostname='hostname'
mydomain=${Domain}
autohostname='define'
i_memory='define'
i_stdarg='define'
i_stdlib='define'
i_time='define'
i_systime='define'
d_systimekernel='undef'
i_unistd='define'
i_utime='define'
i_sysutime='undef'
lib="${PREFIX}/lib"
libc='/usr/lib/libc.so.3.0'
linepr='/usr/bin/lp'
maildir='/var/mail'
mailer='/usr/sbin/sendmail'
mailgrp='bin'
mansrc="${PREFIX}/man/man1"
catmansrc="${PREFIX}/man/cat1"
manext='.1'
manext_choice='.1'
catmanext='.1'
catmanext_choice='.1'
packed='n'
manroff='/usr/bin/nroff'
manroffopts=''
suffix=''
packer=''
models='none'
split=''
small=''
medium=''
large=''
huge=''
optimize="$CFLAGS"
ccflags=''
cppflags=''
ldflags='-s'
cc='cc'
libs=''
nametype='bsd'
d_passnames='define'
d_berknames='define'
d_usgnames='undef'
passcat='cat /etc/passwd'
rmttape='unknown-remote-tape-unit'
roff='/usr/bin/troff'
roffopts=''
sigtype='void'
spitshell='cat'
shsharp='true'
sharpbang='#!'
tmpdir='/tmp'
tzname_handling='TM_ZONE'
use_pmake='n'
xencf=''
xenlf=''
d_xenix='undef'
d_bsd='define'
CONFIG=true
EOF
exit 0
# END