diff options
author | kevlo <kevlo@FreeBSD.org> | 2011-03-12 16:34:39 +0800 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2011-03-12 16:34:39 +0800 |
commit | 8d4eab015593749ac8f2205eaa97c122f35325f8 (patch) | |
tree | 25e765fe5a1c8af7117ad2b9e442ec51da9b93c9 | |
parent | 66af969f3bcaf6e3282d284f9958c7232badb0c0 (diff) | |
download | freebsd-ports-gnome-8d4eab015593749ac8f2205eaa97c122f35325f8.tar.gz freebsd-ports-gnome-8d4eab015593749ac8f2205eaa97c122f35325f8.tar.zst freebsd-ports-gnome-8d4eab015593749ac8f2205eaa97c122f35325f8.zip |
Initial import of deheader 0.6
Deheader analyzes C and C++ files to determine which header inclusions
can be removed while still allowing them to compile.
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/deheader/Makefile | 30 | ||||
-rw-r--r-- | devel/deheader/distinfo | 2 | ||||
-rw-r--r-- | devel/deheader/pkg-descr | 7 |
4 files changed, 40 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 01272bfd306b..a7e90dae9cb3 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -294,6 +294,7 @@ SUBDIR += dcmtk SUBDIR += dconf SUBDIR += ddd + SUBDIR += deheader SUBDIR += deputy SUBDIR += desktop-file-utils SUBDIR += dev86 diff --git a/devel/deheader/Makefile b/devel/deheader/Makefile new file mode 100644 index 000000000000..abb1bd89a9c9 --- /dev/null +++ b/devel/deheader/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: deheader +# Date Created: 12 March 2011 +# Whom: Kevin Lo <kevlo@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= deheader +PORTVERSION= 0.6 +CATEGORIES= devel +MASTER_SITES= http://www.catb.org/esr/deheader/ + +MAINTAINER= kevlo@FreeBSD.org +COMMENT= A tool to find unnecesary includes in C/C++ files + +LICENSE= BSD +LICENSE_FILE= ${WRKSRC}/COPYING + +NO_BUILD= yes +USE_PYTHON= yes + +MAN1= deheader.1 + +PLIST_FILES= bin/deheader + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/deheader ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/deheader.1 ${PREFIX}/man/man1 + +.include <bsd.port.mk> diff --git a/devel/deheader/distinfo b/devel/deheader/distinfo new file mode 100644 index 000000000000..d3f73a580c37 --- /dev/null +++ b/devel/deheader/distinfo @@ -0,0 +1,2 @@ +SHA256 (deheader-0.6.tar.gz) = 643040b241eb47504624e9c2cc4c0f8865bf0ee2b9317ee36ee9195c75e17d4b +SIZE (deheader-0.6.tar.gz) = 22344 diff --git a/devel/deheader/pkg-descr b/devel/deheader/pkg-descr new file mode 100644 index 000000000000..d2d30c72e496 --- /dev/null +++ b/devel/deheader/pkg-descr @@ -0,0 +1,7 @@ +Deheader analyzes C and C++ files to determine which header inclusions +can be removed while still allowing them to compile. This may result in +substantial improvements in compilation time, especially on large C++ +projects; it also sometimes exposes dependencies and cohesions of which +developers were unaware. + +WWW: http://www.catb.org/esr/deheader/ |