aboutsummaryrefslogtreecommitdiff
path: root/textproc/hs-citeproc-hs
diff options
context:
space:
mode:
authorGabor Pali <pgj@FreeBSD.org>2010-05-15 22:14:30 +0000
committerGabor Pali <pgj@FreeBSD.org>2010-05-15 22:14:30 +0000
commit56bfbfc66e9c568d992518bd36a9a103730ce7dd (patch)
treeb141285c03322f475365ba59f060e0ca4b563ed3 /textproc/hs-citeproc-hs
parent624e888c56dcb5d8164f56844b0f70e40f8fef47 (diff)
Notes
Diffstat (limited to 'textproc/hs-citeproc-hs')
-rw-r--r--textproc/hs-citeproc-hs/Makefile31
-rw-r--r--textproc/hs-citeproc-hs/distinfo3
-rw-r--r--textproc/hs-citeproc-hs/pkg-descr8
-rw-r--r--textproc/hs-citeproc-hs/pkg-plist30
4 files changed, 72 insertions, 0 deletions
diff --git a/textproc/hs-citeproc-hs/Makefile b/textproc/hs-citeproc-hs/Makefile
new file mode 100644
index 000000000000..00996428c1f0
--- /dev/null
+++ b/textproc/hs-citeproc-hs/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: hs-citeproc-hs
+# Date created: May 14, 2010
+# Whom: Gabor Pali <pgj@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= citeproc-hs
+PORTVERSION= 0.2
+CATEGORIES= textproc haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= A Citation Style Language implementation in Haskell
+
+USE_HACKAGE= hxt>=8.1
+
+PORTDATA= *
+
+OPTIONS= BIBUTILS "Use Chris Putnam's Bibutils" off
+
+.include <bsd.port.options.mk>
+
+.if defined(WITH_BIBUTILS)
+CONFIGURE_ARGS+= --flags="bibutils"
+USE_HACKAGE+= hs-bibutils
+.else
+CONFIGURE_ARGS+= --flags="-bibutils"
+.endif
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/textproc/hs-citeproc-hs/distinfo b/textproc/hs-citeproc-hs/distinfo
new file mode 100644
index 000000000000..fbbc661d3696
--- /dev/null
+++ b/textproc/hs-citeproc-hs/distinfo
@@ -0,0 +1,3 @@
+MD5 (citeproc-hs-0.2.tar.gz) = d9fd2f297917861ee4131f144d44042b
+SHA256 (citeproc-hs-0.2.tar.gz) = d7cf725e6bab06cde4bbc51d8e3b816ecf16f7b1a1e4face326692965c65302c
+SIZE (citeproc-hs-0.2.tar.gz) = 64300
diff --git a/textproc/hs-citeproc-hs/pkg-descr b/textproc/hs-citeproc-hs/pkg-descr
new file mode 100644
index 000000000000..e01740022319
--- /dev/null
+++ b/textproc/hs-citeproc-hs/pkg-descr
@@ -0,0 +1,8 @@
+citeproc-hs is a library for automatically formatting bibliographic
+reference citations into a variety of styles using a macro language
+called Citation Style Language (CSL). More details on CSL can be found
+here: <http://xbiblio.sourceforge.net/>.
+
+For the API documentation please see "Text.CSL".
+
+WWW: http://code.haskell.org/citeproc-hs
diff --git a/textproc/hs-citeproc-hs/pkg-plist b/textproc/hs-citeproc-hs/pkg-plist
new file mode 100644
index 000000000000..068c76915c7e
--- /dev/null
+++ b/textproc/hs-citeproc-hs/pkg-plist
@@ -0,0 +1,30 @@
+@comment $FreeBSD$
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Paths_citeproc_hs.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/CSL.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/CSL/Eval.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/CSL/Input/Bibutils.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/CSL/Input/MODS.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/CSL/Output/Pandoc.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/CSL/Output/Plain.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/CSL/Parser.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/CSL/Proc.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/CSL/Proc/Collapse.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/CSL/Proc/Disamb.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/CSL/Reference.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/CSL/Style.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HS%%PORTNAME%%-%%PORTVERSION%%.o
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHS%%PORTNAME%%-%%PORTVERSION%%.a
+%%LIBDIR_REL%%/register.sh
+%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE
+%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%%
+@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/CSL/Proc
+@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/CSL/Output
+@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/CSL/Input
+@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/CSL
+@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text
+@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%
+@dirrm %%LIBDIR_REL%%
+@exec /bin/sh %D/%%LIBDIR_REL%%/register.sh
+@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
+@unexec %D/bin/ghc-pkg unregister %%PORTNAME%%-%%PORTVERSION%%
+@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old