diff options
author | Gabor Pali <pgj@FreeBSD.org> | 2010-05-15 19:24:50 +0000 |
---|---|---|
committer | Gabor Pali <pgj@FreeBSD.org> | 2010-05-15 19:24:50 +0000 |
commit | 4932a435a43caffb8e9dbd1607c90c0c9fefcc55 (patch) | |
tree | 30c10bcd442f2305a1705bad8989efcff94ead42 /textproc/hs-highlighting-kate | |
parent | 36ac22a6a8ebe42a12406d0da3674213bea7d91e (diff) | |
download | ports-4932a435a43caffb8e9dbd1607c90c0c9fefcc55.tar.gz ports-4932a435a43caffb8e9dbd1607c90c0c9fefcc55.zip |
Notes
Diffstat (limited to 'textproc/hs-highlighting-kate')
-rw-r--r-- | textproc/hs-highlighting-kate/Makefile | 15 | ||||
-rw-r--r-- | textproc/hs-highlighting-kate/distinfo | 6 | ||||
-rw-r--r-- | textproc/hs-highlighting-kate/pkg-plist | 3 |
3 files changed, 19 insertions, 5 deletions
diff --git a/textproc/hs-highlighting-kate/Makefile b/textproc/hs-highlighting-kate/Makefile index 6d60345e60f7..d3b1f0a9fb7b 100644 --- a/textproc/hs-highlighting-kate/Makefile +++ b/textproc/hs-highlighting-kate/Makefile @@ -6,7 +6,7 @@ # PORTNAME= highlighting-kate -PORTVERSION= 0.2.5.1 +PORTVERSION= 0.2.6.2 CATEGORIES= textproc haskell PKGNAMESUFFIX= -ghc @@ -15,5 +15,18 @@ COMMENT= A Haskell syntax highlighting library for 50+ languages USE_HACKAGE= pcre-light +OPTIONS= EXECUTABLE "Build the Highlight executable" off + +.include <bsd.port.options.mk> + +.if defined(WITH_EXECUTABLE) +CONFIGURE_ARGS+= --flags="executable" +EXECUTABLE+= Highlighting +PLIST_SUB+= MAYBE_EXECUTABLE="" +.else +CONFIGURE_ARGS+= --flags="-executable" +PLIST_SUB+= MAYBE_EXECUTABLE="@comment " +.endif + .include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk" .include <bsd.port.mk> diff --git a/textproc/hs-highlighting-kate/distinfo b/textproc/hs-highlighting-kate/distinfo index d680fb8abc83..e335b46dbe8e 100644 --- a/textproc/hs-highlighting-kate/distinfo +++ b/textproc/hs-highlighting-kate/distinfo @@ -1,3 +1,3 @@ -MD5 (highlighting-kate-0.2.5.1.tar.gz) = dd178e0860d33c6cfeaf6268bb119bf7 -SHA256 (highlighting-kate-0.2.5.1.tar.gz) = 35951b7f7bae0d859324b8b0b62604d543e92450858a077fa503791afd98971e -SIZE (highlighting-kate-0.2.5.1.tar.gz) = 413985 +MD5 (highlighting-kate-0.2.6.2.tar.gz) = 2795391871b8e21b8c6754b331af22ec +SHA256 (highlighting-kate-0.2.6.2.tar.gz) = 3ed163888d45d5bf5ee5c2931e894f6ca2eb167a79ac8274d7f57341c4c5dca7 +SIZE (highlighting-kate-0.2.6.2.tar.gz) = 428243 diff --git a/textproc/hs-highlighting-kate/pkg-plist b/textproc/hs-highlighting-kate/pkg-plist index d3c6128a95b1..10756b59595f 100644 --- a/textproc/hs-highlighting-kate/pkg-plist +++ b/textproc/hs-highlighting-kate/pkg-plist @@ -1,5 +1,5 @@ @comment $FreeBSD$ -%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HS%%PORTNAME%%-%%PORTVERSION%%.o +%%MAYBE_EXECUTABLE%%bin/Highlight %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Paths_highlighting_kate.hi %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/Highlighting/Kate.hi %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/Highlighting/Kate/Common.hi @@ -62,6 +62,7 @@ %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/Highlighting/Kate/Syntax/Xml.hi %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/Highlighting/Kate/Syntax/Xslt.hi %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/Highlighting/Kate/Syntax/Yacc.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 |