freebsd-ports/devel/sourcenav/Makefile
Gerald Pfeifer 89f8b05214 Bump PORTREVISIONS for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

In particular that is ports with USE_GCC=yes, USE_GCC=any, or one of
gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang,
c++11-lang, c++0x, c11 requested via USES=compiler.
2016-11-20 09:38:08 +00:00

37 lines
984 B
Makefile

# Created by: Donald Burr <dburr@FreeBSD.org>
# $FreeBSD$
PORTNAME= sourcenav
PORTVERSION= 4.5
PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/NG${PORTVERSION}
DISTNAME= sourcenavigator-NG${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Source code analysis tool
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= shebangfix tar:bzip2
SHEBANG_FILES= ${WRKSRC}/snavigator/demo/c++/contrib/perl/sample_client
USE_GCC= yes
USE_XORG= x11
HAS_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS+=--prefix=${PREFIX}/sourcenav
post-patch:
${REINPLACE_CMD} -e 's|@XINCLUDES@|-I${LOCALBASE}/include|; \
s|@XLIBSW@|-L${LOCALBASE}/lib -lX11|' ${WRKSRC}/tk/unix/Makefile.in
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sourcenav/bin/wish8.3
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sourcenav/bin/tclsh8.3
${LN} -s ${PREFIX}/sourcenav/bin/snavigator ${STAGEDIR}${PREFIX}/bin/snavigator
.include <bsd.port.mk>