diff options
author | szptvlfn <szptvlfn@pkgsrc.org> | 2014-07-25 10:52:17 +0000 |
---|---|---|
committer | szptvlfn <szptvlfn@pkgsrc.org> | 2014-07-25 10:52:17 +0000 |
commit | 5a425da9b3eed7cfd516483f89f3447404747dba (patch) | |
tree | e02a32b034d418cd0d82d9f3368bd36c079bc32f | |
parent | c00560e7018eef48ba2f3175ba4fc38cdb10c12f (diff) | |
download | pkgsrc-5a425da9b3eed7cfd516483f89f3447404747dba.tar.gz |
Import cpphs-1.18.5 as devel/hs-cpphs,
packaged for wip by esg.
Cpphs is a re-implementation of the C pre-processor that is both more
compatible with Haskell, and itself written in Haskell so that it can be
distributed with compilers.
This version of the C pre-processor is pretty-much feature-complete and
compatible with traditional (K&R) pre-processors. Additional features
include: a plain-text mode; an option to unlit literate code files; and an
option to turn off macro-expansion.
-rw-r--r-- | devel/hs-cpphs/DESCR | 8 | ||||
-rw-r--r-- | devel/hs-cpphs/Makefile | 17 | ||||
-rw-r--r-- | devel/hs-cpphs/PLIST | 33 | ||||
-rw-r--r-- | devel/hs-cpphs/buildlink3.mk | 14 | ||||
-rw-r--r-- | devel/hs-cpphs/distinfo | 5 |
5 files changed, 77 insertions, 0 deletions
diff --git a/devel/hs-cpphs/DESCR b/devel/hs-cpphs/DESCR new file mode 100644 index 00000000000..aad5d98aa9b --- /dev/null +++ b/devel/hs-cpphs/DESCR @@ -0,0 +1,8 @@ +Cpphs is a re-implementation of the C pre-processor that is both more +compatible with Haskell, and itself written in Haskell so that it can be +distributed with compilers. + +This version of the C pre-processor is pretty-much feature-complete and +compatible with traditional (K&R) pre-processors. Additional features +include: a plain-text mode; an option to unlit literate code files; and an +option to turn off macro-expansion. diff --git a/devel/hs-cpphs/Makefile b/devel/hs-cpphs/Makefile new file mode 100644 index 00000000000..2f3ff1a6188 --- /dev/null +++ b/devel/hs-cpphs/Makefile @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1 2014/07/25 10:52:17 szptvlfn Exp $ + +DISTNAME= cpphs-1.18.5 +CATEGORIES= devel + +MAINTAINER= esg@sdf.lonestar.org +COMMENT= Re-implementation of cpp in Haskell +LICENSE= gnu-lgpl-v2.1 + +INSTALLATION_DIRS+= ${PKGMANDIR}/man1 + +post-install: + ${INSTALL_MAN} ${WRKSRC}/docs/cpphs.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + +.include "../../mk/haskell.mk" +.include "../../textproc/hs-polyparse/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/hs-cpphs/PLIST b/devel/hs-cpphs/PLIST new file mode 100644 index 00000000000..67d48400250 --- /dev/null +++ b/devel/hs-cpphs/PLIST @@ -0,0 +1,33 @@ +@comment $NetBSD: PLIST,v 1.1 2014/07/25 10:52:17 szptvlfn Exp $ +bin/cpphs +lib/cpphs-${PKGVERSION}/${HASKELL_VERSION}/HScpphs-${PKGVERSION}.o +lib/cpphs-${PKGVERSION}/${HASKELL_VERSION}/Language/Preprocessor/Cpphs.hi +lib/cpphs-${PKGVERSION}/${HASKELL_VERSION}/Language/Preprocessor/Cpphs/CppIfdef.hi +lib/cpphs-${PKGVERSION}/${HASKELL_VERSION}/Language/Preprocessor/Cpphs/HashDefine.hi +lib/cpphs-${PKGVERSION}/${HASKELL_VERSION}/Language/Preprocessor/Cpphs/MacroPass.hi +lib/cpphs-${PKGVERSION}/${HASKELL_VERSION}/Language/Preprocessor/Cpphs/Options.hi +lib/cpphs-${PKGVERSION}/${HASKELL_VERSION}/Language/Preprocessor/Cpphs/Position.hi +lib/cpphs-${PKGVERSION}/${HASKELL_VERSION}/Language/Preprocessor/Cpphs/ReadFirst.hi +lib/cpphs-${PKGVERSION}/${HASKELL_VERSION}/Language/Preprocessor/Cpphs/RunCpphs.hi +lib/cpphs-${PKGVERSION}/${HASKELL_VERSION}/Language/Preprocessor/Cpphs/SymTab.hi +lib/cpphs-${PKGVERSION}/${HASKELL_VERSION}/Language/Preprocessor/Cpphs/Tokenise.hi +lib/cpphs-${PKGVERSION}/${HASKELL_VERSION}/Language/Preprocessor/Unlit.hi +lib/cpphs-${PKGVERSION}/${HASKELL_VERSION}/libHScpphs-${PKGVERSION}.a +lib/cpphs-${PKGVERSION}/${HASKELL_VERSION}/package-description +man/man1/cpphs.1 +share/doc/cpphs-${PKGVERSION}/LICENCE-LGPL +${PLIST.doc}share/doc/cpphs-${PKGVERSION}/html/Language-Preprocessor-Cpphs.html +${PLIST.doc}share/doc/cpphs-${PKGVERSION}/html/Language-Preprocessor-Unlit.html +${PLIST.doc}share/doc/cpphs-${PKGVERSION}/html/cpphs.haddock +${PLIST.doc}share/doc/cpphs-${PKGVERSION}/html/doc-index.html +${PLIST.doc}share/doc/cpphs-${PKGVERSION}/html/frames.html +${PLIST.doc}share/doc/cpphs-${PKGVERSION}/html/haddock-util.js +${PLIST.doc}share/doc/cpphs-${PKGVERSION}/html/hslogo-16.png +${PLIST.doc}share/doc/cpphs-${PKGVERSION}/html/index-frames.html +${PLIST.doc}share/doc/cpphs-${PKGVERSION}/html/index.html +${PLIST.doc}share/doc/cpphs-${PKGVERSION}/html/mini_Language-Preprocessor-Cpphs.html +${PLIST.doc}share/doc/cpphs-${PKGVERSION}/html/mini_Language-Preprocessor-Unlit.html +${PLIST.doc}share/doc/cpphs-${PKGVERSION}/html/minus.gif +${PLIST.doc}share/doc/cpphs-${PKGVERSION}/html/ocean.css +${PLIST.doc}share/doc/cpphs-${PKGVERSION}/html/plus.gif +${PLIST.doc}share/doc/cpphs-${PKGVERSION}/html/synopsis.png diff --git a/devel/hs-cpphs/buildlink3.mk b/devel/hs-cpphs/buildlink3.mk new file mode 100644 index 00000000000..638ed80d99b --- /dev/null +++ b/devel/hs-cpphs/buildlink3.mk @@ -0,0 +1,14 @@ +# $NetBSD: buildlink3.mk,v 1.1 2014/07/25 10:52:17 szptvlfn Exp $ + +BUILDLINK_TREE+= hs-cpphs + +.if !defined(HS_CPPHS_BUILDLINK3_MK) +HS_CPPHS_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.hs-cpphs+= hs-cpphs>=1.18.5 +BUILDLINK_PKGSRCDIR.hs-cpphs?= ../../devel/hs-cpphs + +.include "../../textproc/hs-polyparse/buildlink3.mk" +.endif # HS_CPPHS_BUILDLINK3_MK + +BUILDLINK_TREE+= -hs-cpphs diff --git a/devel/hs-cpphs/distinfo b/devel/hs-cpphs/distinfo new file mode 100644 index 00000000000..0a866a94ea6 --- /dev/null +++ b/devel/hs-cpphs/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2014/07/25 10:52:17 szptvlfn Exp $ + +SHA1 (cpphs-1.18.5.tar.gz) = 3bd7c9d541d155bd8fb0fa640cd282921f6fb116 +RMD160 (cpphs-1.18.5.tar.gz) = 1feeef55324c823b866911c535e06fda526d3ad8 +Size (cpphs-1.18.5.tar.gz) = 72221 bytes |