You've already forked macports-base
mirror of
https://github.com/macports/macports-base.git
synced 2026-07-12 18:18:43 -07:00
Add default value for workdir
git-svn-id: https://svn.macports.org/repository/macports/trunk/base@26 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
@@ -11,14 +11,13 @@ namespace eval portmain {
|
||||
}
|
||||
|
||||
# define globals: portname portversion categories maintainers
|
||||
globals portmain::options portname portversion portrevision categories maintainers workdir worksrc
|
||||
globals portmain::options portname portversion portrevision categories maintainers workdir worksrc no_worksubdir
|
||||
|
||||
# define options: portname, portversion, categories, maintainers
|
||||
options portmain::options portname portversion portrevision categories maintainers workdir worksrc
|
||||
options portmain::options portname portversion portrevision categories maintainers workdir worksrc no_worksubdir
|
||||
|
||||
proc portmain::main {args} {
|
||||
global portname
|
||||
# puts "Building port: $portname"
|
||||
# do nothing
|
||||
default portmain::options workdir work
|
||||
return 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user