blob: e2cff088c65d000ccaf947380099be49302ee6a5 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
$NetBSD: patch-aa,v 1.3 2005/11/09 08:12:54 tonio Exp $
--- GNUmakefile.orig 2004-11-04 23:47:34.000000000 +0100
+++ GNUmakefile
@@ -25,15 +25,15 @@ DISTDIR=$(builddir)/$(NAME)-$(VERSION)
TARBALL=$(DISTDIR).tar.gz
WWWDIR=base.lilypond.org:/var/www/lilypond/download/fonts/
-prefix=$(DESTDIR)/usr
+prefix=$(PREFIX)
docdir=$(prefix)/share/doc
sysconfdir=$(DESTDIR)/etc
TEXMF=
export TEXMF
-TEXDIR=$(prefix)/share/texmf
-TEXCONFDIR=$(prefix)/share/texmf
+TEXDIR=${PKG_LOCALTEXMFPREFIX}
+TEXCONFDIR=${PKG_TEXMFPREFIX}
##TEXCONFDIR=$(sysconfdir)/texmf
PATHSUF=$(NAME)
@@ -87,17 +87,17 @@ $(MAPFILE): GNUmakefile
($(foreach ec,$(ECFONTS), echo '$(ec) $(ec) <$(ec).pfa' && ) true) > $@
install: $(TFMS) $(PFAS)
- install -d $(PFADIR)
- install -m644 $(PFAS) $(PFADIR)
+ ${BSD_INSTALL_DATA_DIR} $(PFADIR)
+ ${BSD_INSTALL_DATA} $(PFAS) $(PFADIR)
- install -d $(TFMDIR)
- install -m644 $(TFMS) $(TFMDIR)
+ ${BSD_INSTALL_DATA_DIR} $(TFMDIR)
+ ${BSD_INSTALL_DATA} $(TFMS) $(TFMDIR)
- install -d $(MAPDIR)
- install -m644 $(MAPFILE) $(MAPDIR)
+ ${BSD_INSTALL_DATA_DIR} $(MAPDIR)
+ ${BSD_INSTALL_DATA} $(MAPFILE) $(MAPDIR)
- install -d $(docdir)/$(NAME)
- install -m644 $(README_FILES) $(docdir)/$(NAME)
+ ${BSD_INSTALL_DATA_DIR} $(docdir)/$(NAME)
+ ${BSD_INSTALL_DATA} $(README_FILES) $(docdir)/$(NAME)
@echo "Run texhash before using."
|