Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 2006 20:13:08 GMT
From:      Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/98650: [PATCH] archivers/fpc-paszlib: update to 2.0.2, take maintainership
Message-ID:  <200606072013.k57KD8ee010830@www.freebsd.org>
Resent-Message-ID: <200606072250.k57MoKYr072459@freefall.freebsd.org>

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

>Number:         98650
>Category:       ports
>Synopsis:       [PATCH] archivers/fpc-paszlib: 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:   Wed Jun 07 22:50:20 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
>How-To-Repeat:

>Fix:
--- fpc-paszlib-2.0.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/archivers/fpc-paszlib/Makefile /usr/ports/archivers/fpc-paszlib-new/Makefile
--- /usr/ports/archivers/fpc-paszlib/Makefile	Thu May  4 19:23:45 2006
+++ /usr/ports/archivers/fpc-paszlib-new/Makefile	Wed Jun  7 15:09:07 2006
@@ -6,41 +6,55 @@
 #
 
 PORTNAME=	paszlib
-PORTVERSION=	1.0.10
+PORTVERSION=	2.0.2
 CATEGORIES=	archivers lang
-MASTER_SITES=	http://www.borgsdemons.com/distfiles/
+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=	Free Pascal unit for native compression IO
 
-BUILD_DEPENDS=	ppc386:${PORTSDIR}/lang/fpc
-RUN_DEPENDS=	${BUILD_DEPENDS}
+RUN_DEPENDS=	ppc386:${PORTSDIR}/lang/fpc
 
-USE_GMAKE=	yes
 ONLY_FOR_ARCHS=	i386
+NO_BUILD=	yes
 
-.include <bsd.port.pre.mk>
-
-PLIST_SUB+=	INSTDIR=lib/fpc/${PORTVERSION}/units/freebsd/paszlib \
-		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}/paszlib -name "Makefile*" | ${XARGS} \
-		${REINPLACE_CMD} 's|-OG2p3|-OG2p1|g'
-
-do-build:
-	@${SETENV} ${MAKE_ENV} ${GMAKE} -C ${WRKDIR}/paszlib all
+EXAMPLESDIR=	share/examples/${PKGNAMEPREFIX}${PORTVERSION}
+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 paszlib distribution
+	@${MKDIR} ${WRKSRC}/${PORTNAME}
+	@${TAR} zxf ${WRKSRC}/units-${PORTNAME}.${BUILDNAME}.tar.gz \
+		--directory ${WRKSRC}/${PORTNAME}
 
 do-install:
