Skip to content
Browse files

default extract_sufx

git-svn-id: d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
landonf committed Aug 21, 2002
1 parent e305f53 commit 3988d9e311e64a86867666803ebc3b05473f532f
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/port1.0/portfetch.tcl
@@ -14,9 +14,12 @@ register swdep build depends_fetch
# define options: distname master_sites
options master_sites patch_sites extract_sufx distfiles extract_only patchfiles use_zip use_bzip2

# Defaults
default extract_sufx tar.gz

proc suffix {distname} {
global extract_sufx use_bzip2 use_zip
if {[tbool extract_sufx]} {
if {[info exists extract_sufx]} {
return ${distname}.${extract_sufx}
} elseif {[tbool use_bzip2]} {
return ${distname}.tar.bz2

0 comments on commit 3988d9e

Please sign in to comment.
You can’t perform that action at this time.