aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-03-09 01:40:37 +0800
committerpav <pav@FreeBSD.org>2004-03-09 01:40:37 +0800
commit0e79c3959add3a313e1c9c9f7aa94d406d7c1986 (patch)
tree6580cce9c90d2569c6e43bd3b6bd56c25983a4d7 /lang
parent4f6936b98e3d54726b2ee732f34f94e16656c305 (diff)
downloadfreebsd-ports-gnome-0e79c3959add3a313e1c9c9f7aa94d406d7c1986.tar.gz
freebsd-ports-gnome-0e79c3959add3a313e1c9c9f7aa94d406d7c1986.tar.zst
freebsd-ports-gnome-0e79c3959add3a313e1c9c9f7aa94d406d7c1986.zip
Add fpc-docs, a port for documentation of Free Pascal Compiler.
PR: ports/62599 Submitted by: John Merryweather Cooper <coop9211@uidaho.edu>
Diffstat (limited to 'lang')
-rw-r--r--lang/Makefile1
-rw-r--r--lang/fpc-docs/Makefile51
-rw-r--r--lang/fpc-docs/distinfo2
-rw-r--r--lang/fpc-docs/pkg-descr9
4 files changed, 63 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index 92cf2a9b7254..8ab941071cba 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -54,6 +54,7 @@
SUBDIR += forth
SUBDIR += fpc
SUBDIR += fpc-devel
+ SUBDIR += fpc-docs
SUBDIR += freetxl
SUBDIR += gauche
SUBDIR += gawk
diff --git a/lang/fpc-docs/Makefile b/lang/fpc-docs/Makefile
new file mode 100644
index 000000000000..ff88a7f35ecc
--- /dev/null
+++ b/lang/fpc-docs/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for: Free Pascal Compiler Docs
+# Date created: 9 February 2004
+# Whom: John Merryweather Cooper
+#
+# $FreeBSD$
+#
+
+PORTNAME= docs
+PORTVERSION= 1.0.10
+CATEGORIES= lang
+MASTER_SITES= ftp://ftp.freepascal.org/pub/fpc/dist/FreeBSD/ \
+ http://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/ \
+ ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= freepascal
+PKGNAMEPREFIX= fpc-
+DISTNAME= ${PKGNAMEPREFIX}${PORTVERSION}.ELF
+EXTRACT_SUFX= .tar
+
+MAINTAINER= coop9211@uidaho.edu
+COMMENT= Free Pascal compiler Adobe Acrobat(tm) documentation
+
+DOCSDIR= ${PREFIX}/share/doc/fpc
+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
+
+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
+
+do-install:
+ @${MKDIR} ${DOCSDIR}
+.for f in ${PORTDOCS}
+ @${INSTALL_MAN} ${WRKSRC}/docs/${f} ${DOCSDIR}
+.endfor
+
+.include <bsd.port.post.mk>
diff --git a/lang/fpc-docs/distinfo b/lang/fpc-docs/distinfo
new file mode 100644
index 000000000000..54527a31654e
--- /dev/null
+++ b/lang/fpc-docs/distinfo
@@ -0,0 +1,2 @@
+MD5 (fpc-1.0.10.ELF.tar) = 6ad56eb115152174683499da3ece7667
+SIZE (fpc-1.0.10.ELF.tar) = 17448960
diff --git a/lang/fpc-docs/pkg-descr b/lang/fpc-docs/pkg-descr
new file mode 100644
index 000000000000..6005c632f714
--- /dev/null
+++ b/lang/fpc-docs/pkg-descr
@@ -0,0 +1,9 @@
+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.
+
+WWW: http://www.freepascal.org/
+
+--
+John Merryweather Cooper <coop9211@uidaho.edu>