1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/devel/sourcenav/Makefile
Pietro Cerutti 94f2c59c64 - Attempt to fix build with non-standard LOCALBASE
Reported by:	QA Tindie
2009-07-13 12:44:49 +00:00

36 lines
806 B
Makefile

# ex: ts=8
# New ports collection makefile for: sourcenav
# Date created: 23 July 2000
# Whom: Donald Burr <dburr@FreeBSD.ORG>
#
# $FreeBSD$
#
PORTNAME= sourcenav
PORTVERSION= 4
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_BERLIOS}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= sourcenavigator-NG${PORTVERSION}
MAINTAINER= gahr@FreeBSD.org
COMMENT= Source code analysis tool
USE_BZIP2= 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:
${LN} -s ${PREFIX}/sourcenav/bin/snavigator ${PREFIX}/bin/snavigator
.include <bsd.port.mk>