diff --git a/devel/tkp4/Makefile b/devel/tkp4/Makefile index 21b03fff99bb..d23260cf7a94 100644 --- a/devel/tkp4/Makefile +++ b/devel/tkp4/Makefile @@ -20,13 +20,9 @@ do-install: ${MKDIR} ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/*.tcl ${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/tkp4 ${PREFIX}/bin -.ifndef NOPORTDOCS ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/[A-Z]* ${DOCSDIR} -.else - -PKGNAMESUFFIX= -nodocs -.endif + ${INSTALL_DATA} ${WRKSRC}/CHANGES ${WRKSRC}/P4WINdifferences \ + ${WRKSRC}/UsingTkP4 ${DOCSDIR} .include diff --git a/devel/tkp4/files/patch-docs b/devel/tkp4/files/patch-docs new file mode 100644 index 000000000000..55b66f38bbf5 --- /dev/null +++ b/devel/tkp4/files/patch-docs @@ -0,0 +1,14 @@ +On FreeBSD, the customary places for documentation of the ported software +is under /usr/local/share/doc/. + +--- tkp4.tcl Thu Sep 13 18:48:49 2001 ++++ tkp4.tcl Fri May 17 15:48:48 2002 +@@ -1893 +1893 @@ +- p4_viewDialog show "TkP4 - Changes" [p4_fileGetText [file join $p4(libdir) CHANGES]] ++ p4_viewDialog show "TkP4 - Changes" [p4_fileGetText [file join $p4(libdir) .. doc tkp4 CHANGES]] +@@ -2032 +2032 @@ +- p4_viewDialog show "TkP4 - P4Win Differences" [p4_fileGetText [file join $p4(libdir) P4WINdifferences]] ++ p4_viewDialog show "TkP4 - P4Win Differences" [p4_fileGetText [file join $p4(libdir) .. doc tkp4 P4WINdifferences]] +@@ -2038 +2038 @@ +- p4_viewDialog show "TkP4 - Using" [p4_fileGetText [file join $p4(libdir) UsingTkP4]] ++ p4_viewDialog show "TkP4 - Using" [p4_fileGetText [file join $p4(libdir) .. doc tkp4 UsingTkP4]] diff --git a/devel/tkp4/pkg-plist b/devel/tkp4/pkg-plist index 04342423c6b5..ecc1c0be67b5 100644 --- a/devel/tkp4/pkg-plist +++ b/devel/tkp4/pkg-plist @@ -3,8 +3,7 @@ bin/tkp4 %%SCRIPTS%%/tkp4.tcl %%SCRIPTS%%/tree.tcl @dirrm %%SCRIPTS%% -%%PORTDOCS%%%%DOCS%%/CHANGES -%%PORTDOCS%%%%DOCS%%/P4WINdifferences -%%PORTDOCS%%%%DOCS%%/README -%%PORTDOCS%%%%DOCS%%/UsingTkP4 -%%PORTDOCS%%@dirrm %%DOCS%% +%%DOCS%%/CHANGES +%%DOCS%%/P4WINdifferences +%%DOCS%%/UsingTkP4 +@dirrm %%DOCS%%