ports/98720: [PATCH] editors/fpc-ide: update to 2.0.2, take maintainership
Jose Alonso Cardenas Marquez
acardenas at bsd.org.pe
Thu Jun 8 22:00:55 UTC 2006
>Number: 98720
>Category: ports
>Synopsis: [PATCH] editors/fpc-ide: 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: Thu Jun 08 22:00:53 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
Removed file(s):
- files/patch-share::src::fpc-1.0.10::ide::compiler::Makefile.fpc
>How-To-Repeat:
>Fix:
--- fpc-ide-2.0.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/editors/fpc-ide/Makefile /usr/ports/editors/fpc-ide-new/Makefile
--- /usr/ports/editors/fpc-ide/Makefile Sun May 7 13:37:46 2006
+++ /usr/ports/editors/fpc-ide-new/Makefile Thu Jun 8 14:04:27 2006
@@ -6,74 +6,59 @@
#
PORTNAME= ide
-PORTVERSION= 1.0.10
+PORTVERSION= 2.0.2
CATEGORIES= editors lang
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+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 integrated IDE/compiler
-.include <bsd.port.pre.mk>
+RUN_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
+ ${UNITDIR}/fv/fvcommon.ppu:${PORTSDIR}/devel/fpc-fv
-BUILD_DEPENDS+= ppc386:${PORTSDIR}/lang/fpc \
- ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/freebsd/gdbint/gdbint.ppu:${PORTSDIR}/devel/fpc-gdbint \
- ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/freebsd/fv/drivers.ppu:${PORTSDIR}/devel/fpc-fvision
-RUN_DEPENDS+= ${BUILD_DEPENDS}
-.if ${OSVERSION} < 470000
-EXTRACT_DEPENDS+= gtar:${PORTSDIR}/archivers/gtar
-TAR= ${LOCALBASE}/bin/gtar
-.endif
-USE_GMAKE= yes
ONLY_FOR_ARCHS= i386
+NO_BUILD= yes
-DOCSDIR= ${PREFIX}/share/doc/fpc
+UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
+BUILDNAME= i386-freebsd
+DOCSDIR= share/doc/${PKGNAMEPREFIX}${PORTVERSION}
PLIST_SUB+= PORTVERSION=${PORTVERSION}
-MAKE_ENV+= PATH=${LOCALBASE}/bin:$$PATH \
- FPC=${LOCALBASE}/bin/ppc386 \
- INSTALL_BASEDIR=${PREFIX}/lib/fpc/${PORTVERSION} \
- INSTALL_BINDIR=${PREFIX}/bin \
- INSTALL_DOCDIR=${DOCSDIR} \
- GCCLIBDIR=/usr/lib \
- GDBLIBDIR=${LOCALBASE}/lib/fpc/${PORTVERSION}/units/freebsd/gdbint/libgdb \
- RELEASE=1
-
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
-#
-# ide and compiler sources
- @${TAR} zxf ${WRKSRC}/sources/compilersrc.tar.gz \
+ @${TAR} xf ${DISTDIR}/${DISTNAME}.tar \
--directory ${WRKSRC}
- @${TAR} zxf ${WRKSRC}/sources/idesrc.tar.gz \
+ @${TAR} xf ${WRKSRC}/binary.${BUILDNAME}.tar \
--directory ${WRKSRC}
-post-patch:
-# change to alter amount of optimization
- @${FIND} ${WRKSRC}/share/src -name "Makefile*" | \
- ${XARGS} ${REINPLACE_CMD} 's|-OG2p3|-OG2p1|g'
-
-pre-build:
- cd ${WRKSRC}/share/src/fpc-${PORTVERSION}/ide/compiler && \
- fpcmake
-
-do-build:
- @${SETENV} ${MAKE_ENV} ${GMAKE} -C \
- ${WRKSRC}/share/src/fpc-${PORTVERSION}/ide \
- all
+# unpack binary and ide distribution
+ @${MKDIR} ${WRKSRC}/${PORTNAME}
+ @${TAR} zxf ${WRKSRC}/${PORTNAME}.${BUILDNAME}.tar.gz \
+ --directory ${WRKSRC}/${PORTNAME}
do-install:
- @${SETENV} ${MAKE_ENV} ${GMAKE} -C \
- ${WRKSRC}/share/src/fpc-${PORTVERSION}/ide \
- install
+.for DIRE in bin 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/editors/fpc-ide/distinfo /usr/ports/editors/fpc-ide-new/distinfo
--- /usr/ports/editors/fpc-ide/distinfo Thu Nov 24 13:54:51 2005
+++ /usr/ports/editors/fpc-ide-new/distinfo Mon Jun 5 11:43:34 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/editors/fpc-ide/files/patch-share::src::fpc-1.0.10::ide::compiler::Makefile.fpc /usr/ports/editors/fpc-ide-new/files/patch-share::src::fpc-1.0.10::ide::compiler::Makefile.fpc
--- /usr/ports/editors/fpc-ide/files/patch-share::src::fpc-1.0.10::ide::compiler::Makefile.fpc Sat Feb 21 21:17:09 2004
+++ /usr/ports/editors/fpc-ide-new/files/patch-share::src::fpc-1.0.10::ide::compiler::Makefile.fpc Wed Dec 31 19:00:00 1969
@@ -1,11 +0,0 @@
---- share/src/fpc-1.0.10/ide/compiler/Makefile.fpc.old Fri Jan 16 00:23:44 2004
-+++ share/src/fpc-1.0.10/ide/compiler/Makefile.fpc Fri Jan 16 00:25:03 2004
-@@ -18,7 +18,7 @@
- fpcdir=../..
-
- [prerules]
--COMPILERDIR=$(FPCDIR)/compiler
-+COMPILERDIR=../../compiler
-
- # Use 1.0.2 and 1.0.4 require -Ca to generate simple ppu
- ifneq ($(findstring 1.0.2,$(FPC_VERSION)),)
diff -ruN --exclude=CVS /usr/ports/editors/fpc-ide/pkg-descr /usr/ports/editors/fpc-ide-new/pkg-descr
--- /usr/ports/editors/fpc-ide/pkg-descr Sat Feb 21 21:17:09 2004
+++ /usr/ports/editors/fpc-ide-new/pkg-descr Thu Jun 8 14:02:37 2006
@@ -1,8 +1,5 @@
-Regexpr is part of the base packages of Free Pascal,
-a 32-bit Turbo Pascal/Delphi compatible compiler. Regexpr
-provides regular expression routines.
+Textmode IDE resembling Turbo Pascal's IDE. Though this IDE was in
+deterioration for some time because of a missing maintainer, in a common effort
+most bugs were fixed so it's in a pretty good shape now.
WWW: http://www.freepascal.org/
-
---
-John Merryweather Cooper <coop9211 at uidaho.edu>
diff -ruN --exclude=CVS /usr/ports/editors/fpc-ide/pkg-plist /usr/ports/editors/fpc-ide-new/pkg-plist
--- /usr/ports/editors/fpc-ide/pkg-plist Sat Feb 21 21:17:09 2004
+++ /usr/ports/editors/fpc-ide-new/pkg-plist Thu Jun 8 14:03:35 2006
@@ -1,16 +1,17 @@
bin/fp
-lib/fpc/%%PORTVERSION%%/ide/cvsco.tdf
-lib/fpc/%%PORTVERSION%%/ide/cvsdiff.tdf
-lib/fpc/%%PORTVERSION%%/ide/cvsup.tdf
lib/fpc/%%PORTVERSION%%/ide/fp.ans
lib/fpc/%%PORTVERSION%%/ide/gplprog.pt
lib/fpc/%%PORTVERSION%%/ide/gplunit.pt
-lib/fpc/%%PORTVERSION%%/ide/grep.tdf
lib/fpc/%%PORTVERSION%%/ide/program.pt
-lib/fpc/%%PORTVERSION%%/ide/tpgrep.tdf
lib/fpc/%%PORTVERSION%%/ide/unit.pt
-%%DOCSDIR%%/readme.ide
- at dirrm %%DOCSDIR%%
- at dirrm lib/fpc/%%PORTVERSION%%/ide
- at dirrm lib/fpc/%%PORTVERSION%%
- at dirrm lib/fpc
+lib/fpc/%%PORTVERSION%%/ide/cvsco.tdf
+lib/fpc/%%PORTVERSION%%/ide/cvsdiff.tdf
+lib/fpc/%%PORTVERSION%%/ide/cvsup.tdf
+lib/fpc/%%PORTVERSION%%/ide/grep.tdf
+lib/fpc/%%PORTVERSION%%/ide/tpgrep.tdf
+%%PORTDOCS%%%%DOCSDIR%%/ide/readme.ide
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/ide
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
+ at dirrm lib/fpc/2.0.2/ide
+ at dirrmtry lib/fpc/2.0.2
+ at dirrmtry lib/fpc
--- fpc-ide-2.0.2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list