aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-Pod-DocBook
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2004-08-11 22:57:47 +0800
committerskv <skv@FreeBSD.org>2004-08-11 22:57:47 +0800
commit0476ee327d42bd18d731575ee74ddb6eb0971c87 (patch)
tree36db39f2287653fc044ac1e663306e56fdfe48a7 /textproc/p5-Pod-DocBook
parentb3af8b8a8d8a207ed82ab16aa0a2ea54417f617b (diff)
downloadfreebsd-ports-gnome-0476ee327d42bd18d731575ee74ddb6eb0971c87.tar.gz
freebsd-ports-gnome-0476ee327d42bd18d731575ee74ddb6eb0971c87.tar.zst
freebsd-ports-gnome-0476ee327d42bd18d731575ee74ddb6eb0971c87.zip
Add p5-Pod-DocBook 1.2, convert Pod data to DocBook SGML.
Diffstat (limited to 'textproc/p5-Pod-DocBook')
-rw-r--r--textproc/p5-Pod-DocBook/Makefile35
-rw-r--r--textproc/p5-Pod-DocBook/distinfo2
-rw-r--r--textproc/p5-Pod-DocBook/pkg-descr6
-rw-r--r--textproc/p5-Pod-DocBook/pkg-plist6
4 files changed, 49 insertions, 0 deletions
diff --git a/textproc/p5-Pod-DocBook/Makefile b/textproc/p5-Pod-DocBook/Makefile
new file mode 100644
index 000000000000..17b07ca7e8b9
--- /dev/null
+++ b/textproc/p5-Pod-DocBook/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: Pod-DocBook
+# Date created: 29 July 2004
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Pod-DocBook
+PORTVERSION= 1.2
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../../authors/id/N/NA/NANDU
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@FreeBSD.org
+COMMENT= Convert Pod data to DocBook SGML
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
+ ${SITE_PERL}/Pod/Parser.pm:${PORTSDIR}/textproc/p5-PodParser \
+ ${SITE_PERL}/Pod/ParseLink.pm:${PORTSDIR}/textproc/p5-podlators \
+ ${SITE_PERL}/Text/Wrap.pm:${PORTSDIR}/textproc/p5-Text-Tabs+Wrap
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN1= pod2docbook.1
+MAN3= Pod::DocBook.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE= "Perl 5.6.1 or newer required. Install lang/perl5.8 or lang/perl5 and try again."
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Pod-DocBook/distinfo b/textproc/p5-Pod-DocBook/distinfo
new file mode 100644
index 000000000000..33dd6d2ecfde
--- /dev/null
+++ b/textproc/p5-Pod-DocBook/distinfo
@@ -0,0 +1,2 @@
+MD5 (Pod-DocBook-1.2.tar.gz) = 4d3d79d76585025cf8b2af98cee0e519
+SIZE (Pod-DocBook-1.2.tar.gz) = 19583
diff --git a/textproc/p5-Pod-DocBook/pkg-descr b/textproc/p5-Pod-DocBook/pkg-descr
new file mode 100644
index 000000000000..f4d1541bd9ba
--- /dev/null
+++ b/textproc/p5-Pod-DocBook/pkg-descr
@@ -0,0 +1,6 @@
+Pod::DocBook is a module for translating Pod-formatted documents to
+DocBook 4.2 SGML. It is primarily a back end for pod2docbook, but,
+as a Pod::Parser subclass, it can be used on its own.
+
+WWW: http://search.cpan.org/dist/Pod-DocBook/
+WWW: http://www.docbook.org/
diff --git a/textproc/p5-Pod-DocBook/pkg-plist b/textproc/p5-Pod-DocBook/pkg-plist
new file mode 100644
index 000000000000..be2ab24f469a
--- /dev/null
+++ b/textproc/p5-Pod-DocBook/pkg-plist
@@ -0,0 +1,6 @@
+bin/pod2docbook
+%%SITE_PERL%%/Pod/DocBook.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Pod/DocBook/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/Pod 2>/dev/null || true
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Pod/DocBook
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Pod 2>/dev/null || true