mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# Created by: Stefan Walter <sw@gegenunendlich.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cal3d
|
|
PORTVERSION= 0.11.0
|
|
PORTREVISION= 2
|
|
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]*
|
|
|
|
USES= pkgconfig
|
|
GNU_CONFIGURE= yes
|
|
USE_AUTOTOOLS= automake autoheader libtool
|
|
AUTOMAKE_ARGS= --add-missing
|
|
USE_LDCONFIG= yes
|
|
AUTOTOOLSFILES= aclocal.m4
|
|
# AUTOMAKE_ARGS= --add-missing
|
|
|
|
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
|
|
@${REINPLACE_CMD} -e 's| tests||' ${WRKSRC}/Makefile.am
|
|
|
|
post-configure:
|
|
@${FIND} ${WRKSRC} -name Makefile -print | \
|
|
${XARGS} ${REINPLACE_CMD} -e 's|MKDIR_P|mkdir_p|g'
|
|
|
|
.include <bsd.port.mk>
|