View | Details | Raw Unified | Return to bug 212154
Collapse All | Expand All

(-)Makefile (-13 / +11 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	source-highlight
4
PORTNAME=	source-highlight
5
PORTVERSION=	3.1.6
5
PORTVERSION=	3.1.6
6
PORTREVISION=	2
6
PORTREVISION=	3
7
CATEGORIES=	textproc
7
CATEGORIES=	textproc
8
MASTER_SITES=	GNU/src-highlite
8
MASTER_SITES=	GNU/src-highlite
9
9
Lines 10-38 Link Here
10
MAINTAINER=	kevlo@FreeBSD.org
10
MAINTAINER=	kevlo@FreeBSD.org
11
COMMENT=	C/C++ and Java sources to HTML converter
11
COMMENT=	C/C++ and Java sources to HTML converter
12
12
13
BROKEN_powerpc64=	Does not build
13
LICENSE=	GPLv3
14
LICENSE_FILE=	${WRKSRC}/COPYING
14
15
15
BUILD_DEPENDS=	exctags:devel/ctags
16
BUILD_DEPENDS=	exctags:devel/ctags
16
LIB_DEPENDS=	libboost_regex.so:devel/boost-libs
17
LIB_DEPENDS=	libboost_regex.so:devel/boost-libs
17
18
19
BROKEN_powerpc64=	Does not build
20
BROKEN_sparc64=	Does not compile with GCC 4.2
21
18
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
19
LDFLAGS+=	-L${LOCALBASE}/lib
23
CONFIGURE_ARGS=	--with-bash-completion
20
CPPFLAGS+=	-I${LOCALBASE}/include
21
24
22
USES=		gmake pathfix libtool
25
INSTALL_TARGET=	install-strip
26
27
USES=		gmake pathfix libtool localbase
23
USE_LDCONFIG=	yes
28
USE_LDCONFIG=	yes
24
29
25
INFO=	source-highlight source-highlight-lib
30
INFO=	source-highlight source-highlight-lib
26
31
27
OPTIONS_DEFINE=	BASH DOCS EXAMPLES
32
OPTIONS_DEFINE=	DOCS EXAMPLES
28
33
29
BROKEN_sparc64=	Does not compile with GCC 4.2
30
31
BASH_RUN_DEPENDS=	${LOCALBASE}/etc/bash_completion:shells/bash-completion
32
BASH_CONFIGURE_WITH=	--with-bash-completion
33
34
OPTIONS_SUB=	yes
35
36
test: build
34
test: build
37
	@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${_MAKE_JOBS} ${MAKE_ARGS} check)
35
	@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${_MAKE_JOBS} ${MAKE_ARGS} check)
38
36
(-)files/patch-configure (-4 / +4 lines)
Lines 1-6 Link Here
1
--- configure.orig	2011-12-23 17:28:29.000000000 +0800
1
--- configure.orig	2011-12-23 09:28:29 UTC
2
+++ configure	2012-01-03 13:49:13.000000000 +0800
2
+++ configure
3
@@ -3701,7 +3701,7 @@
3
@@ -3701,7 +3701,7 @@ _ACEOF
4
 source_highlightdatadir=$datadir/source-highlight
4
 source_highlightdatadir=$datadir/source-highlight
5
 source_highlightdocdir=$docdir
5
 source_highlightdocdir=$docdir
6
 source_highlightlibdocdir=$docdir/api
6
 source_highlightlibdocdir=$docdir/api
Lines 9-15 Link Here
9
 bash_completiondir=$sysconfdir/bash_completion.d
9
 bash_completiondir=$sysconfdir/bash_completion.d
10
 
10
 
11
 LIBRARY_NAMESPACE=srchilite
11
 LIBRARY_NAMESPACE=srchilite
12
@@ -20546,7 +20546,7 @@
12
@@ -20546,7 +20546,7 @@ else
13
 fi
13
 fi
14
 
14
 
15
 
15
 
(-)files/patch-gl_getopt.in.h (-2 / +2 lines)
Lines 1-5 Link Here
1
--- gl/getopt.in.h.orig	2012-01-03 16:35:41.000000000 +0800
1
--- gl/getopt.in.h.orig	2011-12-16 17:10:10 UTC
2
+++ gl/getopt.in.h	2012-01-03 16:36:24.000000000 +0800
2
+++ gl/getopt.in.h
3
@@ -23,15 +23,6 @@
3
@@ -23,15 +23,6 @@
4
 #endif
4
 #endif
5
 @PRAGMA_COLUMNS@
5
 @PRAGMA_COLUMNS@
