Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Aug 2002 23:39:53 +0200
From:      Tilman Linneweh <tilman@arved.de>
To:        Kevin Golding <kevin@caomhin.demon.co.uk>
Cc:        ports@freebsd.org
Subject:   Re: making a new port - make install wants to strip a shell script
Message-ID:  <20020818213953.GA96785@arved.de>
In-Reply-To: <zD1YzcBK3$X9EwjV@caomhin.demon.co.uk>
References:  <6knqakBAw4X9EwwV@caomhin.demon.co.uk> <zD1YzcBK3$X9EwjV@caomhin.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

--qDbXVdCdHGoSgWSk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

In arved.freebsd.ports, you wrote:
>>> All I've added has been a little shell script that makes the Makefile
>>> usable by the ports system, seriously low grade tinkering.
>>
>>Huh? I don't think I understand what you are doing here.
>=20
> While I'm finding my way around I hit a problem with the compile.  It
> seems that within the ports system it defaults to assuming it will find
> a Makefile, but allegro produces a makefile.  So I used the scripts
> directory and made a file post-configure like this:
>=20
> #!/bin/sh
>=20
> mv ${WRKSRC}/makefile ${WRKSRC}/Makefile

This is not necessary.
Just set:

MAKEFILE=3D	makefile

in the port.

I suggest you take a look into bsd.port.mk

regards
arved

--qDbXVdCdHGoSgWSk
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9YBQnfCLDn4B6xToRApQEAJ9UI3gcBMnzKnq5r7pvhfWzXJ/BpgCfZ4lB
eGQUJsfd3D/RO/619UwAsqs=
=FsuO
-----END PGP SIGNATURE-----

--qDbXVdCdHGoSgWSk--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020818213953.GA96785>