-	@${SETENV} ${MAKE_ENV} ${GMAKE} -C ${WRKDIR}/paszlib install
-
-.include <bsd.port.post.mk>
+.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:
+	@cd ${WRKSRC}/${PORTNAME}/share && \
+		${FIND} * -type d -exec ${MKDIR} "{}" "${PREFIX}/share/{}" \; && \
+			${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/share/{}" \;
+.include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/archivers/fpc-paszlib/distinfo /usr/ports/archivers/fpc-paszlib-new/distinfo
--- /usr/ports/archivers/fpc-paszlib/distinfo	Thu Nov 24 13:54:23 2005
+++ /usr/ports/archivers/fpc-paszlib-new/distinfo	Mon Jun  5 16:28:39 2006
@@ -1,3 +1,3 @@
-MD5 (paszlib-1.0.10.tar.gz) = 4d52f1d084a424a5deabc4f47eb4d370
-SHA256 (paszlib-1.0.10.tar.gz) = 4f72bd0f6e65c8da26202a81b1695b7da6d0951a690351183209bbf3f7d1c191
-SIZE (paszlib-1.0.10.tar.gz) = 96724
+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/archivers/fpc-paszlib/pkg-descr /usr/ports/archivers/fpc-paszlib-new/pkg-descr
--- /usr/ports/archivers/fpc-paszlib/pkg-descr	Mon Apr 12 16:54:29 2004
+++ /usr/ports/archivers/fpc-paszlib-new/pkg-descr	Wed Jun  7 15:05:12 2006
@@ -3,6 +3,3 @@
 This unit 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/archivers/fpc-paszlib/pkg-plist /usr/ports/archivers/fpc-paszlib-new/pkg-plist
--- /usr/ports/archivers/fpc-paszlib/pkg-plist	Wed Jan 25 17:54:18 2006
+++ /usr/ports/archivers/fpc-paszlib-new/pkg-plist	Wed Jun  7 15:07:09 2006
@@ -1,38 +1,58 @@
-%%INSTDIR%%/Package.fpc
-%%INSTDIR%%/adler.o
-%%INSTDIR%%/adler.ppu
-%%INSTDIR%%/gzcrc.o
-%%INSTDIR%%/gzcrc.ppu
-%%INSTDIR%%/gzio.o
-%%INSTDIR%%/gzio.ppu
-%%INSTDIR%%/infblock.o
-%%INSTDIR%%/infblock.ppu
-%%INSTDIR%%/infcodes.o
-%%INSTDIR%%/infcodes.ppu
-%%INSTDIR%%/inffast.o
-%%INSTDIR%%/inffast.ppu
-%%INSTDIR%%/inftrees.o
-%%INSTDIR%%/inftrees.ppu
-%%INSTDIR%%/infutil.o
-%%INSTDIR%%/infutil.ppu
-%%INSTDIR%%/paszlib.o
-%%INSTDIR%%/paszlib.ppu
-%%INSTDIR%%/trees.o
-%%INSTDIR%%/trees.ppu
-%%INSTDIR%%/zbase.o
-%%INSTDIR%%/zbase.ppu
-%%INSTDIR%%/zcompres.o
-%%INSTDIR%%/zcompres.ppu
-%%INSTDIR%%/zdeflate.o
-%%INSTDIR%%/zdeflate.ppu
-%%INSTDIR%%/zinflate.o
-%%INSTDIR%%/zinflate.ppu
-%%INSTDIR%%/zuncompr.o
-%%INSTDIR%%/zuncompr.ppu
-%%INSTDIR%%/zutil.o
-%%INSTDIR%%/zutil.ppu
-@dirrm %%INSTDIR%%
-@dirrmtry lib/fpc/%%PORTVERSION%%/units/freebsd
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/Package.fpc
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/paszlib.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/adler.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/gzcrc.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/gzio.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/infblock.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/infcodes.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/inffast.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/inftrees.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/infutil.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/trees.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/zcompres.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/zdeflate.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/zinflate.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/zbase.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/zuncompr.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/zutil.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/paszlib.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/adler.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/gzcrc.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/gzio.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/infblock.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/infcodes.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/inffast.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/inftrees.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/infutil.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/trees.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/zcompres.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/zdeflate.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/zinflate.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/zbase.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/zuncompr.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/zutil.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/libppaszlib.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/libpadler.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/libpgzcrc.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/libpgzio.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/libpinfblock.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/libpinfcodes.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/libpinffast.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/libpinftrees.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/libpinfutil.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/libptrees.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/libpzcompres.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/libpzdeflate.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/libpzinflate.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/libpzbase.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/libpzuncompr.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib/libpzutil.a
+%%EXAMPLESDIR%%/paszlib/minigzip.pas
+%%EXAMPLESDIR%%/paszlib/example.pas
+@dirrm %%EXAMPLESDIR%%/paszlib
+@dirrmtry %%EXAMPLESDIR%%
+@dirrm lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/paszlib
+@dirrmtry lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%
 @dirrmtry lib/fpc/%%PORTVERSION%%/units
 @dirrmtry lib/fpc/%%PORTVERSION%%
 @dirrmtry lib/fpc
--- fpc-paszlib-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?200606072013.k57KD8ee010830>