aboutsummaryrefslogtreecommitdiffstats
path: root/palm/pose
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2000-05-15 03:16:48 +0800
committerdirk <dirk@FreeBSD.org>2000-05-15 03:16:48 +0800
commite8ba4a8a0ccf277cefd17ee97ea10484a746faa6 (patch)
treebffcc6b96df6d1911c00ad7814d7bda1c0a7724b /palm/pose
parent446e43fff1f53b8cb4ee16407a649b9a6b353be1 (diff)
downloadfreebsd-ports-graphics-e8ba4a8a0ccf277cefd17ee97ea10484a746faa6.tar.gz
freebsd-ports-graphics-e8ba4a8a0ccf277cefd17ee97ea10484a746faa6.tar.zst
freebsd-ports-graphics-e8ba4a8a0ccf277cefd17ee97ea10484a746faa6.zip
- install "ROM Transfer.prc" in ${PREFIX}/share/pose/
- use FreeBSD names for serial devices (ttyS? -> cuaa?) Submitted by: knu
Diffstat (limited to 'palm/pose')
-rw-r--r--palm/pose/Makefile5
-rw-r--r--palm/pose/files/patch-ac15
-rw-r--r--palm/pose/pkg-message4
-rw-r--r--palm/pose/pkg-plist2
4 files changed, 26 insertions, 0 deletions
diff --git a/palm/pose/Makefile b/palm/pose/Makefile
index fe6a353550e..ad75e5bd0fd 100644
--- a/palm/pose/Makefile
+++ b/palm/pose/Makefile
@@ -22,4 +22,9 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --x-includes=${X11BASE}/include \
--x-libraries=${X11BASE}/lib
+post-install:
+ ${MKDIR} ${PREFIX}/share/pose
+ ${INSTALL_DATA} "${WRKSRC}/../ROMTransfer/Source/ROM Transfer.prc" ${PREFIX}/share/pose
+ @${SED} -e 's#/usr/local#${PREFIX}#g' ${PKGMESSAGE}
+
.include <bsd.port.mk>
diff --git a/palm/pose/files/patch-ac b/palm/pose/files/patch-ac
new file mode 100644
index 00000000000..704493c9dac
--- /dev/null
+++ b/palm/pose/files/patch-ac
@@ -0,0 +1,15 @@
+--- ../SrcUnix/EmTransportSerialUnix.cpp.orig Wed Apr 19 20:27:37 2000
++++ ../SrcUnix/EmTransportSerialUnix.cpp Sun May 14 13:20:23 2000
+@@ -311,6 +311,12 @@
+ #ifdef __QNXNTO__
+ results.push_back ("/dev/ser1");
+ results.push_back ("/dev/ser2");
++#elif __FreeBSD__
++ results.push_back ("/dev/pilot");
++ results.push_back ("/dev/cuaa0");
++ results.push_back ("/dev/cuaa1");
++ results.push_back ("/dev/cuaa2");
++ results.push_back ("/dev/cuaa3");
+ #else
+ results.push_back ("/dev/ttyS0");
+ results.push_back ("/dev/ttyS1");
diff --git a/palm/pose/pkg-message b/palm/pose/pkg-message
new file mode 100644
index 00000000000..a0ded5fad5a
--- /dev/null
+++ b/palm/pose/pkg-message
@@ -0,0 +1,4 @@
+
+To transfer the ROM of your palm install /usr/local/share/pose/ROM Transfer.prc
+on your device.
+
diff --git a/palm/pose/pkg-plist b/palm/pose/pkg-plist
index ab5f7676a51..c9f7a1b57f9 100644
--- a/palm/pose/pkg-plist
+++ b/palm/pose/pkg-plist
@@ -1 +1,3 @@
bin/pose
+share/pose/ROM Transfer.prc
+@dirrm share/pose