# imported from FreeBSD 4.3's ports tree
COMMENT=		"collection of Hebrew fonts from El-Mar Software, Ltd."

DISTNAME=		elmar-fonts
CATEGORIES=     	hebrew

HOMEPAGE=		 http://www.elmar.co.il/wwh/wwh/xfiles/H.fonts/

MAINTAINER=		Jose Nazario <jose@crimelabs.net>

PERMIT_PACKAGE_CDROM=	Yes 
PERMIT_PACKAGE_FTP=	Yes 
PERMIT_DISTFILES_CDROM=Yes 
PERMIT_DISTFILES_FTP=	Yes 

MASTER_SITES=		ftp://ftp.elmar.co.il/Portable/fonts/
DISTFILES=		H.fonts.tar.Z
EXTRACT_SUFX=		.tar.Z

NO_BUILD=		Yes

do-install:
	/bin/mkdir -p ${PREFIX}/lib/X11/fonts/hebrew
	${TAR} -C ${PREFIX}/lib/X11/fonts/hebrew -Zxvf \
		${DISTDIR}/${DISTFILES}

post-install:
	@echo 
	@echo "You will have to add /usr/local/lib/X11/fonts/hebrew "
	@echo "to your font path by either:"
	@echo
	@echo "$ xset fp+ /usr/local/lib/X11/fonts/hebrew"
	@echo "$ xset fp rehash"
	@echo 
	@echo "or by adding it to your X-server initilization files, "
	@echo "usually /etc/XF86Config, and restarting the X server."
	@echo 

.include <bsd.port.mk>
