From owner-freebsd-ports@freebsd.org Sun Dec 10 20:15:04 2017 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 5AFB6E9A29E for ; Sun, 10 Dec 2017 20:15:04 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-it0-x22e.google.com (mail-it0-x22e.google.com [IPv6:2607:f8b0:4001:c0b::22e]) (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 217CA80F92; Sun, 10 Dec 2017 20:15:04 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-it0-x22e.google.com with SMTP id x28so11421086ita.0; Sun, 10 Dec 2017 12:15:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=aauN/45nMWw1N8f6yzyFnCaya14f8d4JD9N9HRokBK4=; b=axMH5wy8PS1lTPJpVbyEvJfYnqD+6CU3Chbc3Jf3fPCSR2DtB45ygH5f6z/QTZDbeB hHCVBOUwIazc7KTwoZlAcKkA5Xf8khCosAkEdQR2Q0gtq7T/OmWgu/8mXKEIry/NaLt3 cMgNeXC8ipwwliVmoyCvC2vXM0xipx+G9BSTPdsL5FQKSSj/B8Q6b5XoY8J7ZjGr8V00 KXNZ6LUu8OAAtj9UJt0RWw7Rk9KqImk8j349AVC4gz4W562mytpU0ZNMAihi4cR/n0sp Reg5HrhQgtHqcOTB830pLt/2oA5Nb9L485glI6YE6oARvb+BZoXU19AF8IHba0CBcXDo 8mVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=aauN/45nMWw1N8f6yzyFnCaya14f8d4JD9N9HRokBK4=; b=LhhX6OQmIccYH9eWfT/MlaVG64ypsabEQ5NHykT9NtDtSZVYDBhn6qz+TL76FABeIr sVuohvfbaC1JsLP82JIF+qOA1YQwkj6gwagc3KJDgzVoG4A+Y1G+VvRz/KVm0FQm0lOq yU0TTxPuivT67W8Odadm62qYJOSoS90QkjexDegM2SkTEAykn1w6fzbA9HIO2uyHMahW MDogwCD14IBerJNrXgGv3i2uQ2HywngHf3p2yRGKwiCMVNRAXM6Pcdl8FeXCHTbFADae KIiwmRik++95dho+Ct7nvWR8MwFkRkRQcGa8wJmJqWXVbkXzeK7iNwsAygs0AXgky1zl 1nQw== X-Gm-Message-State: AJaThX783FtSeDbGQ1H1RlbPpL/qLKVt4fNlMYjG+JbSKgfq7Yf89/oD SfvL5kUHm4Vl56+YGZt76NFRGhBcS5ancHYePdU= X-Google-Smtp-Source: AGs4zMay2yOEV+H/CUudWL4ZbRzEIIDohnLwDXExOuD2CiB3o2qkYpp+NKgZYs2MQZwoPYtrCtStU4f2j7di5TAWApQ= X-Received: by 10.107.85.5 with SMTP id j5mr50544637iob.296.1512936903365; Sun, 10 Dec 2017 12:15:03 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.11.31 with HTTP; Sun, 10 Dec 2017 12:15:02 -0800 (PST) In-Reply-To: <5A2D912D.50204@grosbein.net> References: <3294bc10-633b-903d-1392-87447dcd05fd@FreeBSD.org> <5A2D912D.50204@grosbein.net> From: blubee blubeeme Date: Mon, 11 Dec 2017 04:15:02 +0800 Message-ID: Subject: Re: Linux ports tutorial? WPS Office To: Eugene Grosbein Cc: Pedro Giffuni , FreeBSD Ports Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Dec 2017 20:15:04 -0000 The first step would be to take a look at the source code the .tar file and see a list of dependencies, then check to see if those dependencies already have ports in FreeBSD ports tree. What are the dependencies described in the docs for that office suite? On Mon, Dec 11, 2017 at 3:55 AM, Eugene Grosbein wrote= : > 11.12.2017 2:22, Pedro Giffuni =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > Hello guys; > > > > I would like to attempt a port for WPS Office (AKA Kingsoft Office): > > > > http://wps-community.org/ > > > > Are there guidelines for linux ports? I couldn't find much details in > the handbook. > > > > In particular, how do you handle when the pkg-plist is different for > i386 and amd64? > > > > Some ports use pkg-plist.${ARCH} but I don't know how those work. > > Just have "USES=3Dlinux", "USE_LINUX_RPM=3Dyes" and make these two files > pkg-plist.i386 and pkg-plist.amd64 > and they are used automatically. Or you could duplicate a magic from > /ports/Mk/Uses/linux.mk in your Makefile: > > PLIST?=3D ${PKGDIR}/pkg-plist.${LINUX_ARCH:S/x86_64/amd64/} > > For details, read Porter's Handbook: https://www.freebsd.org/doc/ > en_US.ISO8859-1/books/porters-handbook/ > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >