aboutsummaryrefslogtreecommitdiff
path: root/devel/oniguruma
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2008-05-30 17:09:01 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2008-05-30 17:09:01 +0000
commit79efb30db9018f7dc0190848f0c3abf1060b4336 (patch)
tree9fd78abdee564742abce31a5d46f1e89b4cbc0c1 /devel/oniguruma
parent0dcb5d271b6eab41164fb2d962fcc540f42871dc (diff)
downloadports-79efb30db9018f7dc0190848f0c3abf1060b4336.tar.gz
ports-79efb30db9018f7dc0190848f0c3abf1060b4336.zip
Notes
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%%