From owner-freebsd-ports@FreeBSD.ORG Sun Jul 7 17:53:19 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 911E7F47 for ; Sun, 7 Jul 2013 17:53:19 +0000 (UTC) (envelope-from bsd-src@helfman.org) Received: from mail-pb0-f48.google.com (mail-pb0-f48.google.com [209.85.160.48]) by mx1.freebsd.org (Postfix) with ESMTP id 6C68F1E06 for ; Sun, 7 Jul 2013 17:53:19 +0000 (UTC) Received: by mail-pb0-f48.google.com with SMTP id ma3so3536170pbc.21 for ; Sun, 07 Jul 2013 10:53:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=Z4NHvB05x/iGpnkZ/uqb2puX/kmB22ptXtElAdtUaX0=; b=VKr2TtuOwjZrnO0QAiVdEn8AdhR7bK4HzedQF0d2I/JTaBgNg+7qsxsOUdQ4cxF3qC TtFGDnYgOf2NDd9prxmIMC+zTzLgNDGJoGL1Ic2n23uzLysefzYWBwHOw019KeKjlNHM Nwhn1YnGkQC3X2tgq43903qVlX22dIlETc8g4eawxcDxdG1WMf9sq5ogyN8bWoswnuuY czxeRYg8AyD+02VWXzVQSE3GHsY0tjeu7b00CQ7Ar6d9nzuBogtRb2UVhE6IH6ZbOb5O uvBR+CPEpnoc33o1Ou7JbjTfL8EtlA0exGU/gJjdVPrpPdwdEbi0FUnxFpBd18EOwe5k ZZhQ== MIME-Version: 1.0 X-Received: by 10.66.121.170 with SMTP id ll10mr19286210pab.126.1373219593478; Sun, 07 Jul 2013 10:53:13 -0700 (PDT) Sender: bsd-src@helfman.org Received: by 10.70.1.226 with HTTP; Sun, 7 Jul 2013 10:53:13 -0700 (PDT) In-Reply-To: References: Date: Sun, 7 Jul 2013 10:53:13 -0700 X-Google-Sender-Auth: Cr67PS2Kh-2tS8BwsXrc_y3xph0 Message-ID: Subject: Re: help with making a port From: Jason Helfman To: Aryeh Friedman X-Gm-Message-State: ALoCoQkhGbFtEUio1Yn+vBwlKi4Lf6U4C7PMzpNylmEi9eAeAwDlci5kf3YeoFlFDRlEQLeqSL1m Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Jason Helfman , FreeBSD Ports ML 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:53:19 -0000 On Sun, Jul 7, 2013 at 10:44 AM, Aryeh Friedman wrote: > 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 > > > > > Well, nothing looks suspect at this point. Perhaps you have another port installed that is conflicting with the same file that is installed in that location. Maybe see what package that file in conflict is registered to. On a side note, it is highly unrecommended to install a war file, as that will leave the filesystem unclean on de-installation. It is standard practice to expand the war file in the work directory of the port, then install the files contained within the war under the application server (such as tomcat), and add those files to the plist. I have many examples of this if you need assistance. -jgh -- Jason Helfman | FreeBSD Committer jgh@FreeBSD.org | http://people.freebsd.org/~jgh | The Power to Serve