From owner-freebsd-ports@FreeBSD.ORG Tue Aug 7 03:36:42 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C6AF9106566B for ; Tue, 7 Aug 2012 03:36:42 +0000 (UTC) (envelope-from itechbear@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8CF908FC08 for ; Tue, 7 Aug 2012 03:36:42 +0000 (UTC) Received: by obbun3 with SMTP id un3so8741707obb.13 for ; Mon, 06 Aug 2012 20:36:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=k9uvAzTuTwaU77Q/P4VSTxTLCnMUetyeCkuNh0D9B98=; b=HZWp6ks8m0Xu4evNZ/f1DyudBQKs7ZSrL1HelarqkVXn3j3lcyFKzY8JWPAYvf3GYV /xlTzaqwKsn4t92xssUS0QfaBxUemhAq3i/W5xF3JCHr4PhR4HvcHyFBfjJ78mfveeal Q1Mas29geVDN7OWHZI9Y3CgW/zkxIip56tOUAlrBpQmgt8KgPMgMd19hUAD/ShoylG7d /wUUdnbSjP2mHcCgpvjKNryajToqDhkU5rQYuA1VQw3llPfS/XigzTg/4ND18SRbwtLs vyC2snXQYsaBKLnuAJXyItoxZTgY7Au9NBGzVdVp3sOerj8ST8xo6nueVV7wg6CFNLDs WrHg== MIME-Version: 1.0 Received: by 10.182.144.68 with SMTP id sk4mr22766517obb.0.1344310601825; Mon, 06 Aug 2012 20:36:41 -0700 (PDT) Received: by 10.76.10.41 with HTTP; Mon, 6 Aug 2012 20:36:41 -0700 (PDT) Date: Tue, 7 Aug 2012 11:36:41 +0800 Message-ID: From: HU Dong To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: How to change docdir in port 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: Tue, 07 Aug 2012 03:36:42 -0000 Hi, all. I'm making a new port. It uses GNU configure to generate a GNU Makefile. But it set DOCSDIR to ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} instead of ${PREFIX}/share/doc/${PORTNAME}: *** docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION) *** I've tried post-patch, but it didn't help, cause post-patch phase is earlier than the time when GNU Makefile is generated. So how to modify the GNU Makefile to correct this problem? B.R. HU Dong