From owner-freebsd-ports@FreeBSD.ORG Thu Sep 18 06:46:29 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from straylight.ringlet.net (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with SMTP id 36EFF106566B for ; Thu, 18 Sep 2008 06:46:28 +0000 (UTC) (envelope-from roam@ringlet.net) Received: (qmail 2550 invoked by uid 1000); 18 Sep 2008 06:46:25 -0000 Date: Thu, 18 Sep 2008 09:46:25 +0300 From: Peter Pentchev To: Francisco Reyes Message-ID: <20080918064625.GA1118@straylight.m.ringlet.net> References: <48D09A6A.3060200@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="u3/rZRmxL6MmkK24" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: FreeBSD Ports Subject: Re: Source install to look like installed package X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2008 06:46:29 -0000 --u3/rZRmxL6MmkK24 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 17, 2008 at 04:40:59PM -0400, Francisco Reyes wrote: > Matthew Seaman writes: >=20 > > You mean you want to generate a /var/db/pkg/portname-1.2.3 > > directory with appropriate contents so you can wrangle a bunch > > of files already on your hard drive as if they were a port? >=20 > Yes. > =20 > > Actually, that's pretty much what the ports system does when you > > do an install from source. Check out the commands the 'do-package' > > target runs as shown in /usr/ports/Mk/bsd.port.mk >=20 >=20 > Ok. > =20 > > Submitting PRs with updates to bring the FreePascal port up to date > > will earn you karma points... >=20 > I am thinking perhaps start out with a "binary" port or a package until I= =20 > get familiar with the port system. In most cases that's actually a bit harder than doing a simple port :) Of course, there are applications that do not lend themselves to porting simply, but in most cases even the "Quick Porting" procedure described in the Porters Handbook[1] is enough to get you a working, albeit not picture-perfect, package. [1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@cnsys.bg roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 You have, of course, just begun reading the sentence that you have just fin= ished reading. --u3/rZRmxL6MmkK24 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjR+UAACgkQ7Ri2jRYZRVNs6gCgwgsuqEetm4QnMyiOH75yJafm sysAniJSFshBMrUJrCGzzo7r7TMEeM02 =8l+F -----END PGP SIGNATURE----- --u3/rZRmxL6MmkK24--