# $OpenBSD: Makefile,v 1.1.1.1 2011/07/19 09:16:06 jasper Exp $

COMMENT=	collection of ATM fonts from the CICA archives

DISTNAME=	freefonts-0.10
REVISION=	1
CATEGORIES=	fonts x11

MASTER_SITES=	ftp://ftp.gimp.org/pub/gimp/fonts/ \
   		ftp://ftp.funet.fi/pub/mirrors/ftp.gimp.org/gimp/fonts/

HOMEPAGE=	http://www.gimp.org/fonts.html

# lots of different custom licenses, the worst one wins
PERMIT_PACKAGE_CDROM=	may not sell
PERMIT_PACKAGE_FTP=	no license
PERMIT_DISTFILES_CDROM=	may not sell
PERMIT_DISTFILES_FTP=	no license

WRKDIST=	${WRKDIR}
NO_BUILD=	Yes
NO_REGRESS=	Yes
PKG_ARCH=	*
FREEFONTDIR=	${PREFIX}/lib/X11/fonts

do-install:
	${INSTALL_DATA_DIR} ${FREEFONTDIR}
	cd ${WRKDIST} && tar -cf - -s '/^.*fonts.dir//' freefont | (cd ${FREEFONTDIR} && tar -xf -)

.include <bsd.port.mk>
