openbsd-ports/textproc/source-highlight/Makefile

39 lines
926 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.15 2009/12/24 09:28:43 jasper Exp $
COMMENT= create a document with syntax highlighting
DISTNAME= source-highlight-3.1.2
SHARED_LIBS += source-highlight 0.0 # .3.1
CATEGORIES= textproc
HOMEPAGE= http://www.gnu.org/software/src-highlite/source-highlight.html
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2004-12-06 19:23:20 -05:00
WANTLIB= c m stdc++
2003-10-15 00:49:01 -04:00
MASTER_SITES= ${MASTER_SITE_GNU:=src-highlite/}
LIB_DEPENDS= boost_regex::devel/boost
BUILD_DEPENDS= ::textproc/texi2html
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--with-bash-completion="${PREFIX}/share/source-highlight/bash_completion.d/"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
YACC="yacc"
REGRESS_TARGET= check
post-extract:
chmod +x ${WRKSRC}/build-aux/install-sh
.include <bsd.port.mk>