summaryrefslogblamecommitdiff
path: root/graphics/animabob/Makefile
blob: 149a6e33785865ddc8e6d874db6030d1a2f2a247 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                
                                 










                                              





                                                 






                                                                           
# New ports collection makefile for:	animabob
# Date created:		21 July 2002
# Whom:			Igor Pokrovsky <tiamat@telegraph.spb.ru>
#
# $FreeBSD$
#

PORTNAME=	animabob
PORTVERSION=	1.3.0b
CATEGORIES=	graphics
MASTER_SITES=	ftp://ftp.borg.umn.edu/pub/lcse/grant/AnimaBob/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Interactive 3D volume renderer

USE_IMAKE=	yes
USE_MESA=	yes
USE_MOTIF=	yes
USE_REINPLACE=	yes
ALL_TARGET=	build

MAN1=		animabob.1 icol.1
MANCOMPRESSED=	yes

post-patch:
	@${FIND} ${WRKSRC} -type f | \
		${XARGS} -x -n 10 \
		${REINPLACE_CMD} -E \
			-e 's|malloc.h|stdlib.h|'

post-build:
# make the doc installation PREFIX safe
	@${REINPLACE_CMD} -E \
		-e 's|(DOCDIR[[:space:]]*=).*$$|\1${PREFIX}/lib/X11/doc|' \
		${WRKSRC}/doc/Makefile

.include <bsd.port.mk>