$NetBSD: patch-aa,v 1.5 2007/03/05 20:14:33 darcy Exp $ --- GNUmakefile.orig 2004-11-04 17:47:34.000000000 -0500 +++ GNUmakefile @@ -25,21 +25,21 @@ 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_LOCALTEXMFPREFIX} ##TEXCONFDIR=$(sysconfdir)/texmf PATHSUF=$(NAME) PFADIR=$(TEXDIR)/fonts/type1/public/$(PATHSUF) TFMDIR=$(TEXDIR)/fonts/tfm/public/$(PATHSUF) -MAPDIR=$(TEXCONFDIR)/dvips/$(PATHSUF) +MAPDIR=$(TEXDIR)/fonts/map/dvips/$(PATHSUF) ##MAPDIR=$(TEXCONFDIR)/dvips @@ -80,24 +80,24 @@ $(builddir)/tfm/%.tfm: $(VARTEXFONTS)/%. $(builddir)/pfa/%.pfa: @-mkdir $(builddir)/pfa 2>/dev/null - TEXMF= mftrace --verbose --simplify --potrace $(notdir $(basename $@)) + TEXMF= mftrace --verbose --simplify --potrace=POTRACE $(notdir $(basename $@)) mv $(notdir $@) $(builddir)/pfa/ $(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."