aboutsummaryrefslogtreecommitdiff
path: root/japanese/okphone
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1996-02-08 04:54:18 +0000
committerSatoshi Asami <asami@FreeBSD.org>1996-02-08 04:54:18 +0000
commitda379a05915df305e47c9034191255cb3c19ea0a (patch)
tree4bf6725022c8d44d630e3672843edbe640f01fef /japanese/okphone
parent5ff0f54cbc88bdd6e312f7d732eb95f8094a6811 (diff)
downloadports-da379a05915df305e47c9034191255cb3c19ea0a.tar.gz
ports-da379a05915df305e47c9034191255cb3c19ea0a.zip
Notes
Diffstat (limited to 'japanese/okphone')
-rw-r--r--japanese/okphone/Makefile23
-rw-r--r--japanese/okphone/distinfo2
-rw-r--r--japanese/okphone/files/patch-aa97
-rw-r--r--japanese/okphone/pkg-comment1
-rw-r--r--japanese/okphone/pkg-descr6
-rw-r--r--japanese/okphone/pkg-install21
-rw-r--r--japanese/okphone/pkg-plist7
7 files changed, 157 insertions, 0 deletions
diff --git a/japanese/okphone/Makefile b/japanese/okphone/Makefile
new file mode 100644
index 000000000000..704956639475
--- /dev/null
+++ b/japanese/okphone/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: okphone
+# Version required: 1.2
+# Date created: 7 February 1996
+# Whom: asami
+#
+# $Id: Makefile,v 1.2 1995/11/26 11:32:35 asami Exp $
+#
+
+DISTNAME= okphone-1.2
+PKGNAME= jp-okphone-1.2
+CATEGORIES+= japanese net
+MASTER_SITES= http://www.iijnet.or.jp/IIJ-MC/odajima/okphone/src/
+
+PATCH_SITES= ${MASTER_SITES}
+PATCHFILES= okphone-1.2.FreeBSD-patch.gz
+PATCH_DIST_STRIP= -p1
+
+MAINTAINER= asami@FreeBSD.ORG
+
+post-install:
+ @${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
+
+.include <bsd.port.mk>
diff --git a/japanese/okphone/distinfo b/japanese/okphone/distinfo
new file mode 100644
index 000000000000..3e905a0588d5
--- /dev/null
+++ b/japanese/okphone/distinfo
@@ -0,0 +1,2 @@
+MD5 (okphone-1.2.tar.gz) = e09ccdfd12c6738de6805ddabe0a12c3
+MD5 (okphone-1.2.FreeBSD-patch.gz) = 2b31157d1813f65113ddc0b04c408c89
diff --git a/japanese/okphone/files/patch-aa b/japanese/okphone/files/patch-aa
new file mode 100644
index 000000000000..4b3a052ed5c8
--- /dev/null
+++ b/japanese/okphone/files/patch-aa
@@ -0,0 +1,97 @@
+--- ./conv/Makefile.org Wed Feb 7 18:45:35 1996
++++ ./conv/Makefile Wed Feb 7 18:45:36 1996
+@@ -5,10 +5,10 @@
+ # This one is pretty straightforward - no special flags for it.
+
+ CC = cc
+-CFLAGS = -O
++CFLAGS +=
+ SRCS = convd.c
+ DEST = convd
+-RDEST = /usr/local/etc/convd
++RDEST = ${PREFIX}/libexec/convd
+ #RDEST = /usr/local/lib/convd
+
+ all: ${DEST}
+@@ -19,7 +19,7 @@
+
+ install: ${DEST}
+ /bin/rm -f ${RDEST}
+- cp ${DEST} ${RDEST}
++ install -cs ${DEST} ${RDEST}
+
+ clean:
+ /bin/rm -f ${DEST} core *.o
+--- ./client/Makefile.org Wed Feb 7 18:45:34 1996
++++ ./client/Makefile Wed Feb 7 18:45:36 1996
+@@ -20,14 +20,14 @@
+ CC = cc
+ #CFLAGS = -O -DSERVICES -DLOCAL_ECHO
+ #CFLAGS = -g -DSERVICES -DLOCAL_ECHO
+-CFLAGS = -Isw -O -DSERVICES -DLOCAL_ECHO
++CFLAGS += -Isw -DSERVICES -DLOCAL_ECHO
+ #LIBS = -lcurses -ltermlib #-lresolv
+ LIBS = sw/libsw.a -ltermlib -ll
+
+ LPR = lpr -Psony
+ #RDEST = /usr/ucb/phone
+ #RDEST = /usr/local/phone
+-RDEST = /usr/local/bin/phone
++RDEST = ${PREFIX}/bin/phone
+
+ HDRS = defs.h
+
+@@ -69,7 +69,7 @@
+
+ install: ${DEST}
+ /bin/rm -f ${RDEST}
+- cp ${DEST} ${RDEST}
++ install -cs ${DEST} ${RDEST}
+
+ print: ${HDRS} ${SRCS}
+ pr -f ${HDRS} ${SRCS} | expand -4 | ${LPR}
+--- ./master/Makefile.org Wed Feb 7 18:45:36 1996
++++ ./master/Makefile Wed Feb 7 18:45:36 1996
+@@ -29,7 +29,7 @@
+ #CFLAGS = -O -DSERVICES -DDPATH=\"$(CONVD)\" -DFORK
+ #CFLAGS = -O -DINETD -DDPATH=\"$(CONVD)\"
+ #CFLAGS = -O -DINETD -DDPATH=\"$(CONVD)\" -DSERVICES
+-CFLAGS = $(OFLAG) $(INETD) -DFORK -DSERVICES -DDPATH=\"/usr/local/etc/convd\"
++CFLAGS += $(INETD) -DFORK -DSERVICES -DDPATH=\"${PREFIX}/libexec/convd\"
+
+ LPR = lpr -Psony
+ CC = cc
+@@ -44,7 +44,7 @@
+ reinvite.o strsave.o utmp.o
+
+ DEST = phoned
+-RDEST = /usr/local/etc/in.phoned
++RDEST = ${PREFIX}/libexec/in.phoned
+ #RDEST = /etc/phoned
+
+
+@@ -61,7 +61,7 @@
+
+ install: ${DEST}
+ /bin/rm -f ${RDEST}
+- cp ${DEST} ${RDEST}
++ install -cs ${DEST} ${RDEST}
+
+ clean:
+ /bin/rm -f ${DEST} core *.o
+--- ./Makefile.org Fri Dec 15 01:30:07 1989
++++ ./Makefile Wed Feb 7 20:39:53 1996
+@@ -13,3 +13,13 @@
+ done
+
+ default: all
++
++install:
++ /bin/rm -f ${PREFIX}/man/man1/phone.1*
++ install -c phone.1 ${PREFIX}/man/man1
++ gzip -9nf ${PREFIX}/man/man1/phone.1
++ mkdir -p ${PREFIX}/share/okphone
++ install -c NOTE READ_ME Readme.kana ${PREFIX}/share/okphone
++ for i in ${DIRS} ; do \
++ cd $$i ; make MFLAGS="${MFLAGS}" $@ ; cd .. ; \
++ done
diff --git a/japanese/okphone/pkg-comment b/japanese/okphone/pkg-comment
new file mode 100644
index 000000000000..76fc0aee4491
--- /dev/null
+++ b/japanese/okphone/pkg-comment
@@ -0,0 +1 @@
+conference-calling phone with Japanese support
diff --git a/japanese/okphone/pkg-descr b/japanese/okphone/pkg-descr
new file mode 100644
index 000000000000..23ad7460f535
--- /dev/null
+++ b/japanese/okphone/pkg-descr
@@ -0,0 +1,6 @@
+This is okphone, a conference-calling phone with Japanese support.
+Please read /usr/local/share/okphone/Readme.kana on how to read and
+write Japanese.
+
+Satoshi
+asami@cs.berkeley.edu
diff --git a/japanese/okphone/pkg-install b/japanese/okphone/pkg-install
new file mode 100644
index 000000000000..0919294b3c06
--- /dev/null
+++ b/japanese/okphone/pkg-install
@@ -0,0 +1,21 @@
+#!/bin/sh
+# installation script for okphone
+if [ "$2" != "POST-INSTALL" ]; then
+ exit 0
+fi
+if ! grep -qw ^phone /etc/services; then
+ echo ""
+ echo "I don't see \"phone\" in your /etc/services file."
+ echo "You may want to add the following to your /etc/services."
+ echo ""
+ echo "phone 1167/udp #phone - conference calling"
+ echo ""
+fi
+if ! grep -qw ^phone /etc/inetd.conf; then
+ echo ""
+ echo "I don't see \"phone\" in your /etc/inetd.conf file."
+ echo "You may want to add the following to your /etc/inetd.conf."
+ echo ""
+ echo "phone dgram udp wait root /usr/local/libexec/in.phoned in.phoned"
+ echo ""
+fi
diff --git a/japanese/okphone/pkg-plist b/japanese/okphone/pkg-plist
new file mode 100644
index 000000000000..19713cd12013
--- /dev/null
+++ b/japanese/okphone/pkg-plist
@@ -0,0 +1,7 @@
+bin/phone
+man/man1/phone.1.gz
+libexec/in.phoned
+libexec/convd
+share/okphone/NOTE
+share/okphone/READ_ME
+share/okphone/Readme.kana