summaryrefslogtreecommitdiff
path: root/palm
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-06-09 00:25:42 +0000
committerSteve Price <steve@FreeBSD.org>1999-06-09 00:25:42 +0000
commit0018ea21c0adae70eb43cb78f6bed6b0976311dd (patch)
tree3823910b21256eed6ce2c8d43b1b03b5c72d5176 /palm
parentMake this port honor CFLAGS. (diff)
Initial impoirt of syncal version 0.5.
Synchronize your PalmPilot with ical. PR: 11304 Submitted by: Lars Koeller <lkoeller@cc.fh-lippe.de>
Notes
Notes: svn path=/head/; revision=19349
Diffstat (limited to 'palm')
-rw-r--r--palm/syncal/Makefile39
-rw-r--r--palm/syncal/distinfo1
-rw-r--r--palm/syncal/files/patch-aa69
-rw-r--r--palm/syncal/pkg-comment1
-rw-r--r--palm/syncal/pkg-descr9
-rw-r--r--palm/syncal/pkg-plist1
6 files changed, 120 insertions, 0 deletions
diff --git a/palm/syncal/Makefile b/palm/syncal/Makefile
new file mode 100644
index 000000000000..038deddd3db3
--- /dev/null
+++ b/palm/syncal/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: tclock
+# Version required: 1.0.1
+# Date created: So 7 Feb 1999 20:50:43 MET
+# Whom: Lars Koeller <lkoeller@cc.fh-lippe.de>
+#
+# $Id$
+#
+
+DISTNAME= syncal-0.5
+CATEGORIES= palm comms deskutils
+MASTER_SITES= ftp://ryeham.ee.ryerson.ca/pub/PalmOS/ \
+ http://www.daveltd.com/pilot/PalmOS/ \
+ ftp://ftp.uni-bielefeld.de/pub/systems/FreeBSD/lkoeller/
+
+MAINTAINER= Lars.Koeller@Uni-Bielefeled.DE
+
+LIB_DEPENDS= pisock:${PORTSDIR}/palm/pilot-link
+RUN_DEPENDS= ical:${PORTSDIR}/deskutils/ical
+
+NO_PACKAGE= patches installed ical port
+
+PREFIX= ${LOCALBASE}/pilot
+
+MAN1= syncal.1
+
+post-patch:
+ ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.patched
+ ${SED} -e "s:@@PREFIX@@:${PREFIX}:g" ${WRKSRC}/Makefile.patched > ${WRKSRC}/Makefile
+
+#
+# ical V2.2 needs a little patch, don't know how to do better
+# perhaps the patch should be included int ical port by default
+# Please have a look at this experts :-)
+#
+post-install:
+ -cd ${LOCALBASE}/lib/ical/v2.2; \
+ ${PATCH} -f < ${WRKSRC}/ical.patch
+
+.include <bsd.port.mk>
diff --git a/palm/syncal/distinfo b/palm/syncal/distinfo
new file mode 100644
index 000000000000..455fce7b28b3
--- /dev/null
+++ b/palm/syncal/distinfo
@@ -0,0 +1 @@
+MD5 (syncal-0.5.tar.gz) = 0487b952f0bcea6a521b664c68114214
diff --git a/palm/syncal/files/patch-aa b/palm/syncal/files/patch-aa
new file mode 100644
index 000000000000..af8499e91e1a
--- /dev/null
+++ b/palm/syncal/files/patch-aa
@@ -0,0 +1,69 @@
+*** Makefile.org Fri Apr 9 19:54:00 1999
+--- Makefile Sat Apr 24 13:26:57 1999
+***************
+*** 13,19 ****
+ #
+ # top_builddir = /home/john/pilot/src/pilot-link.0.9.1
+ #
+! top_builddir = .
+
+ ##########
+ # Pick your C compiler
+--- 13,19 ----
+ #
+ # top_builddir = /home/john/pilot/src/pilot-link.0.9.1
+ #
+! top_builddir = @@PREFIX@@
+
+ ##########
+ # Pick your C compiler
+***************
+*** 25,31 ****
+ ##########
+ # Where should I be installed?
+ #
+! INSTALLTOP = /usr/local
+ INSTALLBIN = $(INSTALLTOP)/bin
+ INSTALLMAN = $(INSTALLTOP)/man
+
+--- 25,31 ----
+ ##########
+ # Where should I be installed?
+ #
+! INSTALLTOP = @@PREFIX@@
+ INSTALLBIN = $(INSTALLTOP)/bin
+ INSTALLMAN = $(INSTALLTOP)/man
+
+***************
+*** 58,65 ****
+ #
+ # Unless you're smarter than me, which is entirely possible. [JTL]
+ #
+! LIBDIR = -L$(top_builddir)
+! INCDIR = -I$(top_builddir)
+ CFLAGS = -Wall $(INCDIR)
+ SYNCAL_OBJS = syncal.o syncal_list.o syncal_dates.o syncal_reconcile.o
+ LIBTOOL = $(top_builddir)/libtool
+--- 58,65 ----
+ #
+ # Unless you're smarter than me, which is entirely possible. [JTL]
+ #
+! LIBDIR = -L$(top_builddir)/lib
+! INCDIR = -I$(top_builddir)/include
+ CFLAGS = -Wall $(INCDIR)
+ SYNCAL_OBJS = syncal.o syncal_list.o syncal_dates.o syncal_reconcile.o
+ LIBTOOL = $(top_builddir)/libtool
+***************
+*** 81,86 ****
+ install:
+ install -d $(INSTALLBIN)
+ install -d $(INSTALLMAN)/man1
+! install -s -g root -o root -m 755 syncal $(INSTALLBIN)
+!
+! install -g root -o root -m 644 syncal.1 $(INSTALLMAN)/man1
+--- 81,85 ----
+ install:
+ install -d $(INSTALLBIN)
+ install -d $(INSTALLMAN)/man1
+! install -c -s -g bin -o bin -m 755 syncal $(INSTALLBIN)
+! install -c -m 644 syncal.1 $(INSTALLMAN)/man1
diff --git a/palm/syncal/pkg-comment b/palm/syncal/pkg-comment
new file mode 100644
index 000000000000..6dd3bec7efef
--- /dev/null
+++ b/palm/syncal/pkg-comment
@@ -0,0 +1 @@
+Synchronize your PalmPilot with ical
diff --git a/palm/syncal/pkg-descr b/palm/syncal/pkg-descr
new file mode 100644
index 000000000000..f1e26d71ee84
--- /dev/null
+++ b/palm/syncal/pkg-descr
@@ -0,0 +1,9 @@
+ Syncal reads a current ical calendar file, an archived
+ ical calendar file from the last time syncal was run, and
+ a Palm device DateBook database and reconciles them. It
+ creates a new ical calendar file which replaces both the
+ current and archived ones and updates the Pilot DateBookDB
+ to coincide with them.
+
+ Once syncal is started, the user must invoke HotSync on
+ the target device.
diff --git a/palm/syncal/pkg-plist b/palm/syncal/pkg-plist
new file mode 100644
index 000000000000..423c80208ba4
--- /dev/null
+++ b/palm/syncal/pkg-plist
@@ -0,0 +1 @@
+bin/syncal