aboutsummaryrefslogtreecommitdiffstats
path: root/vietnamese
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2008-11-22 16:43:25 +0800
committeritetcu <itetcu@FreeBSD.org>2008-11-22 16:43:25 +0800
commit6b8e65a61d0fe0432decba788fc3946a17bad77e (patch)
tree4a13a1328e6f634f46515a698321a0af8415d3e8 /vietnamese
parent619dae1345ab0f492e92a4a51c563b272a477367 (diff)
downloadfreebsd-ports-gnome-6b8e65a61d0fe0432decba788fc3946a17bad77e.tar.gz
freebsd-ports-gnome-6b8e65a61d0fe0432decba788fc3946a17bad77e.tar.zst
freebsd-ports-gnome-6b8e65a61d0fe0432decba788fc3946a17bad77e.zip
- use DOCSDIR
- fix plist for -DNOPORTDOCS - bump PORTREVISION Approved by: maintainer timeout on QAT BotMail Prompted by: QAT QA run
Diffstat (limited to 'vietnamese')
-rw-r--r--vietnamese/libviet/Makefile7
-rw-r--r--vietnamese/libviet/pkg-plist4
2 files changed, 6 insertions, 5 deletions
diff --git a/vietnamese/libviet/Makefile b/vietnamese/libviet/Makefile
index c6cd20682291..5066621d1ae5 100644
--- a/vietnamese/libviet/Makefile
+++ b/vietnamese/libviet/Makefile
@@ -8,6 +8,7 @@
PORTNAME= libviet
PORTVERSION= 20010210
+PORTREVISION= 1
CATEGORIES= vietnamese devel
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= obrien
@@ -26,9 +27,9 @@ do-install:
charset.h charseta.h charsetv.h ctype.h portable.h vncompos.h vnkeys.h vntype.h \
${PREFIX}/include/viet
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/libviet \
- && ${CHMOD} a+rx ${PREFIX}/share/doc/libviet
- @${INSTALL_MAN} ${WRKSRC}/../README.lib ${PREFIX}/share/doc/libviet
+ @${MKDIR} ${DOCSDIR} \
+ && ${CHMOD} a+rx ${DOCSDIR}
+ @${INSTALL_MAN} ${WRKSRC}/../README.lib ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/vietnamese/libviet/pkg-plist b/vietnamese/libviet/pkg-plist
index 039b3ef1d5f5..e9f10bac8f3a 100644
--- a/vietnamese/libviet/pkg-plist
+++ b/vietnamese/libviet/pkg-plist
@@ -9,6 +9,6 @@ include/viet/portable.h
include/viet/vncompos.h
include/viet/vnkeys.h
include/viet/vntype.h
-share/doc/libviet/README.lib
+%%PORTDOCS%%%%DOCSDIR%%/README.lib
@dirrm include/viet
-@dirrm share/doc/libviet
+%%PORTDOCS%%@dirrm %%DOCSDIR%%