aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/source-highlight/Makefile
blob: 4e649ddda7b88716676c15ff51312add09ca9547 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Ports collection makefile for:  source-highlight
# Date created:           24 Aug 2001
# Whom:               Kris Kennaway <kris@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   source-highlight
PORTVERSION=    2.7
CATEGORIES= textproc
MASTER_SITES=   ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= src-highlite

MAINTAINER= kevlo@FreeBSD.org
COMMENT=    C/C++ and Java sources to HTML converter

LIB_DEPENDS=    boost_regex:${PORTSDIR}/devel/boost

GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= LDFLAGS=-L${LOCALBASE}/lib CPPFLAGS=-I${LOCALBASE}/include
.if defined(NOPORTDOCS)
MAKE_ENV+=  NOPORTDOCS="${NOPORTDOCS}"
.endif

USE_GMAKE=  yes

MAN1=   source-highlight.1
INFO=   source-highlight

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 700042
.if ${ARCH} == "sparc64"
BROKEN=     Does not compile with GCC 4.2
.endif
.endif

.include <bsd.port.post.mk>