aboutsummaryrefslogtreecommitdiff
path: root/graphics/raster3d
diff options
context:
space:
mode:
authorShaun Amott <shaun@FreeBSD.org>2009-07-19 18:17:09 +0000
committerShaun Amott <shaun@FreeBSD.org>2009-07-19 18:17:09 +0000
commit8bf6433eae24d4292800d24363d4cb57a30f722e (patch)
treec65338139eaa25861b626342dc7d791bc16402b6 /graphics/raster3d
parent3a37fa98b662196007890ffdaf2aee4eae741d08 (diff)
downloadports-8bf6433eae24d4292800d24363d4cb57a30f722e.tar.gz
ports-8bf6433eae24d4292800d24363d4cb57a30f722e.zip
Notes
Diffstat (limited to 'graphics/raster3d')
-rw-r--r--graphics/raster3d/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/graphics/raster3d/Makefile b/graphics/raster3d/Makefile
index 88ea5c1c98e3..f4c07f2b7480 100644
--- a/graphics/raster3d/Makefile
+++ b/graphics/raster3d/Makefile
@@ -9,9 +9,7 @@ PORTNAME= raster3d
DISTVERSION= 2.7d
PORTREVISION= 1
CATEGORIES= graphics biology
-MASTER_SITES= http://skuld.bmsc.washington.edu/${PORTNAME}/ \
- http://mirror.inerd.com/FreeBSD/distfiles/${PORTNAME}/ \
- http://mirror.inerd.com/FreeBSD/distfiles/${PORTNAME}/old/
+MASTER_SITES= http://skuld.bmsc.washington.edu/${PORTNAME}/
DISTNAME= Raster3D_${DISTVERSION}
MAINTAINER= shaun@FreeBSD.org
@@ -37,6 +35,10 @@ MANL= avs2ps.l label3d.l r3d_objects.l rastep.l render.l rods.l \
pre-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} freebsd
+ @${REINPLACE_CMD} -e 's#prefix#PREFIX#g' \
+ -e 's#^LIBDIRS.*=.*#LIBDIRS = -L${LOCALBASE}/lib#g' \
+ -e 's#^INCDIRS.*=.*#INCDIRS = -I/usr/include -I${LOCALBASE}/include#g' \
+ ${WRKSRC}/Makefile*
do-install:
cd ${WRKSRC} && ${INSTALL_PROGRAM} ${BINARIES} ${PREFIX}/bin