ports/98656: [PATCH] lang/fpc-docs: update to 2.0.2, take maintainership
Jose Alonso Cardenas Marquez
acardenas at bsd.org.pe
Thu Jun 8 01:39:11 UTC 2006
>Number: 98656
>Category: ports
>Synopsis: [PATCH] lang/fpc-docs: 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:20:15 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-docs-2.0.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/lang/fpc-docs/Makefile /usr/ports/lang/fpc-docs-new/Makefile
--- /usr/ports/lang/fpc-docs/Makefile Thu Nov 24 13:55:19 2005
+++ /usr/ports/lang/fpc-docs-new/Makefile Wed Jun 7 09:31:12 2006
@@ -6,40 +6,48 @@
#
PORTNAME= docs
-PORTVERSION= 1.0.10
+PORTVERSION= 2.0.2
CATEGORIES= 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= ${PKGNAMEPREFIX}${PORTVERSION}.ELF
+DISTNAME= ${PKGNAMEPREFIX}${PORTVERSION}.${BUILDNAME}
EXTRACT_SUFX= .tar
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= acardenas at bsd.org.pe
COMMENT= Free Pascal compiler Adobe Acrobat(tm) documentation
-DOCSDIR= ${PREFIX}/share/doc/fpc
+ONLY_FOR_ARCHS= i386
NO_BUILD= yes
-PORTDOCS= fcl.pdf fpdoc.pdf prog.pdf ref.pdf units.pdf user.pdf
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 470000
-EXTRACT_DEPENDS= gtar:${PORTSDIR}/archivers/gtar
-TAR= ${LOCALBASE}/bin/gtar
-.endif
+DOCSDIR= ${PREFIX}/share/doc/fpdocs-${PORTVERSION}
+PORTDOCS= chart.pdf fcl.pdf fpdoc.pdf prog.pdf ref.pdf rtl.pdf user.pdf
+BUILDNAME= i386-freebsd
+PLIST_SUB+= PORTVERSION=${PORTVERSION} \
+ BUILDNAME=${BUILDNAME}
do-extract:
# unpack distribution
@${MKDIR} ${WRKSRC}
- @${TAR} xf ${DISTDIR}/${DISTNAME}.tar --directory ${WRKSRC}
-# unpack docs distribution
- @${MKDIR} ${WRKSRC}/docs
- @${TAR} zxf ${WRKSRC}/docs.tar.gz --directory ${WRKSRC}/docs
+ @${TAR} xf ${DISTDIR}/${DISTNAME}.tar \
+ --directory ${WRKSRC}
+ @${TAR} xf ${WRKSRC}/binary.${BUILDNAME}.tar \
+ --directory ${WRKSRC}
+
+# unpack binary and docs distribution
+ @${MKDIR} ${WRKSRC}/${PORTNAME}
+ @${TAR} zxf ${WRKSRC}/doc-pdf.tar.gz \
+ --directory ${WRKSRC}/${PORTNAME}
do-install:
- @${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
- @${INSTALL_MAN} ${WRKSRC}/docs/${f} ${DOCSDIR}
-.endfor
+ @cd ${WRKSRC}/${PORTNAME}/share && \
+ ${FIND} * -type d -exec ${MKDIR} "{}" "${PREFIX}/share/{}" \; && \
+ ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/share/{}" \;
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/lang/fpc-docs/distinfo /usr/ports/lang/fpc-docs-new/distinfo
--- /usr/ports/lang/fpc-docs/distinfo Thu Nov 24 22:40:20 2005
+++ /usr/ports/lang/fpc-docs-new/distinfo Wed Jun 7 09:26:08 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/lang/fpc-docs/pkg-descr /usr/ports/lang/fpc-docs-new/pkg-descr
--- /usr/ports/lang/fpc-docs/pkg-descr Mon Mar 8 12:40:37 2004
+++ /usr/ports/lang/fpc-docs-new/pkg-descr Wed Jun 7 15:43:42 2006
@@ -1,9 +1,6 @@
This is the documentation, in Adobe Acrobat(tm) format, for Free
Pascal, a 32 bit Turbo Pascal-compatible Pascal compiler for DOS,
Linux, Win32, OS/2, (based on an older version) the AmigaOS,
-FreeBSD/ELF, and BeOS.
+FreeBSD, and BeOS.
WWW: http://www.freepascal.org/
-
---
-John Merryweather Cooper <coop9211 at uidaho.edu>
--- fpc-docs-2.0.2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list