svn commit: r368141 - head/graphics/cal3d-devel

Tijl Coosemans tijl at FreeBSD.org
Sat Sep 13 21:16:32 UTC 2014


Author: tijl
Date: Sat Sep 13 21:16:31 2014
New Revision: 368141
URL: http://svnweb.freebsd.org/changeset/ports/368141
QAT: https://qat.redports.org/buildarchive/r368141/

Log:
  - Convert to USES=pathfix
  - Fix USE_AUTOTOOLS

Modified:
  head/graphics/cal3d-devel/Makefile

Modified: head/graphics/cal3d-devel/Makefile
==============================================================================
--- head/graphics/cal3d-devel/Makefile	Sat Sep 13 21:15:13 2014	(r368140)
+++ head/graphics/cal3d-devel/Makefile	Sat Sep 13 21:16:31 2014	(r368141)
@@ -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 ani
 
 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>


More information about the svn-ports-head mailing list