Date: Wed, 13 Dec 2017 18:11:02 -0800 From: "Chris H" <portmaster@BSDforge.com> To: "Pedro Giffuni" <pfg@FreeBSD.org> Cc: "Eugene Grosbein" <eugen@grosbein.net>, <freebsd-ports@freeBSD.org> Subject: Re: Linux ports tutorial? WPS Office Message-ID: <73820d5ad4436c73fe47d0b35a112cf5@udns.ultimatedns.net> In-Reply-To: <42658492-7371-35f2-0782-0461437ae053@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 13 Dec 2017 19:56:24 -0500 "Pedro Giffuni" <pfg@FreeBSD=2Eorg> said > On 12/10/17 14:55, Eugene Grosbein wrote: > > 11=2E12=2E2017 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=2Eorg/ > >> > >> Are there guidelines for linux ports? I couldn't find much details in = the > > handbook=2E > >> > >> In particular, how do you handle when the pkg-plist is different for i= 386 > > and amd64? > >> > >> Some ports use pkg-plist=2E${ARCH} but I don't know how those work=2E > > Just have "USES=3Dlinux", "USE_LINUX_RPM=3Dyes" and make these two file= s > > pkg-plist=2Ei386 and pkg-plist=2Eamd64 > > and they are used automatically=2E Or you could duplicate a magic from > > /ports/Mk/Uses/linux=2Emk in your Makefile: > > > > PLIST?=3D ${PKGDIR}/pkg-plist=2E${LINUX_ARCH:S/x86_64/amd64/} > > > > For details, read Porter's Handbook: > > https://www=2Efreebsd=2Eorg/doc/en_US=2EISO8859-1/books/porters-handbook/ > > >=20 > The handbook has no information about "USE_LINUX_RPM=3Dyes"=2E > If I set that it appears the ports framework will ignore MASTER_SITES=2E >=20 > Should I dig into the MK framework to see how to change the repository=20 > or should I use the =2Etar=2Exz distribution instead? :(=2E I'm not sure=2E But would having a look at the way emulators/linux_base-c(6|7= ) provide some clues? Just a thought, and hope it helps! --Chris >=20 > Pedro=2E
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?73820d5ad4436c73fe47d0b35a112cf5>