aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-06-16 18:12:37 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-06-16 18:12:37 +0000
commitc99e82c73aee559f13201506b75ddb433367eb17 (patch)
tree6308bcbbd46b75d5392ed123f4ea4f88b0e78cf9 /misc
parentedfb4de6609e43d9358a5bef2e66e3c0fa0b0013 (diff)
downloadports-c99e82c73aee559f13201506b75ddb433367eb17.tar.gz
ports-c99e82c73aee559f13201506b75ddb433367eb17.zip
Notes
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile1
-rw-r--r--misc/datedif/Makefile22
-rw-r--r--misc/datedif/distinfo1
-rw-r--r--misc/datedif/files/patch-Makefile15
-rw-r--r--misc/datedif/pkg-comment1
-rw-r--r--misc/datedif/pkg-descr6
-rw-r--r--misc/datedif/pkg-plist1
7 files changed, 47 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 081399f476c0..47aecbb6a956 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -36,6 +36,7 @@
SUBDIR += cstream
SUBDIR += cuecat
SUBDIR += cwish
+ SUBDIR += datedif
SUBDIR += deco
SUBDIR += dejagnu
SUBDIR += delay
diff --git a/misc/datedif/Makefile b/misc/datedif/Makefile
new file mode 100644
index 000000000000..1f82e0025254
--- /dev/null
+++ b/misc/datedif/Makefile
@@ -0,0 +1,22 @@
+# ex:ts=8
+# New ports collection makefile for: datedif
+# Date created: Jun 16, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= datedif
+PORTVERSION= 0.9.1.4
+CATEGORIES= misc
+MASTER_SITES= http://buschencrew.hypermart.net/software/datedif/
+DISTNAME= ${PORTNAME}-0.9.1-4
+
+MAINTAINER= ports@FreeBSD.org
+
+ALL_TARGET=
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/datedif ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/misc/datedif/distinfo b/misc/datedif/distinfo
new file mode 100644
index 000000000000..f1ef69a54c3c
--- /dev/null
+++ b/misc/datedif/distinfo
@@ -0,0 +1 @@
+MD5 (datedif-0.9.1-4.tar.gz) = 3483ac3a5c4ce8f952c959ac3f99a1f7
diff --git a/misc/datedif/files/patch-Makefile b/misc/datedif/files/patch-Makefile
new file mode 100644
index 000000000000..dc343b78dcbe
--- /dev/null
+++ b/misc/datedif/files/patch-Makefile
@@ -0,0 +1,15 @@
+--- Makefile.orig Sun Jun 17 01:59:03 2001
++++ Makefile Sun Jun 17 02:01:47 2001
+@@ -4,10 +4,10 @@
+ LIBS =
+
+ project: $(OBJS)
+- gcc -s -o datedif $(LIBS) $(OBJS)
++ ${CC} ${CFLAGS} -o datedif $(LIBS) $(OBJS)
+
+ main.o: main.c
+- gcc -O2 -c -o main.o main.c
++ ${CC} ${CFLAGS} -c -o main.o main.c
+
+ clean:
+ rm -f main.o
diff --git a/misc/datedif/pkg-comment b/misc/datedif/pkg-comment
new file mode 100644
index 000000000000..c95eaf954f8d
--- /dev/null
+++ b/misc/datedif/pkg-comment
@@ -0,0 +1 @@
+Calculates the number of days between two dates
diff --git a/misc/datedif/pkg-descr b/misc/datedif/pkg-descr
new file mode 100644
index 000000000000..d3a59e4a0821
--- /dev/null
+++ b/misc/datedif/pkg-descr
@@ -0,0 +1,6 @@
+Datedif is a simple console program that calculates the difference in days
+between two dates. It has two types of output, the first for scripts and the
+second for shellprompt use. The default output is the script-output, which is
+only the difference in days, not even followed by a carriage return. The second
+output can be accessed with the -m option, and it displays an output suitable
+for shellprompt use.
diff --git a/misc/datedif/pkg-plist b/misc/datedif/pkg-plist
new file mode 100644
index 000000000000..cb87904aec4a
--- /dev/null
+++ b/misc/datedif/pkg-plist
@@ -0,0 +1 @@
+bin/datedif