aboutsummaryrefslogtreecommitdiff
path: root/devel/sourcenav
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2009-07-05 19:40:52 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2009-07-05 19:40:52 +0000
commit9bb0c06051727d4504129b1694c59bc6ae48be8e (patch)
tree7d0de078cca9412880fd5fd34a5e8cd9cc991bfd /devel/sourcenav
parentf7b78f9b9be0de86b3eb98dcab973131dce34bac (diff)
downloadports-9bb0c06051727d4504129b1694c59bc6ae48be8e.tar.gz
ports-9bb0c06051727d4504129b1694c59bc6ae48be8e.zip
Notes
Diffstat (limited to 'devel/sourcenav')
-rw-r--r--devel/sourcenav/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/devel/sourcenav/Makefile b/devel/sourcenav/Makefile
index 24d66de5507c..d9268e08d47d 100644
--- a/devel/sourcenav/Makefile
+++ b/devel/sourcenav/Makefile
@@ -21,9 +21,15 @@ USE_BZIP2= yes
USE_XORG= x11
HAS_CONFIGURE= yes
-CONFIGURE_ARGS+=--prefix=${PREFIX}/${PORTNAME}
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+CONFIGURE_ARGS+=--prefix=${PREFIX}/sourcenav
+
+post-patch:
+ ${REINPLACE_CMD} -e 's|@XINCLUDES@|-I${LOCALBASE}/include|' \
+ ${WRKSRC}/tk/unix/Makefile.in
post-install:
- ${LN} -s ${PREFIX}/${PORTNAME}/bin/snavigator ${PREFIX}/bin
+ ${LN} -s ${PREFIX}/sourcenav/bin/snavigator ${PREFIX}/bin/snavigator
.include <bsd.port.mk>