aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-01-26 07:22:42 +0800
committerarved <arved@FreeBSD.org>2003-01-26 07:22:42 +0800
commit02944b611771b0bcc1cde4cd915c8d3d064dc2a4 (patch)
treeec33a82064845834be04ec649907347c2b5e832c /devel
parent465ab5c50bcc4b11dd2c38e2ecd4a461b16385be (diff)
downloadfreebsd-ports-gnome-02944b611771b0bcc1cde4cd915c8d3d064dc2a4.tar.gz
freebsd-ports-gnome-02944b611771b0bcc1cde4cd915c8d3d064dc2a4.tar.zst
freebsd-ports-gnome-02944b611771b0bcc1cde4cd915c8d3d064dc2a4.zip
Utilize NOPORTDOCS
PR: 47476 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'devel')
-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