aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1999-02-03 19:12:01 +0800
committerasami <asami@FreeBSD.org>1999-02-03 19:12:01 +0800
commitaa52cd921c82a10ec33065084fe0edb5cf8bebbc (patch)
treeb70284a297d2e3c06462e3a3a86166c4371477f9 /archivers
parentdd1603cad7e60d10dd91a2f1f918e24ed859ed24 (diff)
downloadfreebsd-ports-gnome-aa52cd921c82a10ec33065084fe0edb5cf8bebbc.tar.gz
freebsd-ports-gnome-aa52cd921c82a10ec33065084fe0edb5cf8bebbc.tar.zst
freebsd-ports-gnome-aa52cd921c82a10ec33065084fe0edb5cf8bebbc.zip
Adjust port Makefiles to new EXTRACT_* variable defaults. See log of
bsd.port.mk rev. 1.304 for details on the change. The fix here is one of the following. (1) Define USE_BZIP2 instead of BUILD_DEPENDS on bzip2 and redefining EXTRACT_* commands. (2) Change ${EXTRACT_CMD} to ${TAR} when the command is obviously calling the "tar" command (i.e., arguments like "-xzf" are spelled out). (3) If ${EXTRACT_CMD} is called directly with ${EXTRACT_BEFORE_ARGS}, add ${EXTRACT_AFTER_ARGS} to the command line as well. (4) If any of EXTRACT_CMD, EXTRACT_BEFORE_ARGS or EXTRACT_AFTER_ARGS is set, define the other two too.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/ark/Makefile8
-rw-r--r--archivers/rar/Makefile7
2 files changed, 6 insertions, 9 deletions
diff --git a/archivers/ark/Makefile b/archivers/ark/Makefile
index 1f62668bfa0c..d4a56406d055 100644
--- a/archivers/ark/Makefile
+++ b/archivers/ark/Makefile
@@ -3,7 +3,7 @@
# Date created: 28 October 1997
# Whom: Stefan Eßer <se@freebsd.org>
#
-# $Id: Makefile,v 1.23 1999/01/07 00:51:50 se Exp $
+# $Id: Makefile,v 1.24 1999/01/08 09:54:20 asami Exp $
#
DISTNAME= kdeutils
@@ -15,15 +15,11 @@ EXTRACT_SUFX= -1.1-alpha1.src.tar.bz2
MAINTAINER= se@freebsd.org
-BUILD_DEPENDS= bzip2:${PORTSDIR}/archivers/bzip2
LIB_DEPENDS= gif.3:${PORTSDIR}/graphics/giflib \
jpeg.9:${PORTSDIR}/graphics/jpeg \
kdecore.2:${PORTSDIR}/x11/kdelibs11
-EXTRACT_CMD= bzip2
-EXTRACT_BEFORE_ARGS= -cd
-EXTRACT_AFTER_ARGS= | tar xf -
-
+USE_BZIP2= yes
USE_QT= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= "--prefix=$(PREFIX)" \
diff --git a/archivers/rar/Makefile b/archivers/rar/Makefile
index c339318008e0..853a867b1f83 100644
--- a/archivers/rar/Makefile
+++ b/archivers/rar/Makefile
@@ -4,7 +4,7 @@
# Date created: 15 May 1996
# Whom: ache
#
-# $Id: Makefile,v 1.10 1998/11/14 09:43:01 asami Exp $
+# $Id: Makefile,v 1.11 1998/12/12 16:23:37 obrien Exp $
#
DISTNAME= rarbsd
@@ -18,8 +18,9 @@ MAINTAINER= ache@FreeBSD.ORG
NO_PACKAGE= Only unmodified original package can be distributed
NO_WRKSUBDIR= yes
-EXTRACT_CMD=
-EXTRACT_BEFORE_ARGS=
+EXTRACT_CMD= # empty
+EXTRACT_BEFORE_ARGS= # empty
+EXTRACT_AFTER_ARGS= # empty
.include <bsd.port.pre.mk>