aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
Diffstat (limited to 'archivers')
-rw-r--r--archivers/Makefile1
-rw-r--r--archivers/deb2targz/Makefile29
-rw-r--r--archivers/deb2targz/distinfo2
-rw-r--r--archivers/deb2targz/pkg-descr4
4 files changed, 36 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile
index ab5d5f1d7371..ff4ba0c376a7 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -13,6 +13,7 @@
SUBDIR += bzip2
SUBDIR += cabextract
SUBDIR += dact
+ SUBDIR += deb2targz
SUBDIR += deepforest
SUBDIR += dpkg
SUBDIR += dynamite
diff --git a/archivers/deb2targz/Makefile b/archivers/deb2targz/Makefile
new file mode 100644
index 000000000000..b847e9607cfa
--- /dev/null
+++ b/archivers/deb2targz/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: deb2targz
+# Date created: 27 Sep 2005
+# Whom: Emanuel Haupt <ehaupt@critical.ch>
+#
+# $FreeBSD$
+#
+
+PORTNAME= deb2targz
+PORTVERSION= 20021217
+CATEGORIES= archivers perl5
+MASTER_SITES= http://critical.ch/distfiles/
+
+MAINTAINER= ehaupt@critical.ch
+COMMENT= A command-line utility for converting a Debian .deb file to a .tar.gz
+
+USE_PERL5= yes
+USE_REINPLACE= yes
+NO_BUILD= yes
+
+PLIST_FILES= bin/deb2targz
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' \
+ ${WRKSRC}/${PORTNAME}
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/archivers/deb2targz/distinfo b/archivers/deb2targz/distinfo
new file mode 100644
index 000000000000..d44e2eeed2c9
--- /dev/null
+++ b/archivers/deb2targz/distinfo
@@ -0,0 +1,2 @@
+MD5 (deb2targz-20021217.tar.gz) = faa652c6447bd04ebb89d5d23c54f9a3
+SIZE (deb2targz-20021217.tar.gz) = 1275
diff --git a/archivers/deb2targz/pkg-descr b/archivers/deb2targz/pkg-descr
new file mode 100644
index 000000000000..c0c99fe50996
--- /dev/null
+++ b/archivers/deb2targz/pkg-descr
@@ -0,0 +1,4 @@
+deb2targz is a very small perl script for converting Debian Linux .deb packages
+to a .tar.gz. deb2targz does not need any external programs like 'ar' or 'tar'.
+
+WWW: http://www.miketaylor.org.uk/tech/deb/