3 # $NetBSD: configure,v 1.1 1998/07/17 04:43:25 tsarna Exp $
4 # FreeBSD Id: configure,v 1.1.1.1 1995/03/26 18:08:54 joerg Exp
6 # Author: Jörg Wunsch <joerg@FreeBSD.org>
7 # Date of creation: Mar 26, 1995
10 # we don't need Bruce's symlink, since bmake knows about .PATH
12 rm -f ${WRKSRC}/as/typeconv.o
14 # since we like the ease of BSD's fancy .include <> files, we wish to
15 # have an own directory for the compiler driver
17 mv ${WRKSRC}/bcc ${WRKSRC}/bcc-cc1
19 cp -p ${FILESDIR}/Makefile.bcc ${WRKSRC}/bcc/Makefile
21 # i wrote some man pages after Bruce's bcc.doc
22 cp -p ${FILESDIR}/ld86.1 ${WRKSRC}/ld/
23 cp -p ${FILESDIR}/as86.1 ${WRKSRC}/as/
24 cp -p ${FILESDIR}/bcc.1 ${WRKSRC}/bcc/
25 cp -p ${FILESDIR}/bcc-cc1.1 ${WRKSRC}/bcc-cc1/
27 # create a Makefile.inc to pass the local prefix down to
30 cat > ${WRKSRC}/Makefile.inc <<*EOF*
34 # This file has been created by the "configure" script; DO NOT EDIT.
36 # Edit the port's Makefile \${PREFIX} variable should you wish to
37 # override this, and reconfigure.
40 LOCALPREFIX = ${PREFIX}
42 # Make sure we always install man- and catpages to have a consistent PLIST
44 MANINSTALL= catinstall maninstall
47 # a simple Makefile to make all the subdirs
49 cat > ${WRKSRC}/Makefile <<*EOF*
51 SUBDIR = ld as bcc-cc1 bcc
53 .include <bsd.subdir.mk>