openbsd-ports/fonts/dina-fonts/Makefile
espie 9a11505f7a resurrect USE_X11, only for the few ports that require xenocara components
but don't have explicit WANTLIB that point to X11.
2012-10-29 15:19:02 +00:00

40 lines
1015 B
Makefile

# $OpenBSD: Makefile,v 1.2 2012/10/29 15:19:03 espie Exp $
COMMENT = monospace bitmap font, primarily aimed at programmers
V = 2.89
PKGNAME = dina-fonts-$V
DISTNAME = dina-pcf-$V
CATEGORIES = fonts
HOMEPAGE = http://www.donationcoder.com/Software/Jibz/Dina/
MAINTAINER = Rafael Sadowski <rafael@sizeofvoid.org>
# FREE (c) Jorgen Ibsen (Though no license included in distribution)
PERMIT_PACKAGE_CDROM = No
PERMIT_PACKAGE_FTP = No
PERMIT_DISTFILES_CDROM = No
PERMIT_DISTFILES_FTP = No
MASTER_SITES = http://ftp.fi.debian.org/gentoo/distfiles/
NO_BUILD = Yes
NO_REGRESS = Yes
USE_X11 = Yes
FONTDIR= ${PREFIX}/lib/X11/fonts/dina
WRKSRC = ${WRKDIR}/Dina-PCF
do-install:
${GZIP_CMD} ${WRKSRC}/*.pcf
${X11BASE}/bin/mkfontdir ${WRKSRC}
egrep '\.pcf\.gz' ${WRKSRC}/fonts.dir | \
sed 's/\.pcf\.gz//g' > ${WRKSRC}/fonts.alias
${INSTALL_DATA_DIR} ${FONTDIR}
${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${FONTDIR}
${INSTALL_DATA} ${WRKSRC}/fonts.alias ${FONTDIR}/fonts.alias-dina
.include <bsd.port.mk>