1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

- Convert to USES=pathfix

- Fix USE_AUTOTOOLS
This commit is contained in:
Tijl Coosemans 2014-09-13 21:16:31 +00:00
parent 2cacaf48ec
commit d3f2c4f767
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368141

View File

@ -3,7 +3,7 @@
PORTNAME= cal3d
PORTVERSION= 20060720
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= graphics devel
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= acm/${PORTNAME}
@ -15,28 +15,18 @@ COMMENT= Skeletal based 3D character animation library written in C++ (devel)
CONFLICTS= cal3d-[0-9]*
USES= pkgconfig libtool tar:bzip2
USES= libtool pathfix pkgconfig tar:bzip2
PATHFIX_MAKEFILEIN= Makefile.am
USE_LDCONFIG= yes
USE_AUTOTOOLS= automake autoheader libtoolize
USE_AUTOTOOLS= libtoolize aclocal autoconf autoheader automake
AUTOMAKE_ARGS= --add-missing
INSTALL_TARGET= install-strip
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 ${STAGEDIR}${PREFIX}/lib/libcal3d.a
.include <bsd.port.mk>