From owner-freebsd-ports@FreeBSD.ORG Sun Jul 7 17:42:08 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E1F53A0D; Sun, 7 Jul 2013 17:42:08 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-pa0-x233.google.com (mail-pa0-x233.google.com [IPv6:2607:f8b0:400e:c03::233]) by mx1.freebsd.org (Postfix) with ESMTP id BD4381D73; Sun, 7 Jul 2013 17:42:08 +0000 (UTC) Received: by mail-pa0-f51.google.com with SMTP id lf11so3630338pab.24 for ; Sun, 07 Jul 2013 10:42:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=X9a27P/3sbAEpjxFLMlfeoS3gP7ypxz6YAMv2qAybs0=; b=Cyhys0f/ESVsE4Wd8zL3fRylRV1mtK3IQ4YGhMip4Y313CLKqswJr0MQuNpLdo6IYE a3E+usZD2Mex/k3D5IcyRiPc3P9YZm0oc+nThhSdfT9pK6NA6LIGGcOZgyCGQOIil3q/ 0WdWmwQt6gUsgT1y1YBrDtjlxuWqJzkWo34Ik+YjYNcGwKLBaxkOj+6/zwgdLJwxTwSs VHmRdd2VWqpMAqJUu7rrLPFVcozaYJJVbj7QRv+LnR4rJEgULKfBqIDQhO+2XzlNAd/6 cc7lX5qereUrmMCj70/sDhHp0cO7bEAl0ClKMsGRompim8H3sy2o1rOMwe9B1D7G2oHj 8buA== MIME-Version: 1.0 X-Received: by 10.68.197.98 with SMTP id it2mr17695958pbc.200.1373218928607; Sun, 07 Jul 2013 10:42:08 -0700 (PDT) Received: by 10.68.80.231 with HTTP; Sun, 7 Jul 2013 10:42:08 -0700 (PDT) In-Reply-To: References: Date: Sun, 7 Jul 2013 13:42:08 -0400 Message-ID: Subject: Re: help with making a port From: Aryeh Friedman To: Jason Helfman , FreeBSD Ports ML Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jul 2013 17:42:09 -0000 It uses a non-standard build system (devel/cook) but here is the Makefile for the port itself (not the program). Also note for legal reasons (we are still in the process of getting a trademark on the name) I have changed the actual port name, category and comment [the real values are known to one of the 10-CURRENT developers we are working with though]. Also note I have not added any of the depends stuff yet: # $FreeBSD$ PORTNAME= foo PORTVERSION= 0.1 CATEGORIES= bar MASTER_SITES= ftp://foo.org/foo/ MAINTAINER= support@foo.org COMMENT= A foobar platform .include On Sun, Jul 7, 2013 at 1:36 PM, Jason Helfman wrote: > On Sun, Jul 7, 2013 at 10:12 AM, Aryeh Friedman > wrote: >> >> I am attempting to put together a port for a new program and I am >> getting a very odd error message (i.e. it says the port conflicts with >> itself!?!?!?!): >> >> pkg-static: foo-0.1 conflicts with foo-0.1 (installs files into the >> same place). Problematic file: /usr/local/share/foo/foo.jar >> >> What causes this and how do I fix the make file? > > > Posting your port code can only help in assisting. > > Thanks. > > -jgh > > -- > Jason Helfman | FreeBSD Committer > jgh@FreeBSD.org | http://people.freebsd.org/~jgh | The Power to Serve