(-)files/patch-gl_stdbool.in.h (+14 lines)
Line 0 Link Here
1
--- gl/stdbool.in.h.orig	2011-12-16 17:10:10 UTC
2
+++ gl/stdbool.in.h
3
@@ -105,11 +105,6 @@ typedef bool _Bool;
4
         The only benefit of the enum, debuggability, is not important
5
         with these compilers.  So use 'signed char' and no enum.  */
6
 #  define _Bool signed char
7
-# else
8
-   /* With this compiler, trust the _Bool type if the compiler has it.  */
9
-#  if !@HAVE__BOOL@
10
-typedef enum { _Bool_must_promote_to_int = -1, false = 0, true = 1 } _Bool;
11
-#  endif
12
 # endif
13
 #endif
14
 #define bool _Bool
(-)files/patch-src-cmdline.c (-3 / +3 lines)
Lines 1-6 Link Here
1
--- src/cmdline.c.orig	2008-08-19 15:33:35.000000000 +0800
1
--- src/cmdline.c.orig	2011-12-24 10:22:43 UTC
2
+++ src/cmdline.c	2008-08-19 15:35:06.000000000 +0800
2
+++ src/cmdline.c
3
@@ -194,7 +194,7 @@
3
@@ -288,7 +288,7 @@ void clear_args (struct gengetopt_args_i
4
   args_info->gen_references_orig = NULL;
4
   args_info->gen_references_orig = NULL;
5
   args_info->ctags_file_arg = gengetopt_strdup ("tags");
5
   args_info->ctags_file_arg = gengetopt_strdup ("tags");
6
   args_info->ctags_file_orig = NULL;
6
   args_info->ctags_file_orig = NULL;
(-)files/patch-stdbool.in.h (-14 lines)
Lines 1-14 Link Here
1
--- gl/stdbool.in.h.orig	2010-04-19 14:33:17.000000000 +0800
2
+++ gl/stdbool.in.h	2010-04-19 14:36:05.000000000 +0800
3
@@ -102,11 +102,6 @@
4
         The only benefit of the enum, debuggability, is not important
5
         with these compilers.  So use 'signed char' and no enum.  */
6
 #  define _Bool signed char
7
-# else
8
-   /* With this compiler, trust the _Bool type if the compiler has it.  */
9
-#  if !@HAVE__BOOL@
10
-typedef enum { _Bool_must_promote_to_int = -1, false = 0, true = 1 } _Bool;
11
-#  endif
12
 # endif
13
 #endif
14
 #define bool _Bool
(-)files/patch-tests_Makefile.in (-3 / +3 lines)
Lines 1-6 Link Here
1
--- tests/Makefile.in.orig	2010-01-20 01:24:37.000000000 -0500
1
--- tests/Makefile.in.orig	2016-08-25 16:54:10 UTC
2
+++ tests/Makefile.in	2010-01-20 01:26:27.000000000 -0500
2
+++ tests/Makefile.in
3
@@ -1884,7 +1884,7 @@
3
@@ -2108,7 +2108,7 @@ check_defaults:
4
 @NO_CTAGS_FALSE@	sed -itesttmp -e 's/\_tmp\.h/\.h/g' test_refs_tmp.h.html test_refs_tmp.cpp.html
4
 @NO_CTAGS_FALSE@	sed -itesttmp -e 's/\_tmp\.h/\.h/g' test_refs_tmp.h.html test_refs_tmp.cpp.html
5
 @NO_CTAGS_FALSE@	sed -itesttmp -e 's/\_tmp\.cpp/\.cpp/g' test_refs_tmp.h.html test_refs_tmp.cpp.html
5
 @NO_CTAGS_FALSE@	sed -itesttmp -e 's/\_tmp\.cpp/\.cpp/g' test_refs_tmp.h.html test_refs_tmp.cpp.html
6
 @NO_CTAGS_FALSE@	$(CPP2LATEX_WREFS) -i $(srcdir)/test.h -o test_ref.out.tex $(CTAGS_COMMAND_TMP)
6
 @NO_CTAGS_FALSE@	$(CPP2LATEX_WREFS) -i $(srcdir)/test.h -o test_ref.out.tex $(CTAGS_COMMAND_TMP)
(-)pkg-plist (-1 / +1 lines)
Lines 4-10 Link Here
4
bin/source-highlight
4
bin/source-highlight
5
bin/source-highlight-settings
5
bin/source-highlight-settings
6
bin/src-hilite-lesspipe.sh
6
bin/src-hilite-lesspipe.sh
7
%%BASH%%etc/bash_completion.d/source-highlight
7
etc/bash_completion.d/source-highlight
8
include/srchilite/bufferedoutput.h
8
include/srchilite/bufferedoutput.h
9
include/srchilite/chartranslator.h
9
include/srchilite/chartranslator.h
10
include/srchilite/colormap.h
10
include/srchilite/colormap.h

Return to bug 212154