head	1.3;
access;
symbols
	RELEASE_8_3_0:1.3
	RELEASE_9_0_0:1.3
	RELEASE_7_4_0:1.3
	RELEASE_8_2_0:1.3
	RELEASE_6_EOL:1.3
	RELEASE_8_1_0:1.3
	RELEASE_7_3_0:1.3
	RELEASE_8_0_0:1.3
	RELEASE_7_2_0:1.3
	RELEASE_7_1_0:1.3
	RELEASE_6_4_0:1.3
	RELEASE_5_EOL:1.3
	RELEASE_7_0_0:1.3
	RELEASE_6_3_0:1.3
	PRE_XORG_7:1.3
	RELEASE_4_EOL:1.3
	RELEASE_6_2_0:1.3
	RELEASE_6_1_0:1.3
	RELEASE_5_5_0:1.3
	RELEASE_6_0_0:1.3
	RELEASE_5_4_0:1.3
	RELEASE_4_11_0:1.3
	RELEASE_5_3_0:1.3
	RELEASE_4_10_0:1.3
	RELEASE_5_2_1:1.3
	RELEASE_5_2_0:1.3
	RELEASE_4_9_0:1.3
	RELEASE_5_1_0:1.3
	RELEASE_4_8_0:1.3
	RELEASE_5_0_0:1.3
	RELEASE_4_7_0:1.3
	RELEASE_4_6_2:1.3
	RELEASE_4_6_1:1.3
	RELEASE_4_6_0:1.3
	RELEASE_5_0_DP1:1.3
	RELEASE_4_5_0:1.3
	RELEASE_4_4_0:1.3
	RELEASE_4_3_0:1.3
	RELEASE_4_2_0:1.3
	RELEASE_4_1_1:1.3
	RELEASE_4_1_0:1.3
	RELEASE_3_5_0:1.3
	RELEASE_4_0_0:1.3
	RELEASE_3_4_0:1.3
	RELEASE_3_3_0:1.3
	RELEASE_3_2_0:1.3
	RELEASE_3_1_0:1.3
	RELEASE_2_2_8:1.3
	RELEASE_3_0_0:1.3
	RELEASE_2_2_7:1.3
	RELEASE_2_2_6:1.3
	RELEASE_2_2_5:1.3
	RELEASE_2_2_1:1.3
	RELEASE_2_2_2:1.3
	p2c:1.1.1.1;
locks; strict;
comment	@# @;


1.3
date	94.10.20.01.51.56;	author jkh;	state Exp;
branches;
next	1.2;

1.2
date	94.10.04.15.11.58;	author jkh;	state Exp;
branches;
next	1.1;

1.1
date	94.10.04.04.10.05;	author jkh;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	94.10.04.04.10.06;	author jkh;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Changes from Jean-Marc Zucconi to obey PREFIX properly.
Submitted by:	jmz
@
text
@#!/bin/sh

cat >>$WRKSRC/Makefile <<END || exit 1;

all:
	cd src; make OPT=-O
END

mv $WRKSRC/src/p2cc.perl $WRKSRC/src/p2cc.perl.orig || exit 1;
sed -e 1s/--.*// < $WRKSRC/src/p2cc.perl.orig > $WRKSRC/src/p2cc.perl || exit 1;

cat >>$WRKSRC/src/Makefile <<END || exit 1;
HOMEDIR=$PREFIX/lib/p2c
INCDIR=$PREFIX/include/p2c
BINDIR=$PREFIX/bin
LIBDIR=$PREFIX/lib
MANDIR=$PREFIX/man/man1
ABSHOMEDIR=$PREFIX/lib/p2c
END

exit 0;
@


1.2
log
@These are my changes to support the new argument-less configure scripts.
@
text
@d3 2
a4 1
cat >>${WRKSRC}/Makefile <<END || exit 1;
d9 2
a10 2
mv ${WRKSRC}/src/p2cc.perl ${WRKSRC}/src/p2cc.perl.orig || exit 1;
sed -e 1s/--.*// < ${WRKSRC}/src/p2cc.perl.orig > ${WRKSRC}/src/p2cc.perl || exit 1;
d12 7
a18 6
cat >>${WRKSRC}/src/Makefile <<END || exit 1;
HOMEDIR=/usr/local/lib/p2c
INCDIR=/usr/local/include/p2c
BINDIR=/usr/local/bin
LIBDIR=/usr/local/lib
MANDIR=/usr/local/man/man1
@


1.1
log
@Initial revision
@
text
@d3 1
a3 3
if [ $# != 3 ]; then exit 1; fi

cat >>$3/Makefile <<END || exit 1;
d8 2
a9 2
mv $3/src/p2cc.perl $3/src/p2cc.perl.orig || exit 1;
sed -e 1s/--.*// < $3/src/p2cc.perl.orig > $3/src/p2cc.perl || exit 1;
d11 1
a11 1
cat >>$3/src/Makefile <<END || exit 1;
@


1.1.1.1
log
@p2c - Pascal to C translator.  By Jean-Marc Zucconi.
Submitted by:	jmz
@
text
@@
