diff options
author | mi <mi@FreeBSD.org> | 2002-05-17 20:05:59 +0000 |
---|---|---|
committer | mi <mi@FreeBSD.org> | 2002-05-17 20:05:59 +0000 |
commit | 5882f7964c12a1bf20573f0aaa5013b886af9334 (patch) | |
tree | 522ff522305516d80710422824146c6ba737b39a /devel/tkp4 | |
parent | 34227f963b6291e2fb3fd2bd555ebc156f1d0642 (diff) | |
download | FreeBSD-ports-5882f7964c12a1bf20573f0aaa5013b886af9334.zip FreeBSD-ports-5882f7964c12a1bf20573f0aaa5013b886af9334.tar.gz |
Tkp4 lets you read its documentation at run time. Patch it to find in
the doc directory and unconditionalize document install -- so the
texts are found even in the case of NOPORTDOCS.
Not bumping the REVISION, since so little time elapsed since this port's
appearance.
Diffstat (limited to 'devel/tkp4')
-rw-r--r-- | devel/tkp4/Makefile | 8 | ||||
-rw-r--r-- | devel/tkp4/files/patch-docs | 14 | ||||
-rw-r--r-- | devel/tkp4/pkg-plist | 9 |
3 files changed, 20 insertions, 11 deletions
diff --git a/devel/tkp4/Makefile b/devel/tkp4/Makefile index 21b03ff..d23260c 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 <bsd.port.pre.mk> diff --git a/devel/tkp4/files/patch-docs b/devel/tkp4/files/patch-docs new file mode 100644 index 0000000..55b66f3 --- /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/<port name>. + +--- 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 0434242..ecc1c0b 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%% |