aboutsummaryrefslogtreecommitdiff
path: root/devel/libdict
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libdict')
-rw-r--r--devel/libdict/Makefile3
-rw-r--r--devel/libdict/pkg-plist2
2 files changed, 4 insertions, 1 deletions
diff --git a/devel/libdict/Makefile b/devel/libdict/Makefile
index f214e81f1285..756a7bb6bc63 100644
--- a/devel/libdict/Makefile
+++ b/devel/libdict/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libdict
PORTVERSION= 0.2.1
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_LOCAL}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:source treap_insert.pdf:doc \
@@ -28,11 +29,13 @@ post-extract:
pre-install:
-@${MKDIR} ${PREFIX}/include/
-@${MKDIR} ${PREFIX}/lib/
+.ifndef(NOPORTDOCS)
-@${MKDIR} ${DOCSDIR}
post-install:
. for ___f in avl_insert.pdf empty.pdf treap_insert.pdf
@${CP} ${WRKSRC}/${___f} ${DOCSDIR}
. endfor
+.endif
.include <bsd.port.mk>
diff --git a/devel/libdict/pkg-plist b/devel/libdict/pkg-plist
index d447e57446e6..bf33be8332bf 100644
--- a/devel/libdict/pkg-plist
+++ b/devel/libdict/pkg-plist
@@ -14,4 +14,4 @@ include/dict/wb_tree.h
%%PORTDOCS%%%%DOCSDIR%%/empty.pdf
%%PORTDOCS%%%%DOCSDIR%%/treap_insert.pdf
@dirrm include/dict
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/
+%%PORTDOCS%%@dirrm %%DOCSDIR%%