aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2006-05-07 09:17:29 +0800
committermnag <mnag@FreeBSD.org>2006-05-07 09:17:29 +0800
commitce399a6301b2d4fc9ba7f359fb8f268393a62c80 (patch)
treeb4efe047dd7dfbf6c907547e7de2ad7180fafe3c /lang
parent72bc9f5a0eb04ab52a11355acd5ac13e2568dafc (diff)
downloadfreebsd-ports-gnome-ce399a6301b2d4fc9ba7f359fb8f268393a62c80.tar.gz
freebsd-ports-gnome-ce399a6301b2d4fc9ba7f359fb8f268393a62c80.tar.zst
freebsd-ports-gnome-ce399a6301b2d4fc9ba7f359fb8f268393a62c80.zip
- Fix package creation
PR: 96650 Submitted by: maintainer
Diffstat (limited to 'lang')
-rw-r--r--lang/fpc2/pkg-install17
1 files changed, 17 insertions, 0 deletions
diff --git a/lang/fpc2/pkg-install b/lang/fpc2/pkg-install
new file mode 100644
index 000000000000..c3b20e97d29c
--- /dev/null
+++ b/lang/fpc2/pkg-install
@@ -0,0 +1,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