summaryrefslogtreecommitdiff
path: root/print/auctex/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'print/auctex/buildlink3.mk')
-rw-r--r--print/auctex/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/print/auctex/buildlink3.mk b/print/auctex/buildlink3.mk
index 1a878e06050..44c2d932427 100644
--- a/print/auctex/buildlink3.mk
+++ b/print/auctex/buildlink3.mk
@@ -1,22 +1,15 @@
-# $NetBSD: buildlink3.mk,v 1.1 2007/10/29 04:44:04 uebayasi Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2009/03/20 19:25:13 joerg Exp $
#
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-AUCTEX_BUILDLINK3_MK:= ${AUCTEX_BUILDLINK3_MK}+
+BUILDLINK_TREE+= auctex
-.if ${BUILDLINK_DEPTH} == "+"
-BUILDLINK_DEPENDS+= auctex
-.endif
+.if !defined(AUCTEX_BUILDLINK3_MK)
+AUCTEX_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nauctex}
-BUILDLINK_PACKAGES+= auctex
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}auctex
-
-.if ${AUCTEX_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.auctex+= ${EMACS_PKGNAME_PREFIX}auctex>=11
BUILDLINK_PKGSRCDIR.auctex?= ../../print/auctex
-.endif # AUCTEX_BUILDLINK3_MK
BUILDLINK_CONTENTS_FILTER.auctex= ${EGREP} '.*\.el$$|.*\.elc$$'
+.endif # AUCTEX_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -auctex