head	1.6;
access;
symbols
	RELEASE_6_1_0:1.5
	RELEASE_5_5_0:1.5
	RELEASE_6_0_0:1.5
	RELEASE_5_4_0:1.5
	RELEASE_4_11_0:1.5
	RELEASE_5_3_0:1.5
	RELEASE_4_10_0:1.5
	RELEASE_5_2_1:1.3
	RELEASE_5_2_0:1.3
	RELEASE_4_9_0:1.3
	RELEASE_5_1_0:1.2
	RELEASE_4_8_0:1.2
	RELEASE_5_0_0:1.2
	RELEASE_4_7_0:1.2
	RELEASE_4_6_2:1.2
	RELEASE_4_6_1:1.2
	RELEASE_4_6_0:1.2
	RELEASE_5_0_DP1:1.2
	RELEASE_4_5_0:1.2;
locks; strict;
comment	@# @;


1.6
date	2006.06.21.16.52.56;	author garga;	state dead;
branches;
next	1.5;

1.5
date	2004.02.22.02.05.13;	author marcus;	state Exp;
branches;
next	1.4;

1.4
date	2004.01.07.10.14.04;	author znerd;	state Exp;
branches;
next	1.3;

1.3
date	2003.07.12.21.03.30;	author obraun;	state Exp;
branches;
next	1.2;

1.2
date	2001.12.10.01.50.42;	author lioux;	state Exp;
branches;
next	1.1;

1.1
date	2001.12.09.02.28.27;	author lioux;	state Exp;
branches;
next	;


desc
@@


1.6
log
@- Update fpc to 2.0.2

PR:		98628, 98629, 98630, 98632, 98641, 98646, 98650, 98652,
		98654, 98656, 98657, 98658, 98720, 98724
Submitted by:	Jose Alonso Cardenas Marquez <acardenas@@bsd.org.pe>
@
text
@#!/bin/sh
# $FreeBSD: ports/lang/fpc/pkg-install,v 1.5 2004/02/22 02:05:13 marcus Exp $

[ $# != 2 ] && exit 1
PKGNAME=$1
ACTION=$2

FILES_DELETE="bin/ppc386 etc/fpc.cfg etc/fpc.cfg.orig"

LIBDIR=${PKG_PREFIX}/lib/fpc/1.0.10

CHMOD=/bin/chmod
LN=/bin/ln
RM=/bin/rm
SH=/bin/sh

case "$ACTION" in

POST-INSTALL)
		${CHMOD} 0555 ${LIBDIR}/ppc386
		${CHMOD} 0555 ${LIBDIR}/samplecfg
		${LN} -sf ${LIBDIR}/ppc386 ${PKG_PREFIX}/bin/ppc386
		${SH} ${LIBDIR}/samplecfg ${LIBDIR} ${PKG_PREFIX}/etc
	;;

DEINSTALL)
	for file in ${FILES_DELETE}
	do
		if [ -f ${PKG_PREFIX}/${file} ]; then
			${RM} ${PKG_PREFIX}/${file}
		fi
	done
	;;

PRE-INSTALL|POST-DEINSTALL)
	;;

*)
	exit 1
	;;
esac

exit
@


1.5
log
@* Fix the build on -CURRENT
* Clean up Makefile
* Fix build when an earlier version of fpc was already installed

PR:		62485
Submitted by:	maintainer
@
text
@d2 1
a2 1
# $FreeBSD: ports/lang/fpc/pkg-install,v 1.4 2004/01/07 10:14:04 znerd Exp $
@


1.4
log
@Update to 1.0.10.

Additional change according to the submitter:
- Port compiles for the first time
- Port has 'gone on a diet'

PR:		60912
Submitted by:	maintainer
@
text
@d2 1
a2 1
# $FreeBSD: ports/lang/fpc/pkg-install,v 1.3 2003/07/12 21:03:30 obraun Exp $
d10 1
a10 1
LIBDIR=${PKG_PREFIX}/lib/fpc/${PKGNAME##fpc-}
@


1.3
log
@* Upgrade to 1.0.6.
* Fix build on -current.

PR:		ports/53884
Submitted by:	Matthew West <mwest@@uct.ac.za>
Approved by:	maintainer
@
text
@d2 1
a2 1
# $FreeBSD$
d8 1
a8 1
FILES_DELETE="bin/fpc etc/fpc.cfg etc/fpc.cfg.orig"
d22 1
a22 1
		${LN} -sf ${LIBDIR}/ppc386 ${PKG_PREFIX}/bin/fpc
@


1.2
log
@o Uphold port style tradition: handle post extraction duties in
  post-extract instead of pre-install
o Handle per installation transient files in PKG{,DE}INSTALL instead
  of PLIST
o Do not install corrupted binary
o Do not @@ prefix inside PKG{,DE}INSTALL

PR:		32645
Submitted by:	Kuang-che Wu <kcwu@@ck.tp.edu.tw> (PR),
		maintainer (most of the fix)
@
text
@d2 1
a2 1
# $FreeBSD: ports/lang/fpc/pkg-install,v 1.1 2001/12/09 02:28:27 lioux Exp $
d8 1
a8 1
FILES_DELETE="bin/ppc386 etc/ppc386.cfg etc/ppc386.cfg.orig"
d22 1
a22 1
		${LN} -sf ${LIBDIR}/ppc386 ${PKG_PREFIX}/bin/ppc386
@


1.1
log
@o New port fpc version 1.0.4: Free Pascal beta compiler with Turbo,
  Delphi and other extensions
o Borrows install scripting tricks from halflifeserver port

PR:		32385
Submitted by:	John Merryweather Cooper <jmcoopr@@webmail.bmi.net>
@
text
@d2 1
a2 1
# $FreeBSD$
d8 2
d12 1
d14 1
d20 4
a23 2
		@@${LN} -sf ${LIBDIR}/ppc386 ${PKG_PREFIX}/bin/ppc386
		@@${SH} ${LIBDIR}/samplecfg ${LIBDIR} ${PKG_PREFIX}/etc
d27 6
@

