aboutsummaryrefslogtreecommitdiff
path: root/devel/google-perftools
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2009-05-30 14:50:48 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2009-05-30 14:50:48 +0000
commit1576922a9b07ebee9f4a4f45f3a4e0599ea196a9 (patch)
treead4d0fbfea6e13b6306a7aeca326ce6a6b8e45d0 /devel/google-perftools
parenta1e9fd143ba386d485f315a6eca77cb2a1fe165e (diff)
downloadports-1576922a9b07ebee9f4a4f45f3a4e0599ea196a9.tar.gz
ports-1576922a9b07ebee9f4a4f45f3a4e0599ea196a9.zip
- Use MAN1 instead of pkg-plist.
- Use standard DOCSDIR instead of version-suffix directory. - Use USE_LDCONFIG to ask ports system to reload. PR: 134847 Submitted by: Gea-Suan Lin <gslin@gslin.org> Approved by: Yuri <yuri@rawbw.com> (maintainer)
Notes
Notes: svn path=/head/; revision=234830
Diffstat (limited to 'devel/google-perftools')
-rw-r--r--devel/google-perftools/Makefile5
-rw-r--r--devel/google-perftools/files/patch-Makefile.in11
-rw-r--r--devel/google-perftools/pkg-plist1
3 files changed, 14 insertions, 3 deletions
diff --git a/devel/google-perftools/Makefile b/devel/google-perftools/Makefile
index ff10076a959e..49642c95b22c 100644
--- a/devel/google-perftools/Makefile
+++ b/devel/google-perftools/Makefile
@@ -7,6 +7,7 @@
PORTNAME= google-perftools
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
${MASTER_SITE_LOCAL}
@@ -16,8 +17,8 @@ MAINTAINER= yuri@tsoft.com
COMMENT= Fast, multi-threaded malloc() and nifty performance analysis tools
GNU_CONFIGURE= yes
-
-DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
+USE_LDCONFIG= yes
+MAN1= pprof.1
post-patch:
.if defined(NOPORTDOCS)
diff --git a/devel/google-perftools/files/patch-Makefile.in b/devel/google-perftools/files/patch-Makefile.in
new file mode 100644
index 000000000000..432280e11a9c
--- /dev/null
+++ b/devel/google-perftools/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2009-05-26 22:51:44.000000000 +0800
++++ Makefile.in 2009-05-26 22:51:55.000000000 +0800
+@@ -927,7 +927,7 @@
+ googleinclude_HEADERS = $(SG_STACKTRACE_INCLUDES) \
+ $(SG_TCMALLOC_MINIMAL_INCLUDES) $(am__append_13) \
+ $(am__append_18)
+-docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION)
++docdir = $(prefix)/share/doc/$(PACKAGE)
+ # This is for HTML and other documentation you want to install.
+ # Add your documentation files (in doc/) in addition to these
+ # top-level boilerplate files. Also add a TODO file if you have one.
diff --git a/devel/google-perftools/pkg-plist b/devel/google-perftools/pkg-plist
index 74e7f82211ba..ecca50559efd 100644
--- a/devel/google-perftools/pkg-plist
+++ b/devel/google-perftools/pkg-plist
@@ -18,7 +18,6 @@ lib/libtcmalloc_minimal.a
lib/libtcmalloc_minimal.la
lib/libtcmalloc_minimal.so
lib/libtcmalloc_minimal.so.0
-man/man1/pprof.1
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog