- respect NOPORTDOCS and fix plist

- bump PORTREVISION

Prompted by:	QA Tindy run
This commit is contained in:
Ion-Mihai Tetcu 2008-07-16 14:29:26 +00:00
parent 3b14b4a0d9
commit 50570fd841
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=216918
2 changed files with 4 additions and 1 deletions

View file

@ -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>

View file

@ -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%%