freebsd-ports/textproc/source-highlight/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

37 lines
893 B
Makefile

# Created by: Kris Kennaway <kris@FreeBSD.org>
# $FreeBSD$
PORTNAME= source-highlight
PORTVERSION= 3.1.6
PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= GNU/src-highlite
MAINTAINER= kevlo@FreeBSD.org
COMMENT= C/C++ and Java sources to HTML converter
BUILD_DEPENDS= exctags:${PORTSDIR}/devel/ctags
LIB_DEPENDS= libboost_regex.so:${PORTSDIR}/devel/boost-libs
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include
USES= gmake pathfix libtool
USE_LDCONFIG= yes
INFO= source-highlight source-highlight-lib
OPTIONS_DEFINE= BASH DOCS EXAMPLES
BROKEN_sparc64= Does not compile with GCC 4.2
BASH_RUN_DEPENDS= ${LOCALBASE}/etc/bash_completion:${PORTSDIR}/shells/bash-completion
BASH_CONFIGURE_WITH= --with-bash-completion
OPTIONS_SUB= yes
test: build
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${_MAKE_JOBS} ${MAKE_ARGS} check)
.include <bsd.port.mk>