Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 2017 04:15:02 +0800
From:      blubee blubeeme <gurenchan@gmail.com>
To:        Eugene Grosbein <eugen@grosbein.net>
Cc:        Pedro Giffuni <pfg@freebsd.org>, FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: Linux ports tutorial? WPS Office
Message-ID:  <CALM2mEm-hTCJEsZB=wUZJqLYVyu6eLwcuZOX%2BOWS34z_hErZQw@mail.gmail.com>
In-Reply-To: <5A2D912D.50204@grosbein.net>
References:  <3294bc10-633b-903d-1392-87447dcd05fd@FreeBSD.org> <5A2D912D.50204@grosbein.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <eugen@grosbein.net> 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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALM2mEm-hTCJEsZB=wUZJqLYVyu6eLwcuZOX%2BOWS34z_hErZQw>