summaryrefslogtreecommitdiff
path: root/devel/cppunit/buildlink3.mk
diff options
context:
space:
mode:
authorwulf <wulf@pkgsrc.org>2004-09-30 22:29:28 +0000
committerwulf <wulf@pkgsrc.org>2004-09-30 22:29:28 +0000
commitadb47c9bab694d6abd78fe77fcc2e34cd974f298 (patch)
tree04d7fff53681e1064d9fe6b2ea45a8e75e2a79a2 /devel/cppunit/buildlink3.mk
parent03dba4bc70c5705d1fdf091316d3a2b0c3de90b8 (diff)
downloadpkgsrc-adb47c9bab694d6abd78fe77fcc2e34cd974f298.tar.gz
Added cppunit-1.10.2: CppUnit is a C++ unit testing framework
Diffstat (limited to 'devel/cppunit/buildlink3.mk')
-rw-r--r--devel/cppunit/buildlink3.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/cppunit/buildlink3.mk b/devel/cppunit/buildlink3.mk
new file mode 100644
index 00000000000..9f15172e10a
--- /dev/null
+++ b/devel/cppunit/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/09/30 22:29:31 wulf Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+CPPUNIT_BUILDLINK3_MK:= ${CPPUNIT_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= cppunit
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncppunit}
+BUILDLINK_PACKAGES+= cppunit
+
+.if !empty(CPPUNIT_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.cppunit+= cppunit>=1.10.2
+BUILDLINK_PKGSRCDIR.cppunit?= ../../devel/cppunit
+BUILDLINK_CPPFLAGS.cppunit+= -I${BUILDLINK_PREFIX.cppunit}/include/cppunit
+.endif # CPPUNIT_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}