Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 May 2006 09:46:29 GMT
From:      Ales Katona <almindor@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/96650: Update port: /lang/fpc2
Message-ID:  <200605020946.k429kTkL018830@www.freebsd.org>
Resent-Message-ID: <200605020950.k429oGr9045827@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         96650
>Category:       ports
>Synopsis:       Update port: /lang/fpc2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 02 09:50:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Ales Katona
>Release:        6.1-BETA 4
>Organization:
Free Pascal Team
>Environment:
FreeBSD localhost 6.1-BETA4 FreeBSD 6.1-BETA4 #0: Sat Mar 25 00:23:10 CET 2006    root@localhost:/usr/src/sys/i386/compile/ALMINDOR  i386

>Description:
This fixes "make package" for the lang/fpc2 port.
pkg-install was missing.
>How-To-Repeat:

>Fix:
diff -ruN old/pkg-install fpc2/pkg-install
--- old/pkg-install	Thu Jan  1 01:00:00 1970
+++ fpc2/pkg-install	Tue May  2 11:40:47 2006
@@ -0,0 +1,14 @@
+#! /bin/sh
+# 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

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605020946.k429kTkL018830>