aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/cabextract
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-11-30 22:21:28 +0800
committersobomax <sobomax@FreeBSD.org>2000-11-30 22:21:28 +0800
commitefbff4a14b9ff57242b6c990ac473d5b06019c6b (patch)
tree0143e3026fa67b0da3f96d602e7b0af956d9b353 /archivers/cabextract
parentc57c8360c77e04b928e1f05ed78d2a7cbe42cad2 (diff)
downloadfreebsd-ports-gnome-efbff4a14b9ff57242b6c990ac473d5b06019c6b.tar.gz
freebsd-ports-gnome-efbff4a14b9ff57242b6c990ac473d5b06019c6b.tar.zst
freebsd-ports-gnome-efbff4a14b9ff57242b6c990ac473d5b06019c6b.zip
Add cabextract - a program to extract Microsoft cabinet (.CAB) files.
Diffstat (limited to 'archivers/cabextract')
-rw-r--r--archivers/cabextract/Makefile31
-rw-r--r--archivers/cabextract/distinfo1
-rw-r--r--archivers/cabextract/pkg-comment1
-rw-r--r--archivers/cabextract/pkg-descr3
-rw-r--r--archivers/cabextract/pkg-plist1
5 files changed, 37 insertions, 0 deletions
diff --git a/archivers/cabextract/Makefile b/archivers/cabextract/Makefile
new file mode 100644
index 000000000000..42c95d2e43a6
--- /dev/null
+++ b/archivers/cabextract/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: cabextract
+# Date Created: 30 November 2000
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= cabextract
+PORTVERSION= 0.1
+CATEGORIES= archivers
+MASTER_SITES= http://www.kyz.uklinux.net/downloads/
+EXTRACT_SUFX= .c.gz
+EXTRACT_ONLY=
+
+MAINTAINER= sobomax@FreeBSD.org
+
+WRKSRC= ${WRKDIR}
+
+SRCFILE= ${WRKSRC}/${PORTNAME}.c
+PROGFILE= ${SRCFILE:S/.c$//}
+
+post-extract:
+ @${GZIP_CMD} -d -c ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} > ${SRCFILE}
+
+do-build:
+ ${CC} ${CFLAGS} -o ${PROGFILE} ${SRCFILE}
+
+do-install:
+ ${INSTALL_PROGRAM} ${PROGFILE} ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/archivers/cabextract/distinfo b/archivers/cabextract/distinfo
new file mode 100644
index 000000000000..36328b86e2dc
--- /dev/null
+++ b/archivers/cabextract/distinfo
@@ -0,0 +1 @@
+MD5 (cabextract-0.1.c.gz) = 3df43a423e67c187361492ace58830c1
diff --git a/archivers/cabextract/pkg-comment b/archivers/cabextract/pkg-comment
new file mode 100644
index 000000000000..c6ec00820e4b
--- /dev/null
+++ b/archivers/cabextract/pkg-comment
@@ -0,0 +1 @@
+A program to extract Microsoft cabinet (.CAB) files
diff --git a/archivers/cabextract/pkg-descr b/archivers/cabextract/pkg-descr
new file mode 100644
index 000000000000..c2d52d16a010
--- /dev/null
+++ b/archivers/cabextract/pkg-descr
@@ -0,0 +1,3 @@
+A program to extract Microsoft cabinet (.CAB) files.
+
+WWW: http://www.kyz.uklinux.net/cabextract.php3
diff --git a/archivers/cabextract/pkg-plist b/archivers/cabextract/pkg-plist
new file mode 100644
index 000000000000..8636d036641b
--- /dev/null
+++ b/archivers/cabextract/pkg-plist
@@ -0,0 +1 @@
+bin/cabextract