diff options
author | max <max@FreeBSD.org> | 1997-04-27 05:31:49 +0800 |
---|---|---|
committer | max <max@FreeBSD.org> | 1997-04-27 05:31:49 +0800 |
commit | ab1826ab624dd8691120743736efad76fd14ac63 (patch) | |
tree | 0a7b8dda907f1a335140583f4aba5e535caceba6 | |
parent | a151b9f72a82652fabcf89024b3df91f161e4b0d (diff) | |
download | freebsd-ports-gnome-ab1826ab624dd8691120743736efad76fd14ac63.tar.gz freebsd-ports-gnome-ab1826ab624dd8691120743736efad76fd14ac63.tar.zst freebsd-ports-gnome-ab1826ab624dd8691120743736efad76fd14ac63.zip |
New port:
ELM with Korean extension.
PR: 3332
Submitted by: Choi Jun Ho <junker@jazz.snu.ac.kr>
-rw-r--r-- | korean/elm/Makefile | 29 | ||||
-rw-r--r-- | korean/elm/distinfo | 1 | ||||
-rw-r--r-- | korean/elm/files/elm-config | 47 | ||||
-rw-r--r-- | korean/elm/files/patch-aa | 34 | ||||
-rw-r--r-- | korean/elm/files/patch-ab | 15 | ||||
-rw-r--r-- | korean/elm/files/patch-ac | 53 | ||||
-rw-r--r-- | korean/elm/files/patch-ad | 19 | ||||
-rw-r--r-- | korean/elm/pkg-comment | 1 | ||||
-rw-r--r-- | korean/elm/pkg-descr | 8 | ||||
-rw-r--r-- | korean/elm/pkg-plist | 36 | ||||
-rw-r--r-- | korean/elm/scripts/pre-configure | 301 |
11 files changed, 544 insertions, 0 deletions
diff --git a/korean/elm/Makefile b/korean/elm/Makefile new file mode 100644 index 000000000000..6209e517ed22 --- /dev/null +++ b/korean/elm/Makefile @@ -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> diff --git a/korean/elm/distinfo b/korean/elm/distinfo new file mode 100644 index 000000000000..a4c3adac2f42 --- /dev/null +++ b/korean/elm/distinfo @@ -0,0 +1 @@ +MD5 (elm2.4h4.1.tar.gz) = f4a39af65dd2b4ac1090f617f7b4b0dc diff --git a/korean/elm/files/elm-config b/korean/elm/files/elm-config new file mode 100644 index 000000000000..617d3612bdc9 --- /dev/null +++ b/korean/elm/files/elm-config @@ -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 diff --git a/korean/elm/files/patch-aa b/korean/elm/files/patch-aa new file mode 100644 index 000000000000..300726e2b7fa --- /dev/null +++ b/korean/elm/files/patch-aa @@ -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) diff --git a/korean/elm/files/patch-ab b/korean/elm/files/patch-ab new file mode 100644 index 000000000000..f3f2e3c27e0d --- /dev/null +++ b/korean/elm/files/patch-ab @@ -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 diff --git a/korean/elm/files/patch-ac b/korean/elm/files/patch-ac new file mode 100644 index 000000000000..b21b562f7aca --- /dev/null +++ b/korean/elm/files/patch-ac @@ -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) $? $@ diff --git a/korean/elm/files/patch-ad b/korean/elm/files/patch-ad new file mode 100644 index 000000000000..2f0dfdac214b --- /dev/null +++ b/korean/elm/files/patch-ad @@ -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 diff --git a/korean/elm/pkg-comment b/korean/elm/pkg-comment new file mode 100644 index 000000000000..128f41ab5958 --- /dev/null +++ b/korean/elm/pkg-comment @@ -0,0 +1 @@ +ELM Mail User Agent, patched for Korean E-Mail diff --git a/korean/elm/pkg-descr b/korean/elm/pkg-descr new file mode 100644 index 000000000000..7e08f1ea7d89 --- /dev/null +++ b/korean/elm/pkg-descr @@ -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> diff --git a/korean/elm/pkg-plist b/korean/elm/pkg-plist new file mode 100644 index 000000000000..e540e13be363 --- /dev/null +++ b/korean/elm/pkg-plist @@ -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 diff --git a/korean/elm/scripts/pre-configure b/korean/elm/scripts/pre-configure new file mode 100644 index 000000000000..ff5a0cec010d --- /dev/null +++ b/korean/elm/scripts/pre-configure @@ -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 + |