aboutsummaryrefslogtreecommitdiffstats
path: root/lang/fpc2/pkg-install
blob: c3b20e97d29ccf04cec819a3a77cc0d671589b17 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/sh
#
# $FreeBSD$
#
# post install for FPC package

PORTVERSION="2.0.2"

if [ $2 = "POST-INSTALL" ]
then
    if [ -e "{$PKG_PREFIX}/bin/ppc386" ]
    then
    ${RM} -f "${PKG_PREFIX}/bin/ppc386"
    fi
    ${LN} -s "${PKGPREFIX}/lib/fpc/${PORTVERSION}/ppc386" "${PKG_PREFIX}/bin"
    ${SH} "${PKG_PREFIX}/lib/fpc/${PORTVERSION}/samplecfg" "${PKG_PREFIX}/lib/fpc/${PORTVERSION}" "${PKG_PREFIX}/etc"
fi