Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jun 2006 00:24:02 GMT
From:      Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/98732: [PATCH] devel/fpc-fv: update to 2.0.2, take maintainership
Message-ID:  <200606090024.k590O29W000568@www.freebsd.org>
Resent-Message-ID: <200606090030.k590UIv5080259@freefall.freebsd.org>

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

>Number:         98732
>Category:       ports
>Synopsis:       [PATCH] devel/fpc-fv: update to 2.0.2, take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 09 00:30:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jose Alonso Cardenas Marquez
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
BSDPeru (http://www.bsd.org.pe)
>Environment:
FreeBSD HellFire.BSD.org.pe 6.1-STABLE FreeBSD 6.1-STABLE #0: Wed May 24 08:30:45 PET 2006
>Description:
- Update to 2.0.2
- Take maintainership
- Repo-copy from devel/fpc-fvision to devel/fpc-fc was completed (PR/98686)
>How-To-Repeat:

>Fix:
--- fpc-fv-2.0.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/fpc-fv/Makefile /usr/ports/devel/fpc-fv-new/Makefile
--- /usr/ports/devel/fpc-fv/Makefile	Thu May  4 16:40:36 2006
+++ /usr/ports/devel/fpc-fv-new/Makefile	Thu Jun  8 19:19:50 2006
@@ -5,44 +5,57 @@
 # $FreeBSD: ports/devel/fpc-fv/Makefile,v 1.3 2006/05/04 21:40:36 edwin Exp $
 #
 
-PORTNAME=	fvision
-PORTVERSION=	1.0.10
-CATEGORIES=	devel
-MASTER_SITES=	http://www.borgsdemons.com/distfiles/
+PORTNAME=	fv
+PORTVERSION=	2.0.2
+CATEGORIES=	devel lang
+MASTER_SITES=	ftp://ftp.freepascal.org/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
+		ftp://planetmirror.com/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
+		ftp://ftp.jp.freepascal.org/mirror/fpc/dist/i386-freebsd-${PORTVERSION}/ \
+		ftp://freepascal.stack.nl/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
+		ftp://ftp.no.freepascal.org/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
+		ftp://ftp.us.freepascal.org/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
+		${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	freepascal
 PKGNAMEPREFIX=	fpc-
+DISTNAME=	${PKGNAMEPREFIX}${PORTVERSION}.${BUILDNAME}
+EXTRACT_SUFX=	.tar
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	acardenas@bsd.org.pe
 COMMENT=	FreeVision is a Free Pascal unit for Delphi support
 
-BUILD_DEPENDS=	ppc386:${PORTSDIR}/lang/fpc
-RUN_DEPENDS=	${BUILD_DEPENDS}
-
-USE_GMAKE=	yes
+EXAMPLESDIR=	share/examples/${PKGNAMEPREFIX}${PORTVERSION}
 ONLY_FOR_ARCHS=	i386
+NO_BUILD=	yes
 
-.include <bsd.port.pre.mk>
-
-PLIST_SUB+=	PORTVERSION=${PORTVERSION}
-
-MAKE_ENV+=	PATH=${LOCALBASE}/bin:$$PATH \
-		FPC=${LOCALBASE}/bin/ppc386 \
-		INSTALL_BASEDIR=${PREFIX}/lib/fpc/${PORTVERSION} \
-		INSTALL_BINDIR=${PREFIX}/bin \
-		GCCLIBDIR=/usr/lib \
-		RELEASE=1
-
-post-patch:
-# change to alter amount of optimization
-	@${FIND} ${WRKDIR}/fvision -name "Makefile*" | ${XARGS} \
-		${REINPLACE_CMD} 's|-OG2p3|-OG2p1|g'
-
-do-build:
-	@${SETENV} ${MAKE_ENV} ${GMAKE} -C ${WRKDIR}/fvision all
+BUILDNAME=	i386-freebsd
+PLIST_SUB+=	PORTVERSION=${PORTVERSION} \
+		BUILDNAME=${BUILDNAME}
+
+do-extract:
+# unpack distribution
+	@${MKDIR} ${WRKSRC}
+	@${TAR} xf ${DISTDIR}/${DISTNAME}.tar \
+		--directory ${WRKSRC}
+	@${TAR} xf ${WRKSRC}/binary.${BUILDNAME}.tar \
+		--directory ${WRKSRC}
+
+# unpack binary and fv distribution
+	@${MKDIR} ${WRKSRC}/${PORTNAME}
+	@${TAR} zxf ${WRKSRC}/units-${PORTNAME}.${BUILDNAME}.tar.gz \
+		--directory ${WRKSRC}/${PORTNAME}
 
 do-install:
-	@${SETENV} ${MAKE_ENV} ${GMAKE} -C ${WRKDIR}/fvision install
-	cd ${WRKDIR}/fvision && ${INSTALL_DATA} \
-		asciitab.o asciitab.ppu \
-		${PREFIX}/lib/fpc/${PORTVERSION}/units/freebsd/fv
+.for DIRE in lib
+	@cd ${WRKSRC}/${PORTNAME}/${DIRE} && \
+		${FIND} * -type d -exec ${MKDIR} "{}" "${PREFIX}/${DIRE}/{}" \; && \
+			${FIND} * -type f -exec ${INSTALL_SCRIPT} "{}" "${PREFIX}/${DIRE}/{}" \;
+.endfor
+
+post-install:
+.if !defined (NOPORTDOCS)
+	@cd ${WRKSRC}/${PORTNAME}/share && \
+		${FIND} * -type d -exec ${MKDIR} "{}" "${PREFIX}/share/{}" \; && \
+			${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/share/{}" \;
+.endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/devel/fpc-fv/distinfo /usr/ports/devel/fpc-fv-new/distinfo
--- /usr/ports/devel/fpc-fv/distinfo	Thu Nov 24 10:39:15 2005
+++ /usr/ports/devel/fpc-fv-new/distinfo	Thu Jun  8 19:12:23 2006
@@ -1,3 +1,3 @@
-MD5 (fvision-1.0.10.tar.gz) = c1690f71d00576a290795e264fd6ffc0
-SHA256 (fvision-1.0.10.tar.gz) = fb5326b832f1b693487dd35893322f016b59bf3e87b363ba75f5197ede34aa4d
-SIZE (fvision-1.0.10.tar.gz) = 276453
+MD5 (fpc-2.0.2.i386-freebsd.tar) = e1f834f445b0f2313f41ed417a28fb1c
+SHA256 (fpc-2.0.2.i386-freebsd.tar) = 906f002dfdbdfc3380f5a66b93d68debdbb68bba65b9db0590a93f548fb9f528
+SIZE (fpc-2.0.2.i386-freebsd.tar) = 22517760
diff -ruN --exclude=CVS /usr/ports/devel/fpc-fv/pkg-descr /usr/ports/devel/fpc-fv-new/pkg-descr
--- /usr/ports/devel/fpc-fv/pkg-descr	Sat Feb 21 21:13:35 2004
+++ /usr/ports/devel/fpc-fv-new/pkg-descr	Thu Jun  8 19:12:28 2006
@@ -3,6 +3,3 @@
 provides some of the interfaces in Delphi Vision.
 
 WWW: http://www.freepascal.org/
-
---
-John Merryweather Cooper <coop9211@uidaho.edu>
diff -ruN --exclude=CVS /usr/ports/devel/fpc-fv/pkg-plist /usr/ports/devel/fpc-fv-new/pkg-plist
--- /usr/ports/devel/fpc-fv/pkg-plist	Sat Feb 21 21:13:35 2004
+++ /usr/ports/devel/fpc-fv-new/pkg-plist	Thu Jun  8 19:17:57 2006
@@ -1,55 +1,82 @@
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/Package.fpc
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/app.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/app.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/asciitab.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/asciitab.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/callspec.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/callspec.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/colortxt.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/colortxt.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/dialogs.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/dialogs.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/drivers.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/drivers.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/editors.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/editors.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/fileio.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/fileio.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/fvcommon.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/fvcommon.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/fvconsts.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/gadgets.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/gadgets.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/gfvgraph.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/gfvgraph.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/histlist.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/histlist.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/inplong.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/inplong.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/memory.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/memory.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/menus.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/menus.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/msgbox.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/msgbox.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/resource.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/resource.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/statuses.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/statuses.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/stddlg.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/stddlg.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/sysmsg.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/sysmsg.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/tabs.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/tabs.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/time.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/time.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/validate.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/validate.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/views.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/views.ppu
-@dirrm lib/fpc/%%PORTVERSION%%/units/freebsd/fv
-@dirrm lib/fpc/%%PORTVERSION%%/units/freebsd
-@dirrm lib/fpc/%%PORTVERSION%%/units
-@dirrm lib/fpc/%%PORTVERSION%%
-@dirrm lib/fpc
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/Package.fpc
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/app.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/colortxt.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/dialogs.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/drivers.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/editors.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/fvcommon.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/fvconsts.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/gadgets.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/histlist.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/inplong.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/memory.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/menus.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/msgbox.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/resource.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/statuses.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/stddlg.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/tabs.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/time.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/validate.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/views.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/sysmsg.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/asciitab.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/timeddlg.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/app.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/colortxt.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/dialogs.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/drivers.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/editors.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/fvcommon.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/fvconsts.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/gadgets.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/histlist.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/inplong.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/memory.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/menus.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/msgbox.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/resource.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/statuses.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/stddlg.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/tabs.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/time.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/validate.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/views.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/sysmsg.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/asciitab.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/timeddlg.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpapp.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpcolortxt.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpdialogs.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpdrivers.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpeditors.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpfvcommon.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpfvconsts.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpgadgets.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libphistlist.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpinplong.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpmemory.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpmenus.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpmsgbox.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpresource.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpstatuses.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpstddlg.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libptabs.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libptime.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpvalidate.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpviews.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpsysmsg.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpasciitab.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libptimeddlg.a
+%%PORTDOCS%%%%EXAMPLESDIR%%/fv/tfileio.pas
+%%PORTDOCS%%%%EXAMPLESDIR%%/fv/testapp.pas
+%%PORTDOCS%%%%EXAMPLESDIR%%/fv/platform.inc
+%%PORTDOCS%%%%EXAMPLESDIR%%/fv/Makefile.fpc
+%%PORTDOCS%%%%EXAMPLESDIR%%/fv/Makefile
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/fv
+%%PORTDOCS%%@dirrmtry %%EXAMPLESDIR%%
+@dirrm lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv
+@dirrmtry lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%
+@dirrmtry lib/fpc/%%PORTVERSION%%/units
+@dirrmtry lib/fpc/%%PORTVERSION%%
+@dirrmtry lib/fpc
--- fpc-fv-2.0.2.patch ends here ---

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



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