diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-06-16 18:12:37 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-06-16 18:12:37 +0000 |
commit | a966716df7098190cb225b6c847b821b7be8de41 (patch) | |
tree | 3caeae6c91f8f1e891e5164049217fef3aa49903 /misc/datedif | |
parent | fec4e30d1e0accfd38b0f24217703371018cf5fb (diff) | |
download | FreeBSD-ports-a966716df7098190cb225b6c847b821b7be8de41.zip FreeBSD-ports-a966716df7098190cb225b6c847b821b7be8de41.tar.gz |
add datedif
Calculates the number of days between two dates
Diffstat (limited to 'misc/datedif')
-rw-r--r-- | misc/datedif/Makefile | 22 | ||||
-rw-r--r-- | misc/datedif/distinfo | 1 | ||||
-rw-r--r-- | misc/datedif/files/patch-Makefile | 15 | ||||
-rw-r--r-- | misc/datedif/pkg-comment | 1 | ||||
-rw-r--r-- | misc/datedif/pkg-descr | 6 | ||||
-rw-r--r-- | misc/datedif/pkg-plist | 1 |
6 files changed, 46 insertions, 0 deletions
diff --git a/misc/datedif/Makefile b/misc/datedif/Makefile new file mode 100644 index 0000000..1f82e00 --- /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 0000000..f1ef69a --- /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 0000000..dc343b7 --- /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 0000000..c95eaf9 --- /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 0000000..d3a59e4 --- /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 0000000..cb87904 --- /dev/null +++ b/misc/datedif/pkg-plist @@ -0,0 +1 @@ +bin/datedif |