head	1.6;
access;
symbols
	RELEASE_7_0_0:1.5
	RELEASE_6_3_0:1.5
	PRE_XORG_7:1.5
	RELEASE_4_EOL:1.5
	RELEASE_6_2_0:1.5
	RELEASE_6_1_0:1.5
	RELEASE_5_5_0:1.5
	RELEASE_6_0_0:1.4
	RELEASE_5_4_0:1.4
	RELEASE_4_11_0:1.4
	RELEASE_5_3_0:1.4
	RELEASE_4_10_0:1.4
	old_RELEASE_5_2_0:1.3
	old_RELEASE_4_9_0:1.3
	old_RELEASE_5_1_0:1.2
	old_RELEASE_4_8_0:1.2
	old_RELEASE_5_0_0:1.2
	old_RELEASE_4_7_0:1.2
	old_RELEASE_4_6_2:1.2
	old_RELEASE_4_6_1:1.2
	old_RELEASE_4_6_0:1.2
	old_RELEASE_5_0_DP1:1.2
	old_RELEASE_4_5_0:1.2;
locks; strict;
comment	@# @;


1.6
date	2008.02.28.12.08.21;	author miwi;	state dead;
branches;
next	1.5;

1.5
date	2005.10.02.15.03.53;	author lawrance;	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
@2007-10-28 x11-wm/wmDeskGuide: Version branch long since retired
2008-02-23 ftp/axelq: Unmaintained, website disappeared
2007-11-09 lang/fpc-devel: now lags behind version in lang/fpc; use that instead
2007-11-13 devel/php-dbg: does not work with php5 and does not compile on gcc4.2
2007-11-16 graphics/jgv: development stalled for years, outdated, unmaintained
2007-11-16 editors/muggy: development stalled for years, unmaintained
2007-11-16 x11-fm/binder: development stalled for years, outdated, unmaintained
@
text
@#!/bin/sh
# $FreeBSD: ports/lang/fpc-devel/pkg-install,v 1.5 2005/10/02 15:03:53 lawrance Exp $

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

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

LIBDIR=${PKG_PREFIX}/lib/fpc/${PKGNAME##fpc-devel-}
LIBDIR=${LIBDIR%_*}

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 pkg-install script (which fixes reported incomplete pkg-plist error).

PR:		ports/85255
Submitted by:	Marco van de Voort <marcov@@stack.nl> (maintainer)
@
text
@d2 1
a2 1
# $FreeBSD: ports/lang/fpc-devel/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 2
a11 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
@

