summaryrefslogtreecommitdiff
path: root/graphics/aalib-x11
diff options
context:
space:
mode:
authorjlam <jlam>2004-01-03 23:06:43 +0000
committerjlam <jlam>2004-01-03 23:06:43 +0000
commit0d6c711ce586532632e1ae1b985d86085faa4580 (patch)
tree7815453a8a5d5cc91288c15c8c52893726b1e2bc /graphics/aalib-x11
parent7c4feed9a8d4596547ef84ababb069e65e478323 (diff)
downloadpkgsrc-0d6c711ce586532632e1ae1b985d86085faa4580.tar.gz
Initial sprinkling of work-in-progress buildlink3.mk files for using the
buildlink3 framework.
Diffstat (limited to 'graphics/aalib-x11')
-rw-r--r--graphics/aalib-x11/buildlink3.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/graphics/aalib-x11/buildlink3.mk b/graphics/aalib-x11/buildlink3.mk
new file mode 100644
index 00000000000..ac1a61750cc
--- /dev/null
+++ b/graphics/aalib-x11/buildlink3.mk
@@ -0,0 +1,27 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:44 jlam Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+AALIB_X11_BUILDLINK3_MK:= ${AALIB_X11_BUILDLINK3_MK}+
+
+.if !empty(AALIB_X11_BUILDLINK3_MK:M\+)
+BUILDLINK_DEPENDS.aalib-x11?= aalib-x11>=1.4.0.4nb1
+BUILDLINK_PKGSRCDIR.aalib-x11?= ../../graphics/aalib-x11
+.endif # AALIB_X11_BUILDLINK3_MK
+
+.if !empty(BUILDLINK_DEPTH:M\+)
+BUILDLINK_DEPENDS+= aalib-x11
+.endif
+
+.if !empty(AALIB_X11_BUILDLINK3_MK:M\+)
+BUILDLINK_PACKAGES+= aalib-x11
+
+BUILDLINK_FILES.aalib-x11= include/aalib-x11.h
+BUILDLINK_TRANSFORM.aalib-x11+= -e "s|/aalib-x11.h|/aalib.h|g"
+BUILDLINK_TRANSFORM+= l:aa:aa-x11
+
+AALIB_CONFIG= ${BUILDLINK_PREFIX.aalib-x11}/bin/aalib-x11-config
+CONFIGURE_ENV+= AALIB_CONFIG="${AALIB_CONFIG}"
+MAKE_ENV+= AALIB_CONFIG="${AALIB_CONFIG}"
+.endif # AALIB_X11_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//}