From owner-freebsd-ports@FreeBSD.ORG Thu Dec 6 12:34:10 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED10516A417 for ; Thu, 6 Dec 2007 12:34:10 +0000 (UTC) (envelope-from godpost@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.190]) by mx1.freebsd.org (Postfix) with ESMTP id B65DB13C47E for ; Thu, 6 Dec 2007 12:34:10 +0000 (UTC) (envelope-from godpost@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so255665rvb for ; Thu, 06 Dec 2007 04:34:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:references:subject:date:mime-version:content-type:content-transfer-encoding:x-priority:x-msmail-priority:x-mailer:x-mimeole; bh=EFM7RsGuo6l/1MYPL8vK7NU5blZlkfl7AVT87tPeFp0=; b=CRm5rN8ikgtS9thU8CpI/FVF342dHexQMqoiwsjCb+GVwy4N7GvddX94QyqOePHuy9nLduyAJRqDwch8/Nw3GydZNQo6dSDwaVPcEhFj3l6uxR+kGXRxBYckodmf07B79n0P+AxbNhoSQLNeoeJPL3pDhyRq2EDnRh59a+A3T4c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:references:subject:date:mime-version:content-type:content-transfer-encoding:x-priority:x-msmail-priority:x-mailer:x-mimeole; b=HE/8hFvN4zHqN6Kq6su0Hkr4T41UFoP4SM/qQo/ORLPw6lF8lxxOXz9aZX5OFCtVQ26w3aYupRq6nB/wxEVsMPwYTI0hz3Zwg38zK1vsrDzIl3LyVh37I1EroykIhYl/jfQVpVGFWfO1Ng0bhiN9VE+IX+WcoLDi6kUYzCW8lBo= Received: by 10.141.20.7 with SMTP id x7mr1919399rvi.1196944449122; Thu, 06 Dec 2007 04:34:09 -0800 (PST) Received: from pi ( [212.242.117.72]) by mx.google.com with ESMTPS id 32sm692524ugf.2007.12.06.04.34.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 06 Dec 2007 04:34:06 -0800 (PST) Message-ID: <007601c83804$4b014c20$6300000a@pi> From: "GP" To: References: <002401c8352b$9ba33750$6300000a@pi> <001c01c835f6$8165ab90$6300000a@pi> <000801c83672$46c079d0$6300000a@pi> Date: Thu, 6 Dec 2007 13:34:05 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Subject: Re: HELP needed by experienced porter for simple review 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: Thu, 06 Dec 2007 12:34:11 -0000 > - Respect the CC, CFLAGS and LOCALBASE. See in post-patch. > - Add kissdx.in in 'files' directory. > - Remove that add_to_conf stuff in Makefile, use pkg-message. Thank you Mezz, for going through my makefiles and making it conform to the principals of the ports system. That was a very big help to me and an effort beyond expectation. It gave me a new understanding of /files that I will pass on to the doc team and hopefully into the next version of porters handbook. rc.conf It's a shame that I can't use a script placed in /files to change rc.conf during install/ deinstall. I really liked that. But i guess I will settle with a dull pkg-message at the end, like the rest of you... Source Makefile Since I made the (simple) source Makefile, I would have liked to take advantage of the many predefined macros/variables i the port Makefile. It seems strange to me, to pass them as a patch (like this: s|CC?= gcc|CC?= ${CC}|g ) How many of them if any, are passed on to the source makefile? Are there a way to turn them all on? if that: any documentation? (except the bsd.ports.mk file) BR, Simon