summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-08-30 05:12:47 +0000
committerlioux <lioux@FreeBSD.org>2001-08-30 05:12:47 +0000
commit623c20940e8839af775d272028785ceec8214d0f (patch)
treee3ba158d763a536d7667e63d47e9e113bd976d79
parente7a2e0af69f4557bb9f3b2783a6692d06104986a (diff)
downloadFreeBSD-ports-623c20940e8839af775d272028785ceec8214d0f.zip
FreeBSD-ports-623c20940e8839af775d272028785ceec8214d0f.tar.gz
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 77a1475..abc4748 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 5ab97ab..99f6b76 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
OpenPOWER on IntegriCloud