aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2008-07-10 02:02:57 +0800
committeritetcu <itetcu@FreeBSD.org>2008-07-10 02:02:57 +0800
commit0ab9d76122ec0b53ec1b0f76531aa2edfb8e784a (patch)
tree4e24c83b44e9bba80b3e6b7c23aeb04c0d842538
parent11458017264e853bf60815a3d1bdabdd30e616d4 (diff)
downloadfreebsd-ports-gnome-0ab9d76122ec0b53ec1b0f76531aa2edfb8e784a.tar.gz
freebsd-ports-gnome-0ab9d76122ec0b53ec1b0f76531aa2edfb8e784a.tar.zst
freebsd-ports-gnome-0ab9d76122ec0b53ec1b0f76531aa2edfb8e784a.zip
- use DOCSDIR
- fix plist for -DNOPORTDOCS - bump PORTREVFISION Prompted by: QA Tindy run
-rw-r--r--x11/libdnd/Makefile4
-rw-r--r--x11/libdnd/pkg-plist10
2 files changed, 7 insertions, 7 deletions
diff --git a/x11/libdnd/Makefile b/x11/libdnd/Makefile
index cf351e3cb370..c8ad43156626 100644
--- a/x11/libdnd/Makefile
+++ b/x11/libdnd/Makefile
@@ -7,7 +7,7 @@
PORTNAME= libdnd
PORTVERSION= 1.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11
MASTER_SITES= http://leb.net/offix/
DISTNAME= dnd.${PORTVERSION}
@@ -26,7 +26,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/" \
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/libdnd
- ${INSTALL_MAN} ${WRKDIR}/DND/DNDdoc/* ${PREFIX}/share/doc/libdnd
+ ${INSTALL_MAN} ${WRKDIR}/DND/DNDdoc/* ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/x11/libdnd/pkg-plist b/x11/libdnd/pkg-plist
index 1f9d9d6ea097..2907becd13bc 100644
--- a/x11/libdnd/pkg-plist
+++ b/x11/libdnd/pkg-plist
@@ -6,9 +6,9 @@ lib/libDnd.so
lib/libDnd.so.1
lib/libDnd++.so
lib/libDnd++.so.1
-share/doc/libdnd/DND.dvi
-share/doc/libdnd/DNDa4.ps
-share/doc/libdnd/DNDletter.ps
-share/doc/libdnd/README
+%%PORTDOCS%%%%DOCSDIR%%/DND.dvi
+%%PORTDOCS%%%%DOCSDIR%%/DNDa4.ps
+%%PORTDOCS%%%%DOCSDIR%%/DNDletter.ps
+%%PORTDOCS%%%%DOCSDIR%%/README
@dirrm include/OffiX
-@dirrm share/doc/libdnd
+%%PORTDOCS%%@dirrm %%DOCSDIR%%