summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorkhorben <khorben>2016-02-20 02:54:45 +0000
committerkhorben <khorben>2016-02-20 02:54:45 +0000
commit3ede30a65229c37ed66bbb41ff4a3c672877fbaf (patch)
tree4b70cc04e14cf517c52f9b445146f301c0e771c1 /devel
parentad160d447342f13417f17e3026bc8eb28ecda17c (diff)
downloadpkgsrc-3ede30a65229c37ed66bbb41ff4a3c672877fbaf.tar.gz
Import DeforaOS CPP 0.0.3
CPP is a pre-processing library and binary executable, targeting full conformance for portable compilation of C programs.
Diffstat (limited to 'devel')
-rw-r--r--devel/deforaos-cpp/DESCR2
-rw-r--r--devel/deforaos-cpp/Makefile25
-rw-r--r--devel/deforaos-cpp/PLIST23
-rw-r--r--devel/deforaos-cpp/buildlink3.mk16
-rw-r--r--devel/deforaos-cpp/distinfo7
-rw-r--r--devel/deforaos-cpp/patches/patch-Makefile14
6 files changed, 87 insertions, 0 deletions
diff --git a/devel/deforaos-cpp/DESCR b/devel/deforaos-cpp/DESCR
new file mode 100644
index 00000000000..7acc0120213
--- /dev/null
+++ b/devel/deforaos-cpp/DESCR
@@ -0,0 +1,2 @@
+CPP is a pre-processing library and binary executable, targeting full
+conformance for portable compilation of C programs.
diff --git a/devel/deforaos-cpp/Makefile b/devel/deforaos-cpp/Makefile
new file mode 100644
index 00000000000..f9d82a62c07
--- /dev/null
+++ b/devel/deforaos-cpp/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2016/02/20 02:54:45 khorben Exp $
+#
+
+DISTNAME= CPP-0.0.3
+PKGNAME= deforaos-cpp-0.0.3
+CATEGORIES= devel
+MASTER_SITES= http://www.defora.org/os/download/download/4422/
+
+MAINTAINER= khorben@defora.org
+HOMEPAGE= http://www.defora.org/
+COMMENT= DeforaOS C code pre-processing library
+
+LICENSE= gnu-lgpl-v3
+
+MAKE_FLAGS+= PREFIX=${PREFIX}
+MAKE_FLAGS+= DESTDIR=${DESTDIR}
+MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}
+MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q}
+MAKE_FLAGS+= INSTALL=${INSTALL}
+AUTO_MKDIRS= yes
+
+.include "../../devel/deforaos-libsystem/buildlink3.mk"
+BUILDLINK_API_DEPENDS.gtk-doc+= gtk-doc>=1.20
+.include "../../textproc/gtk-doc/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/deforaos-cpp/PLIST b/devel/deforaos-cpp/PLIST
new file mode 100644
index 00000000000..e96e0c8d0e3
--- /dev/null
+++ b/devel/deforaos-cpp/PLIST
@@ -0,0 +1,23 @@
+@comment $NetBSD: PLIST,v 1.1 2016/02/20 02:54:45 khorben Exp $
+bin/cpp
+include/Devel/CPP.h
+lib/libcpp.a
+lib/libcpp.so
+lib/libcpp.so.0
+lib/libcpp.so.0.0
+lib/pkgconfig/cpp.pc
+share/gtk-doc/html/CPP/CPP-CPP:CAPS.html
+share/gtk-doc/html/CPP/CPP.devhelp2
+share/gtk-doc/html/CPP/api-index-full.html
+share/gtk-doc/html/CPP/ch01.html
+share/gtk-doc/html/CPP/deprecated-api-index.html
+share/gtk-doc/html/CPP/home.png
+share/gtk-doc/html/CPP/index.html
+share/gtk-doc/html/CPP/index.sgml
+share/gtk-doc/html/CPP/left-insensitive.png
+share/gtk-doc/html/CPP/left.png
+share/gtk-doc/html/CPP/right-insensitive.png
+share/gtk-doc/html/CPP/right.png
+share/gtk-doc/html/CPP/style.css
+share/gtk-doc/html/CPP/up-insensitive.png
+share/gtk-doc/html/CPP/up.png
diff --git a/devel/deforaos-cpp/buildlink3.mk b/devel/deforaos-cpp/buildlink3.mk
new file mode 100644
index 00000000000..684d57a99c2
--- /dev/null
+++ b/devel/deforaos-cpp/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/02/20 02:54:45 khorben Exp $
+#
+
+BUILDLINK_TREE+= deforaos-cpp
+
+.if !defined(DEFORAOS_CPP_BUILDLINK3_MK)
+DEFORAOS_CPP_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.deforaos-cpp+= deforaos-cpp>=0.0.3
+BUILDLINK_ABI_DEPENDS.deforaos-cpp?= deforaos-cpp>=0.0.3
+BUILDLINK_PKGSRCDIR.deforaos-cpp?= ../../x11/deforaos-cpp
+
+.include "../../devel/deforaos-libsystem/buildlink3.mk"
+.endif # DEFORAOS_CPP_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -deforaos-cpp
diff --git a/devel/deforaos-cpp/distinfo b/devel/deforaos-cpp/distinfo
new file mode 100644
index 00000000000..b4c449d82a8
--- /dev/null
+++ b/devel/deforaos-cpp/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2016/02/20 02:54:45 khorben Exp $
+
+SHA1 (CPP-0.0.3.tar.gz) = 0bafe0a4fe87f543fe121102f159034976c072cc
+RMD160 (CPP-0.0.3.tar.gz) = bc97f599da89c89c381a0736ac9cac1193dbc636
+SHA512 (CPP-0.0.3.tar.gz) = cc436c92f9ff55c3a4bbcc952546b09b7665b435561176e8cec0cc427d1a5bb92b0475dc0a1016db2c2f634649a1c73280e57508312ba632c9b1548e0b38b578
+Size (CPP-0.0.3.tar.gz) = 21742 bytes
+SHA1 (patch-Makefile) = 9772302b7f40b1f43e8b4d1f2e001b4841039bba
diff --git a/devel/deforaos-cpp/patches/patch-Makefile b/devel/deforaos-cpp/patches/patch-Makefile
new file mode 100644
index 00000000000..a95be60ee1e
--- /dev/null
+++ b/devel/deforaos-cpp/patches/patch-Makefile
@@ -0,0 +1,14 @@
+$NetBSD: patch-Makefile,v 1.1 2016/02/20 02:54:45 khorben Exp $
+
+Do not run the tests
+
+--- Makefile.orig 2016-02-20 02:49:12.000000000 +0000
++++ Makefile
+@@ -1,6 +1,6 @@
+ PACKAGE = CPP
+ VERSION = 0.0.3
+-SUBDIRS = data doc include src tests
++SUBDIRS = data doc include src
+ RM = rm -f
+ LN = ln -f
+ TAR = tar