ports/98654: [PATCH] devel/fpc-regexpr: update to 2.0.2, take maintainership
Jose Alonso Cardenas Marquez
acardenas at bsd.org.pe
Wed Jun 7 23:26:49 UTC 2006
>Number: 98654
>Category: ports
>Synopsis: [PATCH] devel/fpc-regexpr: 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 23:00:28 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-regexpr-2.0.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/fpc-regexpr/Makefile /usr/ports/devel/fpc-regexpr-new/Makefile
--- /usr/ports/devel/fpc-regexpr/Makefile Thu May 4 19:24:05 2006
+++ /usr/ports/devel/fpc-regexpr-new/Makefile Mon Jun 5 16:46:04 2006
@@ -6,71 +6,54 @@
#
PORTNAME= regexpr
-PORTVERSION= 1.0.10
-PORTREVISION= 1
-CATEGORIES= devel
-MASTER_SITES= ftp://ftp.freepascal.org/pub/fpc/dist/FreeBSD/ \
- ftp://planetmirror.com/pub/fpc/dist/FreeBSD/ \
- ftp://ftp.jp.freepascal.org/mirror/fpc/dist/FreeBSD/ \
- ftp://freepascal.stack.nl/pub/fpc/dist/FreeBSD/ \
- ftp://ftp.no.freepascal.org/pub/fpc/dist/FreeBSD/ \
- ftp://ftp.us.freepascal.org/pub/fpc/dist/FreeBSD/ \
+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= fpc-${PORTVERSION}.ELF
+DISTNAME= ${PKGNAMEPREFIX}${PORTVERSION}.${BUILDNAME}
EXTRACT_SUFX= .tar
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= acardenas at bsd.org.pe
COMMENT= Free Pascal regular expression routines
+RUN_DEPENDS= ppc386:${PORTSDIR}/lang/fpc
.include <bsd.port.pre.mk>
-
-BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc
-RUN_DEPENDS= ${BUILD_DEPENDS}
.if ${OSVERSION} >= 500000
-LIB_DEPENDS= c.4:${PORTSDIR}/misc/compat4x
-.endif
-.if ${OSVERSION} < 470000
-EXTRACT_DEPENDS= gtar:${PORTSDIR}/archivers/gtar
-TAR= ${LOCALBASE}/bin/gtar
+LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
.endif
-USE_GMAKE= yes
-ONLY_FOR_ARCHS= i386
-PLIST_SUB+= PORTVERSION=${PORTVERSION}
+ONLY_FOR_ARCHS= i386
+NO_BUILD= yes
-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
+BUILDNAME= i386-freebsd
+PLIST_SUB+= PORTVERSION=${PORTVERSION} \
+ BUILDNAME=${BUILDNAME}
do-extract:
# unpack distribution
@${MKDIR} ${WRKSRC}
- @${TAR} xf ${DISTDIR}/${DISTNAME}.tar --directory ${WRKSRC}
-# unpack sources distribution
- @${MKDIR} ${WRKSRC}/sources
- @${TAR} xf ${WRKSRC}/sources.tar --directory ${WRKSRC}/sources
-# further extract base sources
-#
-# regexpr sources
- @${TAR} zxf ${WRKSRC}/sources/unitsregexprsrc.tar.gz \
+ @${TAR} xf ${DISTDIR}/${DISTNAME}.tar \
+ --directory ${WRKSRC}
+ @${TAR} xf ${WRKSRC}/binary.${BUILDNAME}.tar \
--directory ${WRKSRC}
-post-patch:
-# change to alter amount of optimization
- @${FIND} ${WRKSRC}/share/src/fpc-${PORTVERSION} -name \
- "Makefile*" | ${XARGS} ${REINPLACE_CMD} 's|-OG2p3|-OG2p1|g'
-
-do-build:
- cd ${WRKSRC}/share/src/fpc-${PORTVERSION}/packages/base/regexpr && \
- ${GMAKE} ${MAKE_ENV} all
+# unpack binary and regexpr distribution
+ @${MKDIR} ${WRKSRC}/${PORTNAME}
+ @${TAR} zxf ${WRKSRC}/units-${PORTNAME}.${BUILDNAME}.tar.gz \
+ --directory ${WRKSRC}/${PORTNAME}
do-install:
- cd ${WRKSRC}/share/src/fpc-${PORTVERSION}/packages/base/regexpr && \
- ${GMAKE} ${MAKE_ENV} install
+.for DIRE in lib
+ @cd ${WRKSRC}/${PORTNAME}/${DIRE} && \
+ ${FIND} * -type d -exec ${MKDIR} "{}" "${PREFIX}/${DIRE}/{}" \; && \
+ ${FIND} * -type f -exec ${INSTALL_SCRIPT} "{}" "${PREFIX}/${DIRE}/{}" \;
+.endfor
.include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/devel/fpc-regexpr/distinfo /usr/ports/devel/fpc-regexpr-new/distinfo
--- /usr/ports/devel/fpc-regexpr/distinfo Thu Nov 24 13:54:41 2005
+++ /usr/ports/devel/fpc-regexpr-new/distinfo Mon Jun 5 16:44:50 2006
@@ -1,3 +1,3 @@
-MD5 (fpc-1.0.10.ELF.tar) = 6ad56eb115152174683499da3ece7667
-SHA256 (fpc-1.0.10.ELF.tar) = 318bab9d1269dffcc5fe737d224fca939c5f130f34f12d166319b3d1ba776bfb
-SIZE (fpc-1.0.10.ELF.tar) = 17448960
+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-regexpr/pkg-descr /usr/ports/devel/fpc-regexpr-new/pkg-descr
--- /usr/ports/devel/fpc-regexpr/pkg-descr Thu Jan 15 19:57:44 2004
+++ /usr/ports/devel/fpc-regexpr-new/pkg-descr Wed Jun 7 15:24:48 2006
@@ -3,6 +3,3 @@
provides regular expression routines.
WWW: http://www.freepascal.org/
-
---
-John Merryweather Cooper <coop9211 at uidaho.edu>
diff -ruN --exclude=CVS /usr/ports/devel/fpc-regexpr/pkg-plist /usr/ports/devel/fpc-regexpr-new/pkg-plist
--- /usr/ports/devel/fpc-regexpr/pkg-plist Thu Jan 15 19:57:44 2004
+++ /usr/ports/devel/fpc-regexpr-new/pkg-plist Wed Jun 7 15:25:05 2006
@@ -1,4 +1,9 @@
-lib/fpc/%%PORTVERSION%%/units/freebsd/regexpr/Package.fpc
-lib/fpc/%%PORTVERSION%%/units/freebsd/regexpr/regexpr.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/regexpr/regexpr.ppu
- at dirrm lib/fpc/%%PORTVERSION%%/units/freebsd/regexpr
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/regexpr/Package.fpc
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/regexpr/regexpr.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/regexpr/regexpr.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/regexpr/libpregexpr.a
+ at dirrm lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/regexpr
+ at dirrmtry lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%
+ at dirrmtry lib/fpc/%%PORTVERSION%%/units
+ at dirrmtry lib/fpc/%%PORTVERSION%%
+ at dirrmtry lib/fpc
--- fpc-regexpr-2.0.2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list