aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2010-05-16 03:24:50 +0800
committerpgj <pgj@FreeBSD.org>2010-05-16 03:24:50 +0800
commit64afa0b0ace47adb7326c9f8859b368d98b4074e (patch)
treeaaecf7a7ef5458f513e87dcd1f7095c12829ffc9 /textproc
parent7ead5a24105efc096e19574f87a56317f55520a8 (diff)
downloadfreebsd-ports-gnome-64afa0b0ace47adb7326c9f8859b368d98b4074e.tar.gz
freebsd-ports-gnome-64afa0b0ace47adb7326c9f8859b368d98b4074e.tar.zst
freebsd-ports-gnome-64afa0b0ace47adb7326c9f8859b368d98b4074e.zip
- Update to 0.2.6.2
- Import OPTIONS
Diffstat (limited to 'textproc')
-rw-r--r--textproc/hs-highlighting-kate-ghc/Makefile15
-rw-r--r--textproc/hs-highlighting-kate-ghc/distinfo6
-rw-r--r--textproc/hs-highlighting-kate-ghc/pkg-plist3
-rw-r--r--textproc/hs-highlighting-kate/Makefile15
-rw-r--r--textproc/hs-highlighting-kate/distinfo6
-rw-r--r--textproc/hs-highlighting-kate/pkg-plist3
6 files changed, 38 insertions, 10 deletions
diff --git a/textproc/hs-highlighting-kate-ghc/Makefile b/textproc/hs-highlighting-kate-ghc/Makefile
index 6d60345e60f7..d3b1f0a9fb7b 100644
--- a/textproc/hs-highlighting-kate-ghc/Makefile
+++ b/textproc/hs-highlighting-kate-ghc/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-ghc/distinfo b/textproc/hs-highlighting-kate-ghc/distinfo
index d680fb8abc83..e335b46dbe8e 100644
--- a/textproc/hs-highlighting-kate-ghc/distinfo
+++ b/textproc/hs-highlighting-kate-ghc/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-ghc/pkg-plist b/textproc/hs-highlighting-kate-ghc/pkg-plist
index d3c6128a95b1..10756b59595f 100644
--- a/textproc/hs-highlighting-kate-ghc/pkg-plist
+++ b/textproc/hs-highlighting-kate-ghc/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
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