summaryrefslogtreecommitdiff
path: root/misc/crosspad
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@FreeBSD.org>1998-10-21 00:41:49 +0000
committerJun-ichiro itojun Hagino <itojun@FreeBSD.org>1998-10-21 00:41:49 +0000
commit85b76c44ff57a92f25694e10d637e19d169b77ed (patch)
tree7423478d3625fc5a6634c27900d68eae57dcd94f /misc/crosspad
parentUpgrade to 0.4.1, remove the TAG of USE_AUTOCONF, (diff)
import misc/crosspad, which is:
This package contains following two utilities: padload - crosspad downloder crosspad2ps - crosspad -> postscript converter more information on CrossPad digitizing notepad: http://www.cross-pcg.com/ Submitted by: Jun-ichiro Itoh <itojun@itojun.org>
Notes
Notes: svn path=/head/; revision=14132
Diffstat (limited to 'misc/crosspad')
-rw-r--r--misc/crosspad/Makefile31
-rw-r--r--misc/crosspad/distinfo1
-rw-r--r--misc/crosspad/files/patch-aa78
-rw-r--r--misc/crosspad/pkg-comment1
-rw-r--r--misc/crosspad/pkg-descr5
-rw-r--r--misc/crosspad/pkg-plist12
6 files changed, 128 insertions, 0 deletions
diff --git a/misc/crosspad/Makefile b/misc/crosspad/Makefile
new file mode 100644
index 000000000000..f79814f85633
--- /dev/null
+++ b/misc/crosspad/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: crosspad
+# Version required: 981015a
+# Date created: 23 September 1998
+# Whom: itojun@itojun.org
+#
+# $Id: Makefile,v 1.6 1998/09/14 06:38:04 itojun Exp $
+#
+
+DISTNAME= crosspad-981015a
+CATEGORIES= misc
+MASTER_SITES= ftp://ftp.itojun.org/pub/misc/
+
+MAINTAINER= itojun@itojun.org
+
+GNU_CONFIGURE= yes
+WRKSRC= ${WRKDIR}/crosspad/build
+
+MAN1= crosspad2ps.1 crosspad2eps.1 crosspad2tgif.1 crosspad2idraw.1 \
+ padload.1
+
+DOCS= PROTOCOL README.english README.japanese
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/crosspad
+ for i in $(DOCS); do \
+ ${INSTALL_DATA} ${WRKSRC}/../$$i ${PREFIX}/share/doc/crosspad; \
+ done
+.endif
+
+.include <bsd.port.mk>
diff --git a/misc/crosspad/distinfo b/misc/crosspad/distinfo
new file mode 100644
index 000000000000..8ef9f7dd1ea3
--- /dev/null
+++ b/misc/crosspad/distinfo
@@ -0,0 +1 @@
+MD5 (crosspad-981015a.tar.gz) = b5570cc2785fc6d47b23610371d9fa5f
diff --git a/misc/crosspad/files/patch-aa b/misc/crosspad/files/patch-aa
new file mode 100644
index 000000000000..0031b1587235
--- /dev/null
+++ b/misc/crosspad/files/patch-aa
@@ -0,0 +1,78 @@
+hardcode perl to /usr/bin/perl
+
+--- configure.orig Thu Sep 24 00:01:04 1998
++++ configure Thu Sep 24 00:02:11 1998
+@@ -628,33 +628,34 @@
+
+ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+
+-for ac_prog in perl perl5 perl4
+-do
+-# Extract the first word of "$ac_prog", so it can be a program name with args.
+-set dummy $ac_prog; ac_word=$2
+-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+-echo "configure:637: checking for $ac_word" >&5
+-if eval "test \"`echo '$''{'ac_cv_path_path_perl'+set}'`\" = set"; then
+- echo $ac_n "(cached) $ac_c" 1>&6
+-else
+- case "$path_perl" in
+- /*)
+- ac_cv_path_path_perl="$path_perl" # Let the user override the test with a path.
+- ;;
+- *)
+- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
+- for ac_dir in $PATH; do
+- test -z "$ac_dir" && ac_dir=.
+- if test -f $ac_dir/$ac_word; then
+- ac_cv_path_path_perl="$ac_dir/$ac_word"
+- break
+- fi
+- done
+- IFS="$ac_save_ifs"
+- ;;
+-esac
+-fi
+-path_perl="$ac_cv_path_path_perl"
++#for ac_prog in perl perl5 perl4
++#do
++## Extract the first word of "$ac_prog", so it can be a program name with args.
++#set dummy $ac_prog; ac_word=$2
++#echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
++#echo "configure:637: checking for $ac_word" >&5
++#if eval "test \"`echo '$''{'ac_cv_path_path_perl'+set}'`\" = set"; then
++# echo $ac_n "(cached) $ac_c" 1>&6
++#else
++# case "$path_perl" in
++# /*)
++# ac_cv_path_path_perl="$path_perl" # Let the user override the test with a path.
++# ;;
++# *)
++# IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
++# for ac_dir in $PATH; do
++# test -z "$ac_dir" && ac_dir=.
++# if test -f $ac_dir/$ac_word; then
++# ac_cv_path_path_perl="$ac_dir/$ac_word"
++# break
++# fi
++# done
++# IFS="$ac_save_ifs"
++# ;;
++#esac
++#fi
++#path_perl="$ac_cv_path_path_perl"
++path_perl=/usr/bin/perl
+ if test -n "$path_perl"; then
+ echo "$ac_t""$path_perl" 1>&6
+ else
+@@ -662,9 +663,8 @@
+ fi
+
+ test -n "$path_perl" && break
+-done
+-test -n "$path_perl" || path_perl="no"
+-
++#done
++#test -n "$path_perl" || path_perl="no"
+
+ echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
+ echo "configure:671: checking whether ln -s works" >&5
diff --git a/misc/crosspad/pkg-comment b/misc/crosspad/pkg-comment
new file mode 100644
index 000000000000..6681f7fb5ede
--- /dev/null
+++ b/misc/crosspad/pkg-comment
@@ -0,0 +1 @@
+crosspad data downloader/converter
diff --git a/misc/crosspad/pkg-descr b/misc/crosspad/pkg-descr
new file mode 100644
index 000000000000..b2c9b5cbc311
--- /dev/null
+++ b/misc/crosspad/pkg-descr
@@ -0,0 +1,5 @@
+This package contains following two utilities:
+ padload - crosspad downloder
+ crosspad2ps - crosspad -> postscript converter
+
+more information on CrossPad digitizing notepad: http://www.cross-pcg.com/
diff --git a/misc/crosspad/pkg-plist b/misc/crosspad/pkg-plist
new file mode 100644
index 000000000000..b230e88556a3
--- /dev/null
+++ b/misc/crosspad/pkg-plist
@@ -0,0 +1,12 @@
+bin/padload
+bin/crosspad2ps
+@exec cd %D/bin; ln -s crosspad2ps crosspad2eps
+@exec cd %D/bin; ln -s crosspad2ps crosspad2tgif
+@exec cd %D/bin; ln -s crosspad2ps crosspad2idraw
+@unexec rm %D/bin/crosspad2eps
+@unexec rm %D/bin/crosspad2tgif
+@unexec rm %D/bin/crosspad2idraw
+share/doc/crosspad/PROTOCOL
+share/doc/crosspad/README.english
+share/doc/crosspad/README.japanese
+@dirrm share/doc/crosspad