From owner-freebsd-questions@FreeBSD.ORG Wed Mar 29 10:20:17 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A5FE16A400 for ; Wed, 29 Mar 2006 10:20:17 +0000 (UTC) (envelope-from spil.oss@googlemail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5B3C43D53 for ; Wed, 29 Mar 2006 10:20:16 +0000 (GMT) (envelope-from spil.oss@googlemail.com) Received: by zproxy.gmail.com with SMTP id 18so188151nzp for ; Wed, 29 Mar 2006 02:20:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=UD5CKglgzyHayUCRWu6FtTXA0UT2FLKGe4KJNp0yFQOYP6tq7R3KGdCwKq/kBegVBZaRKuhnlD3uX7jEivxs6BhmgdTwPE/DfX2VvsfqqZNK+oGTNI2SZd9tzuZMm6bhB5L1qmJdg+1T62RD00eRv6FqDUOCUJjXXyz1pGMuoQk= Received: by 10.36.118.11 with SMTP id q11mr741240nzc; Wed, 29 Mar 2006 02:20:16 -0800 (PST) Received: by 10.36.128.18 with HTTP; Wed, 29 Mar 2006 02:20:15 -0800 (PST) Message-ID: <5fbf03c20603290220l358768fy@mail.gmail.com> Date: Wed, 29 Mar 2006 12:20:15 +0200 From: "Spil Oss" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Incorrect inline documentation in /usr/local/etc/pkgtools.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Mar 2006 10:20:17 -0000 Dear all, Spent a lot of time trying to get portupgrade to install phpbb in the directory I want. Tried a lot of things, but only when I found out that ports_glob does NOT return anything on 'www/phpbb-*' I could fix it. The inline documentation in pkgtools.conf lead me to believe I had to add MAKE_ARGS =3D { 'www/phpbb-*' =3D> 'WWWDOCROOT', } to my pkgtools.conf file to add it. Am I missing something here? There's many references to the / notation in the file and it seems that that doesn't get you the results you want. Any help appreciated! Spil. # MAKE_ARGS: hash # # This is a hash of ports glob or package glob =3D> arguments mapping. # portupgrade(1) and portinstall(1) look it up to pick command line # arguments to pass to make(1). You can use wildcards ("ports glob" # or "package glob"). If a port/package matches multiple entries, # all the arguments are joined using the space as separator. # # cf. -m/--make-args of portupgrade(1), ports_glob(1) # # You can alternatively specify a procedure instead of a string if # you want to specify arguments which can vary depending on the port. # The procedure is called with a port origin as an argument. # # e.g.: # MAKE_ARGS =3D { # 'databases/mysql323-*' =3D> 'WITH_CHARSET=3Dujis', # 'ruby18-*' =3D> 'RUBY_VER=3D1.8', # 'ruby16-*' =3D> 'RUBY_VER=3D1.6', # } # # To specify multiple arguments for each port, use one of the # following: # # MAKE_ARGS =3D { # # a) Separate them with the space # 'databases/mysql41-*' =3D> 'WITH_LINUXTHREADS=3D1 SKIP_DNS_CHECK=3D= 1', # # # b) Specify them using an array # 'databases/mysql41-*' =3D> [ # 'WITH_LINUXTHREADS=3D1', # 'SKIP_DNS_CHECK=3D1', # ], # }