aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2008-07-16 22:29:26 +0800
committeritetcu <itetcu@FreeBSD.org>2008-07-16 22:29:26 +0800
commita0558d918de0a38fc796c577bba708f8798e31bb (patch)
tree1538d3ae9fd487a1f711648639c325529fa85687
parentee7342fa95a04063a359b88a257f2b1de20114db (diff)
downloadfreebsd-ports-gnome-a0558d918de0a38fc796c577bba708f8798e31bb.tar.gz
freebsd-ports-gnome-a0558d918de0a38fc796c577bba708f8798e31bb.tar.zst
freebsd-ports-gnome-a0558d918de0a38fc796c577bba708f8798e31bb.zip
- respect NOPORTDOCS and fix plist
- bump PORTREVISION Prompted by: QA Tindy run
-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%%