aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2005-09-28 16:37:35 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2005-09-28 16:37:35 +0000
commit073d5a597874a8cac6004d6cff7fb1514db38265 (patch)
tree73ad436fd1fba10bd3279a3f36e2ead835eeee1d /archivers
parent01f836b5beecb4f804d3a75819939e57ce4d3f83 (diff)
downloadports-073d5a597874a8cac6004d6cff7fb1514db38265.tar.gz
ports-073d5a597874a8cac6004d6cff7fb1514db38265.zip
Notes
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/