aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2005-10-13 20:38:35 +0800
committermnag <mnag@FreeBSD.org>2005-10-13 20:38:35 +0800
commit57b3b32b4db725c88cfa5c8efefd057907bcc21b (patch)
treeb6a600a4653c87d0eda467069ab95908f6351079 /sysutils
parent2a32bf87a038741ed6c3be8b25440dabff184724 (diff)
downloadfreebsd-ports-gnome-57b3b32b4db725c88cfa5c8efefd057907bcc21b.tar.gz
freebsd-ports-gnome-57b3b32b4db725c88cfa5c8efefd057907bcc21b.tar.zst
freebsd-ports-gnome-57b3b32b4db725c88cfa5c8efefd057907bcc21b.zip
New port
Dvdimagecmp is a small program to compare an image to a burned disc. It is not limited to dvds, and supports offsets. WWW: http://www.ibiblio.org/pub/linux/apps/video/dvdimagecmp-0.3.lsm PR: 87303 Submitted by: Tim Welch <twelch@thepentagon.org>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/dvdimagecmp/Makefile29
-rw-r--r--sysutils/dvdimagecmp/distinfo2
-rw-r--r--sysutils/dvdimagecmp/files/patch-dvdimagecmp.c15
-rw-r--r--sysutils/dvdimagecmp/pkg-descr5
5 files changed, 52 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index f852e06a9c71..ece2527bfc9c 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -123,6 +123,7 @@
SUBDIR += durep
SUBDIR += dvd+rw-tools
SUBDIR += dvdbackup
+ SUBDIR += dvdimagecmp
SUBDIR += dvdtape
SUBDIR += dwatch
SUBDIR += e2fsprogs
diff --git a/sysutils/dvdimagecmp/Makefile b/sysutils/dvdimagecmp/Makefile
new file mode 100644
index 000000000000..62e6c3ad12b6
--- /dev/null
+++ b/sysutils/dvdimagecmp/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: dvdimagecmp
+# Date created: 11 October 2005
+# Whom: Tim Welch <twelch@thepentagon.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dvdimagecmp
+PORTVERSION= 0.3
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= apps/video
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= twelch@thepentagon.org
+COMMENT= A simple tool for comparing an image to a burned disc
+
+USE_GMAKE= yes
+CFLAGS+= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+
+PLIST_FILES= bin/dvdimagecmp
+
+do-build:
+ (cd ${WRKSRC}; ${CC} ${CFLAGS} -o dvdimagecmp dvdimagecmp.c )
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/dvdimagecmp ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/sysutils/dvdimagecmp/distinfo b/sysutils/dvdimagecmp/distinfo
new file mode 100644
index 000000000000..2885847c540d
--- /dev/null
+++ b/sysutils/dvdimagecmp/distinfo
@@ -0,0 +1,2 @@
+MD5 (dvdimagecmp-0.3.tgz) = e1c42f7b7c6ae96723f00d45173b7b3c
+SIZE (dvdimagecmp-0.3.tgz) = 10483
diff --git a/sysutils/dvdimagecmp/files/patch-dvdimagecmp.c b/sysutils/dvdimagecmp/files/patch-dvdimagecmp.c
new file mode 100644
index 000000000000..18a9198bf22a
--- /dev/null
+++ b/sysutils/dvdimagecmp/files/patch-dvdimagecmp.c
@@ -0,0 +1,15 @@
+--- dvdimagecmp.c.orig Tue Jan 4 11:54:52 2005
++++ dvdimagecmp.c Thu Oct 13 09:29:12 2005
+@@ -27,9 +27,11 @@
+ #define _FILE_OFFSET_BITS 64
+
+ #include <stdlib.h>
++#include <string.h>
++#include <sys/types.h>
+ #include <errno.h>
+ #include <stdio.h>
+-#include <getopt.h>
++#include <unistd.h>
+ #include <errno.h>
+ #include <ctype.h>
+ #include <time.h>
diff --git a/sysutils/dvdimagecmp/pkg-descr b/sysutils/dvdimagecmp/pkg-descr
new file mode 100644
index 000000000000..785849930535
--- /dev/null
+++ b/sysutils/dvdimagecmp/pkg-descr
@@ -0,0 +1,5 @@
+Dvdimagecmp is a small program to compare an image to a
+burned disc. It is not limited to dvds, and supports offsets.
+
+WWW: http://www.ibiblio.org/pub/linux/apps/video/dvdimagecmp-0.3.lsm
+Author: Tim Welch <twelch@thepentagon.org>