diff options
author | Thomas Gellekum <tg@FreeBSD.org> | 1998-03-09 13:05:01 +0000 |
---|---|---|
committer | Thomas Gellekum <tg@FreeBSD.org> | 1998-03-09 13:05:01 +0000 |
commit | 8334376110665d672d2c6e83628c268c85ab80f3 (patch) | |
tree | b78404603b28d5a52c16ab90458a42efe5b0527e /deskutils/xmdiary | |
parent | e27319791e64fa50b67afa826372fdbee2ce3392 (diff) | |
download | ports-8334376110665d672d2c6e83628c268c85ab80f3.tar.gz ports-8334376110665d672d2c6e83628c268c85ab80f3.zip |
Notes
Diffstat (limited to 'deskutils/xmdiary')
-rw-r--r-- | deskutils/xmdiary/Makefile | 35 | ||||
-rw-r--r-- | deskutils/xmdiary/distinfo | 2 | ||||
-rw-r--r-- | deskutils/xmdiary/files/patch-aa | 13 | ||||
-rw-r--r-- | deskutils/xmdiary/files/patch-ab | 29 | ||||
-rw-r--r-- | deskutils/xmdiary/pkg-comment | 1 | ||||
-rw-r--r-- | deskutils/xmdiary/pkg-descr | 8 | ||||
-rw-r--r-- | deskutils/xmdiary/pkg-plist | 65 | ||||
-rw-r--r-- | deskutils/xmdiary/scripts/noextradepend | 16 | ||||
-rw-r--r-- | deskutils/xmdiary/scripts/nomalloc | 16 |
9 files changed, 185 insertions, 0 deletions
diff --git a/deskutils/xmdiary/Makefile b/deskutils/xmdiary/Makefile new file mode 100644 index 000000000000..43e24e2de6c9 --- /dev/null +++ b/deskutils/xmdiary/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: xmdiary +# Version required: 3.0.1 +# Date created: 29 Sep 1997 +# Whom: mi@aldan.ziplink.net +# +# $Id$ +# + +DISTNAME= xmdiary-3.0.1 +CATEGORIES= misc +MASTER_SITES= ${MASTER_SITE_XCONTRIB} +MASTER_SITE_SUBDIR= office +DISTFILES= ${DISTNAME}.tar.gz xmdfix.gz + +MAINTAINER= mi@aldan.ziplink.net + +NO_CDROM= "Don't sell for profit" +EXTRACT_ONLY= ${DISTNAME}.tar.gz +REQUIRES_MOTIF= yes +USE_IMAKE= yes + +pre-patch: + for node in `tar tzf ${DISTDIR}/xmdfix.gz` ; \ + do \ + test -f $(WRKSRC)/$$node && ${RM} -f $(WRKSRC)/$$node ; \ + done + cd $(WRKSRC) && tar xzpf ${DISTDIR}/xmdfix.gz + +post-patch: + @echo removing the "malloc.h" includes + ${SCRIPTDIR}/nomalloc $(WRKSRC) 2>&1 > /dev/zero + @echo removing unneccessary DependTarget from Imakefile-s + ${SCRIPTDIR}/noextradepend $(WRKSRC) 2>&1 > /dev/zero + +.include <bsd.port.mk> diff --git a/deskutils/xmdiary/distinfo b/deskutils/xmdiary/distinfo new file mode 100644 index 000000000000..879e0335b5d5 --- /dev/null +++ b/deskutils/xmdiary/distinfo @@ -0,0 +1,2 @@ +MD5 (xmdiary-3.0.1.tar.gz) = 0873b27a5dc385ce0566c53f25cdffeb +MD5 (xmdfix.gz) = 76dc4f4ee6db13f5b4e068a3a8f4ed99 diff --git a/deskutils/xmdiary/files/patch-aa b/deskutils/xmdiary/files/patch-aa new file mode 100644 index 000000000000..711a7b919a2b --- /dev/null +++ b/deskutils/xmdiary/files/patch-aa @@ -0,0 +1,13 @@ +--- ndbm/xdndbm.c.orig Tue Jun 27 03:55:51 1995 ++++ ndbm/xdndbm.c Mon Sep 29 01:53:52 1997 +@@ -50,8 +50,10 @@ + static int delitem(); + static int additem(); + ++#ifndef __FreeBSD__ + extern int errno; + extern long lseek(); ++#endif + + #ifdef DEBUG + static chkblk(char buf[PBLKSIZ]); diff --git a/deskutils/xmdiary/files/patch-ab b/deskutils/xmdiary/files/patch-ab new file mode 100644 index 000000000000..63e7354d7b84 --- /dev/null +++ b/deskutils/xmdiary/files/patch-ab @@ -0,0 +1,29 @@ +--- XDiary.tmpl.orig Mon Jun 26 15:57:52 1995 ++++ XDiary.tmpl Mon Sep 29 12:57:31 1997 +@@ -100,6 +100,6 @@ + +-XDEXEDIR = /usr/local/bin +-XDDATADIR = /usr/local/lib/xdiary +-XDAPPDIR = /usr/lib/X11/app-defaults +-XDMANDIR = /usr/local/man/man1 ++XDEXEDIR = $(X11BASE)/bin ++XDDATADIR = $(X11BASE)/lib/X11/xdiary ++XDAPPDIR = $(X11BASE)/lib/X11/app-defaults ++XDMANDIR = $(X11BASE)/man/man1 + +@@ -128,6 +128,6 @@ + +-/* XDXTINC = */ +-/* XDXTLIB = */ +-/* XDXMINC = */ +-/* XDXMLIB = */ ++XDXTINC = -I/usr/X11R6/include ++XDXTLIB = -L/usr/X11R6/lib ++XDXMINC = -I/usr/X11R6/include ++XDXMLIB = -L/usr/X11R6/lib + +@@ -157,3 +157,3 @@ + +-/* XDEXTRALIBS = */ ++XDEXTRALIBS = -lXext + diff --git a/deskutils/xmdiary/pkg-comment b/deskutils/xmdiary/pkg-comment new file mode 100644 index 000000000000..50d40fb5cf3a --- /dev/null +++ b/deskutils/xmdiary/pkg-comment @@ -0,0 +1 @@ +Personal and group calendar utility. diff --git a/deskutils/xmdiary/pkg-descr b/deskutils/xmdiary/pkg-descr new file mode 100644 index 000000000000..2794edfe43b6 --- /dev/null +++ b/deskutils/xmdiary/pkg-descr @@ -0,0 +1,8 @@ +From xdiary's man page: + + XDiary is your personal organizer that combines the + functions of a desktop calendar, an appointment book and + an alarm clock. XDiary will help you keep track of your + meetings, appointments and plan your time. + + -mi diff --git a/deskutils/xmdiary/pkg-plist b/deskutils/xmdiary/pkg-plist new file mode 100644 index 000000000000..e8e5263aac90 --- /dev/null +++ b/deskutils/xmdiary/pkg-plist @@ -0,0 +1,65 @@ +bin/xdaclunix +bin/xdalarm +bin/xdcustom +bin/xddump +bin/xdiary +bin/xdinitdb +bin/xdlight +bin/xdlocation +bin/xdnotify +bin/xdprformat +bin/xdprint +bin/xdremind +bin/xdremote +bin/xdremove +bin/xdrestore +lib/libTools.a +lib/libXdiary.a +lib/libXdndbm.a +lib/libXtools.a +lib/X11/app-defaults/XDiary +lib/X11/app-defaults/XDiary.map +lib/X11/xdiary/Install.db +lib/X11/xdiary/Library.db +lib/X11/xdiary/Manual.db +lib/X11/xdiary/News.db +lib/X11/xdiary/TopicMsgEn_US.cat +lib/X11/xdiary/Windows.db +lib/X11/xdiary/XDiary.syspr +lib/X11/xdiary/XDiary.userpr +lib/X11/xdiary/XDiaryMsgEn_US.cat +lib/X11/xdiary/XDpsCommon.pro +lib/X11/xdiary/XDpsDay.pro +lib/X11/xdiary/XDpsList.pro +lib/X11/xdiary/XDpsMonth.pro +lib/X11/xdiary/XDpsWeek.pro +lib/X11/xdiary/auldLang.tune +lib/X11/xdiary/dragnet.tune +lib/X11/xdiary/forElise.tune +lib/X11/xdiary/helan.tune +lib/X11/xdiary/highChirp.tune +lib/X11/xdiary/holidays1991 +lib/X11/xdiary/holidays1992 +lib/X11/xdiary/holidays1993 +lib/X11/xdiary/holidays1994 +lib/X11/xdiary/holidays1995 +lib/X11/xdiary/holidays1996 +lib/X11/xdiary/holidays1997 +lib/X11/xdiary/holidays1998 +lib/X11/xdiary/holidays1999 +lib/X11/xdiary/mediumChirp.tune +lib/X11/xdiary/ohNo.tune +lib/X11/xdiary/swedish.tune +man/man1/xdaclunix.1.gz +man/man1/xdalarm.1.gz +man/man1/xdcustom.1.gz +man/man1/xddump.1.gz +man/man1/xdiary.1.gz +man/man1/xdinitdb.1.gz +man/man1/xdlight.1.gz +man/man1/xdnotify.1.gz +man/man1/xdprformat.1.gz +man/man1/xdremind.1.gz +man/man1/xdremove.1.gz +man/man1/xdrestore.1.gz +@dirrm lib/X11/xdiary diff --git a/deskutils/xmdiary/scripts/noextradepend b/deskutils/xmdiary/scripts/noextradepend new file mode 100644 index 000000000000..aff8930ef76a --- /dev/null +++ b/deskutils/xmdiary/scripts/noextradepend @@ -0,0 +1,16 @@ +#!/bin/sh + +for f in `find $1 -type f -name Imakefile -print | xargs grep -l Library.tmpl` +do + +patch -p << END_OF_PATCH +--- $f.orig ++++ $f +@@ -30,1 +30,1 @@ +-DependTarget() ++/* DependTarget() -- Library.tmpl contains this now */ + +END_OF_PATCH + +done + diff --git a/deskutils/xmdiary/scripts/nomalloc b/deskutils/xmdiary/scripts/nomalloc new file mode 100644 index 000000000000..05c7394e819b --- /dev/null +++ b/deskutils/xmdiary/scripts/nomalloc @@ -0,0 +1,16 @@ +#!/bin/sh + +for f in `find $1 -type f -name \*.\[ch\] -print | xargs grep -l malloc.h` +do + +patch -p << END_OF_PATCH +--- $f.orig ++++ $f +@@ -10,1 +10,1 @@ +-#include <malloc.h> ++#include <stdlib.h> + +END_OF_PATCH + +done + |