From owner-freebsd-ports@FreeBSD.ORG Sat Jun 4 16:23:00 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 8A9BE16A41C for ; Sat, 4 Jun 2005 16:23:00 +0000 (GMT) (envelope-from alejandro@varnet.biz) Received: from relay03.pair.com (relay03.pair.com [209.68.5.17]) by mx1.FreeBSD.org (Postfix) with SMTP id 1F39A43D48 for ; Sat, 4 Jun 2005 16:22:59 +0000 (GMT) (envelope-from alejandro@varnet.biz) Received: (qmail 26340 invoked from network); 4 Jun 2005 16:22:58 -0000 Received: from unknown (HELO phobos.mars.bsd) (unknown) by unknown with SMTP; 4 Jun 2005 16:22:58 -0000 X-pair-Authenticated: 200.115.214.28 Date: Sat, 4 Jun 2005 13:24:34 -0300 From: Alejandro Pulver To: freebsd-ports@freebsd.org Message-ID: <20050604132434.76d5405f@phobos.mars.bsd> X-Mailer: Sylpheed-Claws 1.0.4 (GTK+ 1.2.10; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: INSTALL_DIR or MKDIR ? 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: Sat, 04 Jun 2005 16:23:00 -0000 Hello, I noticed that some ports use INSTALL_DIR (custom, not in bsd.port.mk) instead of using MKDIR. The difference I noticed is that INSTALL_DIR explicity sets the permissions appropiately with INSTALL (owner, group and mode). The bsd.port.mk makefile warns if the mask is not 022, and if the user is not root. So is INSTALL_DIR needed (is better than MKDIR)? If yes, why it is not in bsd.port.mk? Thanks and Best Regards, Ale