pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/sunifdef Import sunifdef-3.1.3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/36d4ed2fca05
branches:  trunk
changeset: 542586:36d4ed2fca05
user:      bjs <bjs%pkgsrc.org@localhost>
date:      Thu May 22 03:10:01 2008 +0000

description:
Import sunifdef-3.1.3.

--

Sunifdef is a commandline tool for eliminating superfluous preprocessor
clutter from C and C++ source files. It is a more powerful successor to
the FreeBSD 'unifdef' tool.

Sunifdef is most useful to developers of constantly evolving products with
large code bases, where preprocessor conditionals are used to configure
the feature sets, APIs or implementations of different releases. In these
environments the code base steadily accumulates #ifdef pollution as
transient configuration options become obselete. Sunifdef can largely
automate the recurrent task of purging redundant #if logic from the code.

diffstat:

 devel/sunifdef/DESCR    |  10 ++++++++++
 devel/sunifdef/Makefile |  31 +++++++++++++++++++++++++++++++
 devel/sunifdef/PLIST    |   4 ++++
 devel/sunifdef/distinfo |   5 +++++
 4 files changed, 50 insertions(+), 0 deletions(-)

diffs (66 lines):

diff -r a578b8bebc44 -r 36d4ed2fca05 devel/sunifdef/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/sunifdef/DESCR      Thu May 22 03:10:01 2008 +0000
@@ -0,0 +1,10 @@
+Sunifdef is a commandline tool for eliminating superfluous preprocessor
+clutter from C and C++ source files. It is a more powerful successor to
+the FreeBSD 'unifdef' tool.
+
+Sunifdef is most useful to developers of constantly evolving products with
+large code bases, where preprocessor conditionals are used to configure
+the feature sets, APIs or implementations of different releases. In these
+environments the code base steadily accumulates #ifdef pollution as
+transient configuration options become obselete. Sunifdef can largely
+automate the recurrent task of purging redundant #if logic from the code.
diff -r a578b8bebc44 -r 36d4ed2fca05 devel/sunifdef/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/sunifdef/Makefile   Thu May 22 03:10:01 2008 +0000
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/05/22 03:10:01 bjs Exp $
+#
+
+DISTNAME=      sunifdef-3.1.3
+CATEGORIES=    devel
+MASTER_SITES=  http://www.strudl.org/public_ftp/sunifdef/nix/stable/
+
+MAINTAINER=    bjs%NetBSD.org@localhost
+HOMEPAGE=      http://www.strudl.org/public_ftp/sunifdef/nix/stable/
+COMMENT=       Tool for eliminating superfluous C preprocessor conditionals
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+
+HTMLDIR=       ${PREFIX}/share/doc/${PKGBASE}/html
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss]) || make(test)
+USE_TOOLS+=            perl
+TEST_TARGET=           check
+.endif
+
+post-install:
+       ${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR}
+       ${INSTALL_DATA} ${WRKSRC}/man/html/sunifdef_man_1.html \
+               ${DESTDIR}${HTMLDIR}/${PKGBASE}_man_1.html
+
+.include "../../mk/bsd.pkg.mk"
diff -r a578b8bebc44 -r 36d4ed2fca05 devel/sunifdef/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/sunifdef/PLIST      Thu May 22 03:10:01 2008 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/05/22 03:10:01 bjs Exp $
+bin/sunifdef
+man/man1/sunifdef.1
+share/doc/sunifdef/html/sunifdef_man_1.html
diff -r a578b8bebc44 -r 36d4ed2fca05 devel/sunifdef/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/sunifdef/distinfo   Thu May 22 03:10:01 2008 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/05/22 03:10:01 bjs Exp $
+
+SHA1 (sunifdef-3.1.3.tar.gz) = edc67ad426402a90d9aa5a8b6316412b1a6f5a18
+RMD160 (sunifdef-3.1.3.tar.gz) = 8f70096f8045d4240e005f8fcf969b4981f732b6
+Size (sunifdef-3.1.3.tar.gz) = 443142 bytes



Home | Main Index | Thread Index | Old Index