Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jul 2013 10:53:13 -0700
From:      Jason Helfman <jgh@FreeBSD.org>
To:        Aryeh Friedman <aryeh.friedman@gmail.com>
Cc:        Jason Helfman <jgh@freebsd.org>, FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: help with making a port
Message-ID:  <CAMuy=%2BiMOCNZBC32SLASRWu-VEdR9yuQEgksL4BYZvOrhFt4kw@mail.gmail.com>
In-Reply-To: <CAGBxaX=v=eufrCXkdADak6AKOCsEYH90ZPONdfrXqiYpGeiVqw@mail.gmail.com>
References:  <CAGBxaX=ADvMCtLy2CQcNZE6%2Bz-oUrFQpexQRSw24QdC4Lt2vzg@mail.gmail.com> <CAMuy=%2BiOVnK4ysfV%2BJUKhC5JSC8Vfg69tcQ-cpJtNzbVfTZ=Hw@mail.gmail.com> <CAGBxaX=g12un73YAJU-v3AFyMWoGWbA5RJh8d9L_oCEB2GuEiQ@mail.gmail.com> <CAGBxaX=v=eufrCXkdADak6AKOCsEYH90ZPONdfrXqiYpGeiVqw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 7, 2013 at 10:44 AM, Aryeh Friedman <aryeh.friedman@gmail.com>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 <aryeh.friedman@gmail.com>
> 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 <bsd.port.mk>
> >
> >
>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMuy=%2BiMOCNZBC32SLASRWu-VEdR9yuQEgksL4BYZvOrhFt4kw>