diff options
Diffstat (limited to 'textproc/groff')
-rw-r--r-- | textproc/groff/buildlink3.mk | 20 | ||||
-rw-r--r-- | textproc/groff/builtin.mk | 10 |
2 files changed, 30 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/+$//} diff --git a/textproc/groff/builtin.mk b/textproc/groff/builtin.mk new file mode 100644 index 00000000000..29db228727a --- /dev/null +++ b/textproc/groff/builtin.mk @@ -0,0 +1,10 @@ +# $NetBSD: builtin.mk,v 1.1 2004/07/07 19:06:23 drochner Exp $ + +.if !defined(IS_BUILTIN.groff) +IS_BUILTIN.groff= no +. if exists(/usr/bin/groff) +IS_BUILTIN.groff= yes +. endif +.endif # IS_BUILTIN.groff + +USE_BUILTIN.groff?= ${IS_BUILTIN.groff} |