aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-08-30 13:12:47 +0800
committerlioux <lioux@FreeBSD.org>2001-08-30 13:12:47 +0800
commit623c20940e8839af775d272028785ceec8214d0f (patch)
treee3ba158d763a536d7667e63d47e9e113bd976d79
parente7a2e0af69f4557bb9f3b2783a6692d06104986a (diff)
downloadfreebsd-ports-gnome-623c20940e8839af775d272028785ceec8214d0f.tar.gz
freebsd-ports-gnome-623c20940e8839af775d272028785ceec8214d0f.tar.zst
freebsd-ports-gnome-623c20940e8839af775d272028785ceec8214d0f.zip
o style fixes in Makefile and deployment of DOCSDIR var
o support NOPORTDOCS in PLIST PR: 29796 Submitted by: Patrick Li <pat@databits.net>
-rw-r--r--databases/dbview/Makefile6
-rw-r--r--databases/dbview/pkg-plist6
2 files changed, 6 insertions, 6 deletions
diff --git a/databases/dbview/Makefile b/databases/dbview/Makefile
index 77a14751fd46..abc4748b2157 100644
--- a/databases/dbview/Makefile
+++ b/databases/dbview/Makefile
@@ -24,9 +24,9 @@ do-install:
post-install:
.if !defined(NOPORTDOCS)
- @ ${MKDIR} ${PREFIX}/share/doc/dbview
- @ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dbview
- @ ${INSTALL_DATA} ${WRKSRC}/dBASE ${PREFIX}/share/doc/dbview
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/dBASE ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/databases/dbview/pkg-plist b/databases/dbview/pkg-plist
index 5ab97abc3a66..99f6b761ff0a 100644
--- a/databases/dbview/pkg-plist
+++ b/databases/dbview/pkg-plist
@@ -1,4 +1,4 @@
bin/dbview
-share/doc/dbview/README
-share/doc/dbview/dBASE
-@dirrm share/doc/dbview
+%%PORTDOCS%%share/doc/dbview/README
+%%PORTDOCS%%share/doc/dbview/dBASE
+%%PORTDOCS%%@dirrm share/doc/dbview