aboutsummaryrefslogtreecommitdiff
path: root/devel/oniguruma5
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/oniguruma5
parent0dcb5d271b6eab41164fb2d962fcc540f42871dc (diff)
downloadports-79efb30db9018f7dc0190848f0c3abf1060b4336.tar.gz
ports-79efb30db9018f7dc0190848f0c3abf1060b4336.zip
Notes
Diffstat (limited to 'devel/oniguruma5')
-rw-r--r--devel/oniguruma5/Makefile8
-rw-r--r--devel/oniguruma5/pkg-plist22
2 files changed, 16 insertions, 14 deletions
diff --git a/devel/oniguruma5/Makefile b/devel/oniguruma5/Makefile
index dce59d5d9da5..9d565cf7934c 100644
--- a/devel/oniguruma5/Makefile
+++ b/devel/oniguruma5/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/oniguruma5/pkg-plist b/devel/oniguruma5/pkg-plist
index f75ae3d5090b..a2c39d416452 100644
--- a/devel/oniguruma5/pkg-plist
+++ b/devel/oniguruma5/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%%