From owner-freebsd-ports@freebsd.org Tue Jul 7 13:19:27 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 325DE995E82 for ; Tue, 7 Jul 2015 13:19:27 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BF4F4191A for ; Tue, 7 Jul 2015 13:19:26 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by wiwl6 with SMTP id l6so314454801wiw.0 for ; Tue, 07 Jul 2015 06:19:25 -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 :cc:content-type; bh=LgklZLa6aNSwTxRzpVEUuYuDxw8/Xk0KzAB+8hMHkkk=; b=u8dM+K6keZh3SGAIiAtH37Xqoot4zpzLH7hCbNuww/UW+gVwCzT/GYNhYltmo8hGUK 57OcDUVZqDaBToXWFGB5lcvzkM+9Sh8AwU7bKIiVwhCNe80cIm3kQr3Vkxx+yK4kUGOE 3qDSBAWzZfucecz+vhM+8wz48mD/nS8VCuGuSev9OkWMX+sj6CfhTEEYEyrz+m2lDm0J tOB3Rp7kDHc//Z8avqv4jJkgMjGSCrjx131yD/3Fco0h2aqyDxEcfGOgeqdi5zcexbTO pFCXIq98dldO5ZstPcNLJ7QsfzG7+MUi4P3KsYRsDPWyierGgC2xt71W2Xd5GDzIK7iO +faA== MIME-Version: 1.0 X-Received: by 10.194.75.132 with SMTP id c4mr8074948wjw.80.1436275165123; Tue, 07 Jul 2015 06:19:25 -0700 (PDT) Received: by 10.180.37.107 with HTTP; Tue, 7 Jul 2015 06:19:24 -0700 (PDT) Received: by 10.180.37.107 with HTTP; Tue, 7 Jul 2015 06:19:24 -0700 (PDT) In-Reply-To: <771808828.596067.1436274693657.JavaMail.yahoo@mail.yahoo.com> References: <771808828.596067.1436274693657.JavaMail.yahoo@mail.yahoo.com> Date: Tue, 7 Jul 2015 15:19:24 +0200 Message-ID: Subject: Re: NEW PORT for librdkafka From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= To: xoan carlos Cc: FreeBSD Mailing List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jul 2015 13:19:27 -0000 El 07/07/2015 15:14, "xoan carlos via freebsd-ports" < freebsd-ports@freebsd.org> escribi=C3=B3: > > Hi im trying to create and submit a NEW PORT for librdkafka. It compiles ok but it get installed in the stage directory (/usr/ports/devel/librdkafka/work/stage/usr/local/lib) and not in /usr/local/lib. Any idea what additional step is needed to install it in the right directory instead of the jail environment? > the makefile is as simple as > # $FreeBSD$ > PORTNAME=3D librdkafkaPORTVERSION=3D 0.8.6CATEGORIES=3D deve= l > MAINTAINER=3D youremail@example.comCOMMENT=3D librdkafka > USE_GITHUB=3D yesGH_ACCOUNT=3D edenhillGH_PROJECT=3D librdkafkaGH_TAGNAME=3D 25d8791 > USES=3D gmakeUSE_LDCONFIG=3D yesGNU_CONFIGURE=3D yes > post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so.include It should install under the staging directory during development. After that, the ports infrastructure will check that everything installed in the appropriate paths. I recommend to use poudriere and/or port test (part of porttools) to check that everything is fine. Regards. > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"