diff options
author | tijl <tijl@FreeBSD.org> | 2014-07-05 02:49:02 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2014-07-05 02:49:02 +0800 |
commit | b39b6ff7526f072f0bca56f73addc069141bae3e (patch) | |
tree | 8bc3250ea56c74eee5310c77bfc562dbf7032fe0 /textproc | |
parent | 7165a1a63bfb211211960ebc5976d752f55d07e8 (diff) | |
download | freebsd-ports-gnome-b39b6ff7526f072f0bca56f73addc069141bae3e.tar.gz freebsd-ports-gnome-b39b6ff7526f072f0bca56f73addc069141bae3e.tar.zst freebsd-ports-gnome-b39b6ff7526f072f0bca56f73addc069141bae3e.zip |
- Convert to USES=libtool pathfix
- Use BROKEN_powerpc
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/google-ctemplate/Makefile | 19 | ||||
-rw-r--r-- | textproc/google-ctemplate/pkg-plist | 4 |
2 files changed, 9 insertions, 14 deletions
diff --git a/textproc/google-ctemplate/Makefile b/textproc/google-ctemplate/Makefile index 8318048724fc..3f99c09ebda1 100644 --- a/textproc/google-ctemplate/Makefile +++ b/textproc/google-ctemplate/Makefile @@ -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> diff --git a/textproc/google-ctemplate/pkg-plist b/textproc/google-ctemplate/pkg-plist index f104069ec5d8..5916652e0736 100644 --- a/textproc/google-ctemplate/pkg-plist +++ b/textproc/google-ctemplate/pkg-plist @@ -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 |