aboutsummaryrefslogtreecommitdiffstats
path: root/devel/oniguruma
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/oniguruma
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/oniguruma')
-rw-r--r--devel/oniguruma/Makefile6
-rw-r--r--devel/oniguruma/pkg-plist16
2 files changed, 12 insertions, 10 deletions
diff --git a/devel/oniguruma/Makefile b/devel/oniguruma/Makefile
index 82104f1a2dfc..effc12284a88 100644
--- a/devel/oniguruma/Makefile
+++ b/devel/oniguruma/Makefile
@@ -37,12 +37,14 @@ post-configure:
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/onig-config ${PREFIX}/bin/
.if !defined(NOPORTDOCS)
- ${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/sample/* ${EXAMPLESDIR}/
${MKDIR} ${DOCSDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
.endif
+.if !defined(NOPORTEXAMPLES)
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/sample/* ${EXAMPLESDIR}/
+.endif
.include <bsd.port.mk>
diff --git a/devel/oniguruma/pkg-plist b/devel/oniguruma/pkg-plist
index 320c9ee5b5a8..f2d29173711a 100644
--- a/devel/oniguruma/pkg-plist
+++ b/devel/oniguruma/pkg-plist
@@ -9,11 +9,11 @@ lib/libonig.a
%%PORTDOCS%%%%DOCSDIR%%/RE.ja
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%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%%/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%%