summaryrefslogtreecommitdiff
path: root/www/emacs-w3m
diff options
context:
space:
mode:
Diffstat (limited to 'www/emacs-w3m')
-rw-r--r--www/emacs-w3m/buildlink3.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/www/emacs-w3m/buildlink3.mk b/www/emacs-w3m/buildlink3.mk
new file mode 100644
index 00000000000..539ed72cb8f
--- /dev/null
+++ b/www/emacs-w3m/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2007/10/29 12:41:18 uebayasi Exp $
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+EMACS_W3M_BUILDLINK3_MK:= ${EMACS_W3M_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= emacs-w3m
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nemacs-w3m}
+BUILDLINK_PACKAGES+= emacs-w3m
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}emacs-w3m
+
+.if ${EMACS_W3M_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.emacs-w3m+= ${EMACS_PKGNAME_PREFIX}emacs-w3m>=1.4
+BUILDLINK_PKGSRCDIR.emacs-w3m?= ../../www/emacs-w3m
+.endif # EMACS_W3M_BUILDLINK3_MK
+
+BUILDLINK_CONTENTS_FILTER.emacs-w3m= ${EGREP} '.*\.el$$|.*\.elc$$'
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}