diff options
author | vanilla <vanilla@FreeBSD.org> | 2013-09-25 09:35:23 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2013-09-25 09:35:23 +0800 |
commit | b942579748be781bf320e388577590317ddc2cfc (patch) | |
tree | a9285f6d92220ab705fc8b1c8a74c79455d6a0d6 /textproc | |
parent | 2535192fb293d56a2cc09a80445abbd3555fcfaa (diff) | |
download | freebsd-ports-gnome-b942579748be781bf320e388577590317ddc2cfc.tar.gz freebsd-ports-gnome-b942579748be781bf320e388577590317ddc2cfc.tar.zst freebsd-ports-gnome-b942579748be781bf320e388577590317ddc2cfc.zip |
Support stage.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/google-ctemplate/Makefile | 12 | ||||
-rw-r--r-- | textproc/google-ctemplate/pkg-plist | 19 |
2 files changed, 23 insertions, 8 deletions
diff --git a/textproc/google-ctemplate/Makefile b/textproc/google-ctemplate/Makefile index 07f148648144..8318048724fc 100644 --- a/textproc/google-ctemplate/Makefile +++ b/textproc/google-ctemplate/Makefile @@ -11,23 +11,21 @@ DISTNAME= ctemplate-${PORTVERSION} MAINTAINER= vanilla@FreeBSD.org COMMENT= A simple but powerful template language for C++ +OPTIONS_DEFINE= DOCS + GNU_CONFIGURE= yes USE_LDCONFIG= yes USES= pkgconfig -.if !defined(NOPORTDOCS) -PORTDOCS= * -.endif +.include <bsd.port.options.mk> post-patch: - ${REINPLACE_CMD} -e 's|^pkgconfigdir.*|pkgconfigdir = $${PREFIX}/libdata/pkgconfig|' \ + @${REINPLACE_CMD} -e 's|^pkgconfigdir.*|pkgconfigdir = $${PREFIX}/libdata/pkgconfig|' \ ${WRKSRC}/Makefile.in - -.if !defined(NOPORTDOCS) @${REINPLACE_CMD} -e \ 's|$$(prefix)/share/doc/$$(PACKAGE)-$$(VERSION)|${DOCSDIR}|' \ ${WRKSRC}/Makefile.in -.else +.if empty(PORT_OPTIONS:MDOCS) @${REINPLACE_CMD} -e \ '/install-data-am/ s|install-dist_docDATA||' \ ${WRKSRC}/Makefile.in diff --git a/textproc/google-ctemplate/pkg-plist b/textproc/google-ctemplate/pkg-plist index 47e7a3fe6c8e..f104069ec5d8 100644 --- a/textproc/google-ctemplate/pkg-plist +++ b/textproc/google-ctemplate/pkg-plist @@ -8,8 +8,8 @@ include/ctemplate/template_annotator.h include/ctemplate/template_cache.h include/ctemplate/template_dictionary.h include/ctemplate/template_dictionary_interface.h -include/ctemplate/template_enums.h include/ctemplate/template_emitter.h +include/ctemplate/template_enums.h include/ctemplate/template_modifiers.h include/ctemplate/template_namelist.h include/ctemplate/template_pathops.h @@ -24,4 +24,21 @@ lib/libctemplate_nothreads.so lib/libctemplate_nothreads.so.2 libdata/pkgconfig/libctemplate.pc libdata/pkgconfig/libctemplate_nothreads.pc +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/README_windows.txt +%%PORTDOCS%%%%DOCSDIR%%/auto_escape.html +%%PORTDOCS%%%%DOCSDIR%%/designstyle.css +%%PORTDOCS%%%%DOCSDIR%%/example.html +%%PORTDOCS%%%%DOCSDIR%%/guide.html +%%PORTDOCS%%%%DOCSDIR%%/howto.html +%%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/reference.html +%%PORTDOCS%%%%DOCSDIR%%/tips.html +%%PORTDOCS%%%%DOCSDIR%%/xss_resources.html +%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm include/ctemplate |