aboutsummaryrefslogtreecommitdiffstats
path: root/devel/oniguruma4
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2008-05-31 01:09:01 +0800
committerdinoex <dinoex@FreeBSD.org>2008-05-31 01:09:01 +0800
commitc25974ce083ff136211ddfb55dd77fd7ec8f9a3b (patch)
tree646a482ee9d727f94ca636705cbba6169c7be195 /devel/oniguruma4
parent558098ac9b30dc5c9e5d00b9ab8d9395ee71992a (diff)
downloadfreebsd-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/Makefile8
-rw-r--r--devel/oniguruma4/pkg-plist22
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%%