summaryrefslogtreecommitdiff
path: root/textproc/groff/buildlink3.mk
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2004-07-07 19:06:23 +0000
committerdrochner <drochner@pkgsrc.org>2004-07-07 19:06:23 +0000
commit0f908e5c63cec913f401521ceb8c1cc8f5cab701 (patch)
treef069cde8916e81919483af4daaf737c6efe07c00 /textproc/groff/buildlink3.mk
parent211083ce88e30942a7df2e21a1888ad831213ae3 (diff)
downloadpkgsrc-0f908e5c63cec913f401521ceb8c1cc8f5cab701.tar.gz
add this to allow pkgs to depend on groff, whether it is part of the
base system or not
Diffstat (limited to 'textproc/groff/buildlink3.mk')
-rw-r--r--textproc/groff/buildlink3.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/textproc/groff/buildlink3.mk b/textproc/groff/buildlink3.mk
new file mode 100644
index 00000000000..09fd4738a90
--- /dev/null
+++ b/textproc/groff/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/07/07 19:06:23 drochner Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+GROFF_BUILDLINK3_MK:= ${GROFF_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= groff
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngroff}
+BUILDLINK_PACKAGES+= groff
+
+.if !empty(GROFF_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.groff+= groff>=1.19nb4
+BUILDLINK_PKGSRCDIR.groff?= ../../textproc/groff
+
+BUILDLINK_DEPMETHOD.groff?= build
+.endif # GROFF_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}