From owner-freebsd-ports@FreeBSD.ORG Sun Jul 7 17:44:29 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E2089D31; Sun, 7 Jul 2013 17:44:29 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-pb0-x22a.google.com (mail-pb0-x22a.google.com [IPv6:2607:f8b0:400e:c01::22a]) by mx1.freebsd.org (Postfix) with ESMTP id BBC961DCB; Sun, 7 Jul 2013 17:44:29 +0000 (UTC) Received: by mail-pb0-f42.google.com with SMTP id un1so3550896pbc.29 for ; Sun, 07 Jul 2013 10:44:29 -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=/vWVERAuQF5TryzzcO+y3+gTe+dP/SoH3KLUV+KjO2I=; b=gJvhddS8HhIHchCz4BPzsAuhAhPfQ+ZQ6aBBdkCjiU1PUhhg5MvvfgqMyk8rEIGrAJ PDqO3H8sndUPy1qm/uzKyL6Q23WUz/z2c5CZOqtCELHsvm+cd4gddjkWyC7KCr/ls5Gy A8dAtjaw1MRx3+MK2oiKeuDmR5dOJWSVlU+NGl1cz0PBk35qRvZeYG84QultojDJur/8 iAwzaCah81xfWCBvQBx1RX+T4mC4l241kkdvcbTtyuYrP28Dw7pG+qkYA+U/ed4jqJW4 NGcCjTnubePvB5ftuQ0im8QqC1XK2xP403B5+LcQ/acFr9rv+Abtz07Gzjp7jAlcGHoU X8vA== MIME-Version: 1.0 X-Received: by 10.68.179.225 with SMTP id dj1mr17678505pbc.193.1373219069616; Sun, 07 Jul 2013 10:44:29 -0700 (PDT) Received: by 10.68.80.231 with HTTP; Sun, 7 Jul 2013 10:44:29 -0700 (PDT) In-Reply-To: References: Date: Sun, 7 Jul 2013 13:44:29 -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:44:30 -0000 oops forgot the pkg-plist: share/foo/foo.jar etc/rc.d/foo etc/foo/instances apache-tomcat-7.0/webapps/foo.war On Sun, Jul 7, 2013 at 1:42 PM, Aryeh Friedman wrote: > 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