Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jul 2014 18:49:02 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360646 - head/textproc/google-ctemplate
Message-ID:  <201407041849.s64In2A6011666@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Fri Jul  4 18:49:02 2014
New Revision: 360646
URL: http://svnweb.freebsd.org/changeset/ports/360646
QAT: https://qat.redports.org/buildarchive/r360646/

Log:
  - Convert to USES=libtool pathfix
  - Use BROKEN_powerpc

Modified:
  head/textproc/google-ctemplate/Makefile
  head/textproc/google-ctemplate/pkg-plist

Modified: head/textproc/google-ctemplate/Makefile
==============================================================================
--- head/textproc/google-ctemplate/Makefile	Fri Jul  4 18:47:40 2014	(r360645)
+++ head/textproc/google-ctemplate/Makefile	Fri Jul  4 18:49:02 2014	(r360646)
@@ -3,25 +3,26 @@
 
 PORTNAME=	google-ctemplate
 PORTVERSION=	2.2
+PORTREVISION=	1
 CATEGORIES=	textproc
 MASTER_SITES=	GOOGLE_CODE
 PROJECTHOST=	ctemplate
 DISTNAME=	ctemplate-${PORTVERSION}
 
 MAINTAINER=	vanilla@FreeBSD.org
-COMMENT=	A simple but powerful template language for C++
+COMMENT=	Simple but powerful template language for C++
 
 OPTIONS_DEFINE=	DOCS
 
 GNU_CONFIGURE=	yes
+USES=		libtool pathfix pkgconfig
 USE_LDCONFIG=	yes
-USES=		pkgconfig
+
+BROKEN_powerpc=	Does not compile on powerpc
 
 .include <bsd.port.options.mk>
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|^pkgconfigdir.*|pkgconfigdir = $${PREFIX}/libdata/pkgconfig|' \
-		${WRKSRC}/Makefile.in
 	@${REINPLACE_CMD} -e \
 		's|$$(prefix)/share/doc/$$(PACKAGE)-$$(VERSION)|${DOCSDIR}|' \
 		${WRKSRC}/Makefile.in
@@ -32,12 +33,6 @@ post-patch:
 .endif
 
 tests: build
-	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
-
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "powerpc"
-BROKEN=		Does not compile on powerpc
-.endif
+	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/textproc/google-ctemplate/pkg-plist
==============================================================================
--- head/textproc/google-ctemplate/pkg-plist	Fri Jul  4 18:47:40 2014	(r360645)
+++ head/textproc/google-ctemplate/pkg-plist	Fri Jul  4 18:49:02 2014	(r360646)
@@ -15,13 +15,13 @@ include/ctemplate/template_namelist.h
 include/ctemplate/template_pathops.h
 include/ctemplate/template_string.h
 lib/libctemplate.a
-lib/libctemplate.la
 lib/libctemplate.so
 lib/libctemplate.so.2
+lib/libctemplate.so.2.0.1
 lib/libctemplate_nothreads.a
-lib/libctemplate_nothreads.la
 lib/libctemplate_nothreads.so
 lib/libctemplate_nothreads.so.2
+lib/libctemplate_nothreads.so.2.0.1
 libdata/pkgconfig/libctemplate.pc
 libdata/pkgconfig/libctemplate_nothreads.pc
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407041849.s64In2A6011666>