aboutsummaryrefslogtreecommitdiff
path: root/devel/checkheaders
diff options
context:
space:
mode:
authorBrendan Fabeny <bf@FreeBSD.org>2010-08-19 14:43:59 +0000
committerBrendan Fabeny <bf@FreeBSD.org>2010-08-19 14:43:59 +0000
commit06edc9f77e81f7e6644a6ef396751376348d68f5 (patch)
treee97ee971d777cfb287826d764f0583f140cefbeb /devel/checkheaders
parent08e736c8574d3062b6130c3f217ca65f576e689d (diff)
downloadports-06edc9f77e81f7e6644a6ef396751376348d68f5.tar.gz
ports-06edc9f77e81f7e6644a6ef396751376348d68f5.zip
Notes
Diffstat (limited to 'devel/checkheaders')
-rw-r--r--devel/checkheaders/Makefile29
-rw-r--r--devel/checkheaders/distinfo3
-rw-r--r--devel/checkheaders/pkg-descr6
3 files changed, 38 insertions, 0 deletions
diff --git a/devel/checkheaders/Makefile b/devel/checkheaders/Makefile
new file mode 100644
index 000000000000..864541484e5a
--- /dev/null
+++ b/devel/checkheaders/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: checkheaders
+# Date created: August 18, 2010
+# Whom: bf <bf@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= checkheaders
+PORTVERSION= 1.0
+CATEGORIES= devel
+MASTER_SITES= GOOGLE_CODE
+
+MAINTAINER= bf@FreeBSD.org
+COMMENT= Checks headers in C/C++ programs
+
+USE_ZIP= yes
+USE_GMAKE= yes
+
+PLIST_FILES= bin/${PORTNAME}
+
+LICENSE= GPLv3
+
+post-patch:
+ @${REINPLACE_CMD} -e '/^CXX.*=/d' ${WRKSRC}/Makefile
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/devel/checkheaders/distinfo b/devel/checkheaders/distinfo
new file mode 100644
index 000000000000..ea872e485331
--- /dev/null
+++ b/devel/checkheaders/distinfo
@@ -0,0 +1,3 @@
+MD5 (checkheaders-1.0.zip) = d1a2bd783ec0c234182d86728b349fb8
+SHA256 (checkheaders-1.0.zip) = a46a905230ba58e2bc8ff04554919bcc9937d9e18bc306b0cb6777ea2ab20c0b
+SIZE (checkheaders-1.0.zip) = 35394
diff --git a/devel/checkheaders/pkg-descr b/devel/checkheaders/pkg-descr
new file mode 100644
index 000000000000..75312eebb0db
--- /dev/null
+++ b/devel/checkheaders/pkg-descr
@@ -0,0 +1,6 @@
+This software checks the headers in a C/C++ program, and detects unnecessary
+inclusions. A "#include" is needed if any symbol names match. If there are no
+matching symbol names, it is not needed. This tool will work best if all
+classes, variables, constants, functions, etc. have unique names.
+
+WWW: http://code.google.com/p/checkheaders/