From owner-freebsd-ports@FreeBSD.ORG Wed Jul 13 07:30:08 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA22F16A41C for ; Wed, 13 Jul 2005 07:30:08 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from smtp.xbsd.org (xbsd.org [82.233.2.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B86643D46 for ; Wed, 13 Jul 2005 07:30:08 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id A0A791188B; Wed, 13 Jul 2005 09:31:29 +0200 (CEST) Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 94055-02; Wed, 13 Jul 2005 09:31:24 +0200 (CEST) Received: from [192.168.20.108] (unknown [217.15.95.90]) by smtp.xbsd.org (Postfix) with ESMTP id 5FB20115AF; Wed, 13 Jul 2005 09:31:24 +0200 (CEST) Message-ID: <42D4C2F0.7030801@xbsd.org> Date: Wed, 13 Jul 2005 09:29:52 +0200 From: Florent Thoumie User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Aldert Nooitgedagt References: In-Reply-To: X-Enigmail-Version: 0.92.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig47B5B8AC0E6773BD342DF3AD" X-Virus-Scanned: amavisd-new at xbsd.org Cc: freebsd-ports@freebsd.org Subject: Re: What does pkg_add need? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2005 07:30:09 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig47B5B8AC0E6773BD342DF3AD Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Aldert Nooitgedagt wrote: > Are there any specific docs that tell me what pkg_add needs? > > If a Makefile creates a fully functional port, it may be that pkg_add will > fail. > > Is it obligatory to add "@exec mkdir" for every directory that is created in > Makefile? You must use @mkdir to create any empty directory that your Makefile creates. > Is it obligatory to add @owner/@group to plist for every chown in Makefile? > Or should Makefile not contain any chown/chmod and should that always be > handled by pkg-install? I think it's better to put it in pkg-install indeed. -- Florent Thoumie flz@xbsd.org --------------enig47B5B8AC0E6773BD342DF3AD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFC1ML2MxEkbVFH3PQRAvZfAJsHBYf3Lbnhtgfs/ZlMS9tbjqTHZwCeMbVy wNdmSzV8Z9pVrG93+1v0i2Q= =8W5+ -----END PGP SIGNATURE----- --------------enig47B5B8AC0E6773BD342DF3AD--