mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
913f138107
- Host graphics/cal3d-devel tarball locally - Add DIST_SUBDIR for graphics/cal3d and graphics/cal3d-devel Approved by: garga (mentor)
39 lines
1010 B
Makefile
39 lines
1010 B
Makefile
# New ports collection makefile for: cal3d
|
|
# Date created: 12 Jul 2004
|
|
# Whom: Stefan Walter <sw@gegenunendlich.de>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= cal3d
|
|
PORTVERSION= 0.11.0
|
|
CATEGORIES= graphics devel
|
|
MASTER_SITES= http://download.gna.org/cal3d/sources/
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= acm@FreeBSD.org
|
|
COMMENT= Skeletal based 3d character animation library written in C++
|
|
|
|
CONFLICTS= cal3d-devel-[0-9]*
|
|
|
|
USE_GNOME= pkgconfig
|
|
GNU_CONFIGURE= yes
|
|
USE_AUTOTOOLS= automake:19 autoheader:259 libtool:15
|
|
USE_LDCONFIG= yes
|
|
USE_GCC= 3.4+
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
|
|
MAN1= cal3d_converter.1
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} \
|
|
-e 's|^\(pkgconfigdir\ =\).*|\1 $$(prefix)/libdata/pkgconfig|' \
|
|
${WRKSRC}/Makefile.am
|
|
@${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>
|