From owner-freebsd-ports@FreeBSD.ORG Fri Mar 23 14:28:41 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AB042106566C for ; Fri, 23 Mar 2012 14:28:41 +0000 (UTC) (envelope-from scheidell@FreeBSD.org) Received: from mx1.secnap.com.ionspam.net (mx1.secnap.com.ionspam.net [204.89.241.253]) by mx1.freebsd.org (Postfix) with ESMTP id 7ADB78FC14 for ; Fri, 23 Mar 2012 14:28:41 +0000 (UTC) Received: from mx1.secnap.com.ionspam.net (mx1.secnap.com.ionspam.net [10.70.1.253]) by mx1.secnap.com.ionspam.net (Postfix) with ESMTP id DFB0E621C29 for ; Fri, 23 Mar 2012 10:28:34 -0400 (EDT) X-Virus-Scanned: SpammerTrap(r) VPS-1500 2.18 at mx1.secnap.com.ionspam.net Received: from USBCTDC001.secnap.com (usbctdc001.secnap.com [10.70.1.1]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.secnap.com.ionspam.net (Postfix) with ESMTPS id 37407621C06 for ; Fri, 23 Mar 2012 10:28:34 -0400 (EDT) Received: from MikeBook-Air.local (10.80.0.4) by USBCTDC001.secnap.com (10.70.1.1) with Microsoft SMTP Server (TLS) id 14.0.722.0; Fri, 23 Mar 2012 10:28:34 -0400 Message-ID: <4F6C8893.6040005@FreeBSD.org> Date: Fri, 23 Mar 2012 10:28:35 -0400 From: Michael Scheidell Organization: SECNAP Network Security Corp User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.7; en-US; rv:1.9.2.20) Gecko/20110804 Thunderbird/3.1.12 MIME-Version: 1.0 To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: why :: in ports makefile ? 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: Fri, 23 Mar 2012 14:28:41 -0000 I have never seen this before, and I wanted to know what it does. diff -ruN /tmp/p5-Mail-SpamAssassin.org/Makefile /tmp/p5-Mail-SpamAssassin/Makefile --- /tmp/p5-Mail-SpamAssassin.org/Makefile 2012-02-08 00:17:28.000000000 +0900 +++ /tmp/p5-Mail-SpamAssassin/Makefile 2012-03-06 08:55:28.445163638 +0900 @@ -219,7 +219,7 @@ .endif @${INSTALL_DATA} ${WRKSRC}/spamc/libspamc.h ${PREFIX}/include -post-install: +post-install:: .if defined (WITH_SPAMC) @${STRIP_CMD} ${PREFIX}/bin/spamc .endif (this patch was sent to me by the maintainer of ja-p5-Mail-SpamAssassin. I suggested that he change his port to a slave port so that it would be easier to follow, and he has done a good job. I just wanted to know what the differences are in the port Makefile between a ':' and a '::' Does this have to do with slave port(ish) things? does this force it to execute? what is it? Pardon my ignorance, I have just never seen this before in any port I have maintained, or worked on. (reference this PR for context) -- Michael Scheidell, CTO >*| * SECNAP Network Security Corporation d: +1.561.948.2259 w: http://people.freebsd.org/~scheidell