diff options
author | dinoex <dinoex@FreeBSD.org> | 2008-05-31 01:09:01 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2008-05-31 01:09:01 +0800 |
commit | c25974ce083ff136211ddfb55dd77fd7ec8f9a3b (patch) | |
tree | 646a482ee9d727f94ca636705cbba6169c7be195 /devel/oniguruma4 | |
parent | 558098ac9b30dc5c9e5d00b9ab8d9395ee71992a (diff) | |
download | freebsd-ports-gnome-c25974ce083ff136211ddfb55dd77fd7ec8f9a3b.tar.gz freebsd-ports-gnome-c25974ce083ff136211ddfb55dd77fd7ec8f9a3b.tar.zst freebsd-ports-gnome-c25974ce083ff136211ddfb55dd77fd7ec8f9a3b.zip |
- use PORTEXAMPLES
Diffstat (limited to 'devel/oniguruma4')
-rw-r--r-- | devel/oniguruma4/Makefile | 8 | ||||
-rw-r--r-- | devel/oniguruma4/pkg-plist | 22 |
2 files changed, 16 insertions, 14 deletions
diff --git a/devel/oniguruma4/Makefile b/devel/oniguruma4/Makefile index dce59d5d9da5..9d565cf7934c 100644 --- a/devel/oniguruma4/Makefile +++ b/devel/oniguruma4/Makefile @@ -32,13 +32,15 @@ post-configure: post-install: ${INSTALL_SCRIPT} ${WRKSRC}/onig-config ${PREFIX}/bin/ .if !defined(NOPORTDOCS) - ${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/sample/*.c ${WRKSRC}/sample/Makefile* \ - ${EXAMPLESDIR}/ ${MKDIR} ${DOCSDIR} .for f in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ .endfor .endif +.if !defined(NOPORTEXAMPLES) + ${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/sample/*.c ${WRKSRC}/sample/Makefile* \ + ${EXAMPLESDIR}/ +.endif .include <bsd.port.mk> diff --git a/devel/oniguruma4/pkg-plist b/devel/oniguruma4/pkg-plist index f75ae3d5090b..a2c39d416452 100644 --- a/devel/oniguruma4/pkg-plist +++ b/devel/oniguruma4/pkg-plist @@ -15,14 +15,14 @@ lib/libonig.so.1 %%PORTDOCS%%%%DOCSDIR%%/RE.ja %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%@dirrm %%DOCSDIR%% -%%PORTDOCS%%%%EXAMPLESDIR%%/Makefile -%%PORTDOCS%%%%EXAMPLESDIR%%/Makefile.am -%%PORTDOCS%%%%EXAMPLESDIR%%/Makefile.in -%%PORTDOCS%%%%EXAMPLESDIR%%/encode.c -%%PORTDOCS%%%%EXAMPLESDIR%%/listcap.c -%%PORTDOCS%%%%EXAMPLESDIR%%/names.c -%%PORTDOCS%%%%EXAMPLESDIR%%/posix.c -%%PORTDOCS%%%%EXAMPLESDIR%%/simple.c -%%PORTDOCS%%%%EXAMPLESDIR%%/sql.c -%%PORTDOCS%%%%EXAMPLESDIR%%/syntax.c -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile.am +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile.in +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/encode.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/listcap.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/names.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/posix.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sql.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/syntax.c +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% |