freebsd-ports/graphics/cal3d-devel/Makefile
Jeremy Messenger 789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00

49 lines
1.2 KiB
Makefile

# New ports collection makefile for: cal3d
# Date created: 12 Jul 2004
# Whom: Stefan Walter <sw@gegenunendlich.de>
#
# $FreeBSD$
#
PORTNAME= cal3d
PORTVERSION= 20060720
PORTREVISION= 1
CATEGORIES= graphics devel
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= acm/${PORTNAME}
PKGNAMESUFFIX= -devel
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= acm@FreeBSD.org
COMMENT= Skeletal based 3d character animation library written in C++ (devel)
CONFLICTS= cal3d-[0-9]*
USE_BZIP2= yes
USE_GNOME= pkgconfig
USE_LDCONFIG= yes
USE_AUTOTOOLS= automake:19 autoheader:262 libtool:22
AUTOMAKE_ARGS= --add-missing
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
pre-configure:
cd ${WRKSRC} && ${ACLOCAL} -I ${LOCALBASE}/share/aclocal
cd ${WRKSRC} && ${AUTOHEADER}
cd ${WRKSRC} && ${LIBTOOLIZE} --automake --force
# XXX: handle slight differences between 6.x and 5.x/4.x
post-install:
@${RM} -f ${PREFIX}/lib/libcal3d.a
.include <bsd.port.mk>