NAME = GNU Collaborative International Dictionary of English
GARNAME = gcide
GARVERSION = 0.51
HOME_URL = http://gcide.gnu.org.ua/
DESCRIPTION = A free dictionary

######################################################################

MASTER_SITES = $(MASTER_GNU)
MASTER_SUBDIR = $(GARNAME)/
DISTFILES = $(DISTNAME).tar.gz
SIGFILES = $(DISTNAME).tar.gz.sig
INSTALL_SCRIPTS = gcide

BUILDDEPS =
LIBDEPS = dico

######################################################################

include ../../gar.mk
include config.mk

install-gcide:
	@echo -e "[$(OK)install$(OFF)] $(MSG)Installing dictionary files$(OFF)"
	@mkdir -p $(packageprefix)/share/gcide
	@for f in $(WORKSRC)/*; do \
		install -m644 $$f $(packageprefix)/share/gcide/`basename $$f`; \
	done
	$(MAKECOOKIE)

post-install:
	@echo -e "$(MSG)GCIDE was installed to $(prefix)/share/gcide. To"
	@echo -e "browse the dictionary, use the gcider program installed"
	@echo -e "from the dico package and point it to the location of"
	@echo -e "GCIDE.$(OFF)"
	$(MAKECOOKIE)
