diff options
author | Renato Botelho <garga@FreeBSD.org> | 2006-06-22 00:52:57 +0800 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2006-06-22 00:52:57 +0800 |
commit | b06153abd6cff3313971e58ae665e96b0bf447bf (patch) | |
tree | d671f1e410fe2766e67c77bc1573fd986720b550 /lang/fpc-docs | |
parent | acca2dab6cf8bdfcdf61189c830d87fae34e8118 (diff) | |
download | freebsd-ports-gnome-b06153abd6cff3313971e58ae665e96b0bf447bf.tar.gz freebsd-ports-gnome-b06153abd6cff3313971e58ae665e96b0bf447bf.tar.zst freebsd-ports-gnome-b06153abd6cff3313971e58ae665e96b0bf447bf.zip |
- Update fpc to 2.0.2
PR: 98628, 98629, 98630, 98632, 98641, 98646, 98650, 98652,
98654, 98656, 98657, 98658, 98720, 98724
Submitted by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
Diffstat (limited to 'lang/fpc-docs')
-rw-r--r-- | lang/fpc-docs/Makefile | 54 | ||||
-rw-r--r-- | lang/fpc-docs/distinfo | 6 | ||||
-rw-r--r-- | lang/fpc-docs/files/pkg-message.in | 9 | ||||
-rw-r--r-- | lang/fpc-docs/pkg-descr | 5 |
4 files changed, 46 insertions, 28 deletions
diff --git a/lang/fpc-docs/Makefile b/lang/fpc-docs/Makefile index 58338382bce5..37915eb89631 100644 --- a/lang/fpc-docs/Makefile +++ b/lang/fpc-docs/Makefile @@ -6,40 +6,52 @@ # 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@FreeBSD.org +MAINTAINER= acardenas@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} +SUB_FILES= pkg-message 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/{}" \; + +post-install: + @${CAT} ${PKGMESSAGE} -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/lang/fpc-docs/distinfo b/lang/fpc-docs/distinfo index fb00975ada0c..80f3f200b2ed 100644 --- a/lang/fpc-docs/distinfo +++ b/lang/fpc-docs/distinfo @@ -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 --git a/lang/fpc-docs/files/pkg-message.in b/lang/fpc-docs/files/pkg-message.in new file mode 100644 index 000000000000..df92838472ef --- /dev/null +++ b/lang/fpc-docs/files/pkg-message.in @@ -0,0 +1,9 @@ +############################################################################### + +1) You can see all documentation of freepascal in : + + * %%DOCSDIR%% + + The documentation is on pdf format, you need some pdf viewer. + +############################################################################### diff --git a/lang/fpc-docs/pkg-descr b/lang/fpc-docs/pkg-descr index 6005c632f714..be9e08aa3ede 100644 --- a/lang/fpc-docs/pkg-descr +++ b/lang/fpc-docs/pkg-descr @@ -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@uidaho.edu> |