aboutsummaryrefslogtreecommitdiff
path: root/devel/cflow2vcg
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-01-25 23:22:42 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-01-25 23:22:42 +0000
commit4bb2a909400c69b879407a54b629a4819de1e6b5 (patch)
treeabed1ac57320eb03b1ad69f3f93ad1b3fde1e795 /devel/cflow2vcg
parente06f6b0a578b565fcb4c8cf6aa3d74994b12c561 (diff)
downloadports-4bb2a909400c69b879407a54b629a4819de1e6b5.tar.gz
ports-4bb2a909400c69b879407a54b629a4819de1e6b5.zip
Utilize NOPORTDOCS
PR: 47476 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=74009
Diffstat (limited to 'devel/cflow2vcg')
-rw-r--r--devel/cflow2vcg/Makefile8
-rw-r--r--devel/cflow2vcg/files/patch-Makefile.in19
-rw-r--r--devel/cflow2vcg/pkg-plist18
3 files changed, 24 insertions, 21 deletions
diff --git a/devel/cflow2vcg/Makefile b/devel/cflow2vcg/Makefile
index 35320c44c588..1906acdaca8f 100644
--- a/devel/cflow2vcg/Makefile
+++ b/devel/cflow2vcg/Makefile
@@ -16,4 +16,12 @@ MAINTAINER= ports@FreeBSD.org
GNU_CONFIGURE= yes
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for ext in cflow html jpg rtf txt vcg
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.${ext} ${DOCSDIR}
+.endfor
+.endif
+
.include <bsd.port.mk>
diff --git a/devel/cflow2vcg/files/patch-Makefile.in b/devel/cflow2vcg/files/patch-Makefile.in
index 1c2bd21aa551..88786ac610ac 100644
--- a/devel/cflow2vcg/files/patch-Makefile.in
+++ b/devel/cflow2vcg/files/patch-Makefile.in
@@ -1,16 +1,11 @@
---- doc/Makefile.in.orig Fri Feb 8 06:01:17 2002
-+++ doc/Makefile.in Tue May 14 14:09:24 2002
-@@ -63,11 +63,11 @@
+--- Makefile.in.orig Fri Feb 8 07:01:11 2002
++++ Makefile.in Fri Jan 24 01:42:56 2003
+@@ -65,7 +65,7 @@
RANLIB = @RANLIB@
VERSION = @VERSION@
--docdir = $(prefix)/doc
-+docdir = $(prefix)/share/doc/cflow2vcg
- doc_DATA = cflow2vcg.html cflow2vcg.jpg cflow2vcg_ext.jpg cflow2vcg_int.jpg cflow2vcg.cflow cflow2vcg.vcg cflow2vcg.rtf cflow2vcg.txt
-
-
--man_MANS = cflow2vcg.1
-+man_MANS =
-
- EXTRA_DIST = cflow2vcg.sgm cflow2vcg.dsl cflow2vcg.refentry.sgm cflow2vcg_man.sgm $(doc_DATA)
+-SUBDIRS = src doc test
++SUBDIRS = src test
+ EXTRA_DIST = configure README_fr
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
diff --git a/devel/cflow2vcg/pkg-plist b/devel/cflow2vcg/pkg-plist
index 84e2f653518e..9edd8a1b4ff6 100644
--- a/devel/cflow2vcg/pkg-plist
+++ b/devel/cflow2vcg/pkg-plist
@@ -1,10 +1,10 @@
bin/cflow2vcg
-share/doc/cflow2vcg/cflow2vcg.cflow
-share/doc/cflow2vcg/cflow2vcg.html
-share/doc/cflow2vcg/cflow2vcg.jpg
-share/doc/cflow2vcg/cflow2vcg.rtf
-share/doc/cflow2vcg/cflow2vcg.txt
-share/doc/cflow2vcg/cflow2vcg.vcg
-share/doc/cflow2vcg/cflow2vcg_ext.jpg
-share/doc/cflow2vcg/cflow2vcg_int.jpg
-@dirrm share/doc/cflow2vcg
+%%PORTDOCS%%share/doc/cflow2vcg/cflow2vcg.cflow
+%%PORTDOCS%%share/doc/cflow2vcg/cflow2vcg.html
+%%PORTDOCS%%share/doc/cflow2vcg/cflow2vcg.jpg
+%%PORTDOCS%%share/doc/cflow2vcg/cflow2vcg.rtf
+%%PORTDOCS%%share/doc/cflow2vcg/cflow2vcg.txt
+%%PORTDOCS%%share/doc/cflow2vcg/cflow2vcg.vcg
+%%PORTDOCS%%share/doc/cflow2vcg/cflow2vcg_ext.jpg
+%%PORTDOCS%%share/doc/cflow2vcg/cflow2vcg_int.jpg
+%%PORTDOCS%%@dirrm share/doc/cflow2vcg