freebsd-ports/lang/fpc2/pkg-install
Marcus Alves Grando bec36108a1 - Fix package creation
PR:		96650
Submitted by:	maintainer
2006-05-07 01:17:29 +00:00

18 lines
405 B
Bash

#! /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