Emery Hemingway 0de751a1c9 Rename app/mupdf to app/pdf_view, create depot recipes
The name 'mupdf' is both the name of a library and a component, thus
preventing a depot recipes for both the shared library and component.

Fix #2582
2017-11-30 11:23:10 +01:00

15 lines
324 B
Makefile

content: src/lib/mupdf lib/mk/mupdf.mk lib/mk/mupdf_host_tools.mk LICENSE
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/mupdf)
src/lib/mupdf:
mkdir -p $(dir $@)
cp -r $(PORT_DIR)/src/lib/mupdf $@
echo "LIBS = mupdf" > $@/target.mk
lib/mk/%.mk:
$(mirror_from_rep_dir)
LICENSE:
cp $(PORT_DIR)/src/lib/mupdf/COPYING $@