aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/deco
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2010-11-25 11:25:05 +0800
committerkevlo <kevlo@FreeBSD.org>2010-11-25 11:25:05 +0800
commit2eeefad11776babad4a9fc2dbea5311a8ae2568d (patch)
tree4d5a2241612b0680bc00889366eca3b8a4807029 /archivers/deco
parentbda6659c87aba85a4c7c07e40f6553934300a5f7 (diff)
downloadfreebsd-ports-gnome-2eeefad11776babad4a9fc2dbea5311a8ae2568d.tar.gz
freebsd-ports-gnome-2eeefad11776babad4a9fc2dbea5311a8ae2568d.tar.zst
freebsd-ports-gnome-2eeefad11776babad4a9fc2dbea5311a8ae2568d.zip
Handle xz compressed files
Diffstat (limited to 'archivers/deco')
-rw-r--r--archivers/deco/Makefile4
-rw-r--r--archivers/deco/files/extract3
2 files changed, 7 insertions, 0 deletions
diff --git a/archivers/deco/Makefile b/archivers/deco/Makefile
index e237131047f6..7c78038fbc3b 100644
--- a/archivers/deco/Makefile
+++ b/archivers/deco/Makefile
@@ -7,6 +7,7 @@
PORTNAME= deco
PORTVERSION= 1.6.2
+PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= http://hartlich.com/deco/download/:site1 \
http://hartlich.com/deco/archive/download/:site2
@@ -33,6 +34,9 @@ RUN_DEPENDS= arc:${PORTSDIR}/archivers/arc \
NO_LATEST_LINK= yes
CONFLICTS= deco-[0-9]*
+post-patch:
+ @${CP} ${FILESDIR}/extract ${WRKDIR}/${PORTNAME}-archive-1.5.1/"tar\.xz"
+
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS}
diff --git a/archivers/deco/files/extract b/archivers/deco/files/extract
new file mode 100644
index 000000000000..9674892164c9
--- /dev/null
+++ b/archivers/deco/files/extract
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec tar xJ${Verbose+vv}f "$1"