summaryrefslogtreecommitdiffstats
path: root/graphics/cal3d/Makefile
blob: 933dd62135013c47fb3e981be74971742c8a8e08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: Stefan Walter <sw@gegenunendlich.de>
# $FreeBSD$

PORTNAME=	cal3d
PORTVERSION=	0.11.1	# see note below
CATEGORIES=	graphics devel
MASTER_SITES=	LOCAL/acm/cal3d
DISTNAME=	cal3d-20060720
DIST_SUBDIR=	${PORTNAME}

MAINTAINER=	acm@FreeBSD.org
COMMENT=	Skeletal based 3D character animation library written in C++

# Cal3D ceased development in July 2006
# The last version was labelled 0.11R2 (despite version 0.11 being released)
# The last Cal3D development version was "20060720".
# This becomes the new "stable" version, and it's given a fake version
# number of 0.11.1 to indicate it comes after 0.11.0 rather than changing
# the version scheme completely.

GNU_CONFIGURE=	yes
USES=		autoreconf libtool pathfix pkgconfig tar:bzip2
USE_LDCONFIG=	yes
INSTALL_TARGET=	install-strip

post-patch:
	@${REINPLACE_CMD} -e 's|<istream>|<iostream>|' \
		${WRKSRC}/src/cal3d/buffersource.h \
		${WRKSRC}/src/cal3d/loader.h \
		${WRKSRC}/src/cal3d/streamsource.h
	@${REINPLACE_CMD} -e '/^all_libraries/d' \
		${WRKSRC}/src/cal3d/Makefile.am

.include <bsd.port.mk>
OpenPOWER on IntegriCloud