mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- Fix to work with a custom PREFIX and/or LOCALBASE.
- Remove my mirror. Noticed by: itetcu va QA tinderbox
This commit is contained in:
parent
3a37fa98b6
commit
8bf6433eae
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=238068
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user