blob: 2ea19d95187cc188cca992922f59291fcd4505fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $NetBSD: buildlink3.mk,v 1.5 2006/02/05 23:10:39 joerg Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TETEX_BIN_BUILDLINK3_MK:= ${TETEX_BIN_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= teTeX-bin
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NteTeX-bin}
BUILDLINK_PACKAGES+= teTeX-bin
.if !empty(TETEX_BIN_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.teTeX-bin+= teTeX-bin-1.[0-9]*
BUILDLINK_DEPMETHOD.teTeX-bin?= build
BUILDLINK_RECOMMENDED.teTeX-bin?= teTeX-bin>=1.0.7nb6
BUILDLINK_PKGSRCDIR.teTeX-bin?= ../../print/teTeX1-bin
.endif # TETEX_BIN_BUILDLINK3_MK
PKG_TEXMFPREFIX= ${PREFIX}/share/texmf
PKG_LOCALTEXMFPREFIX= ${PREFIX}/share/texmf
PLIST_SUBST+= PKG_TEXMFPREFIX=${PKG_TEXMFPREFIX:C|^${PREFIX}/||}
PLIST_SUBST+= PKG_LOCALTEXMFPREFIX=${PKG_LOCALTEXMFPREFIX:C|^${PREFIX}/||}
PRINT_PLIST_AWK+= /^@dirrm ${PKG_LOCALTEXMFPREFIX:S|${PREFIX}/||:S|/|\\/|g}(\/bibtex(\/bib|\/bst)?|\/tex(\/latex)?)?$$/ \
{ next; }
PRINT_PLIST_AWK+= /^(@dirrm )?${PKG_LOCALTEXMFPREFIX:S|${PREFIX}/||:S|/|\\/|g}/ \
{ gsub(/${PKG_LOCALTEXMFPREFIX:S|${PREFIX}/||:S|/|\\/|g}/, "$${PKG_LOCALTEXMFPREFIX}"); \
print; next; }
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|