openbsd-ports/x11/terminus-font/Makefile
sthen b0f34b5bfb somewhere in the update between 4.20 and 4.28 upstream changed this to
install an identical copy of the 6x12 font named "bold" (i.e. to prevent
a synthetic bold font being generated). everyone I talked to hates this,
and would like it if 6x12 bold was distinct from 6x12 normal, even if
it's a little blocky, so change ALL_TARGET from pcf to n12, and regen
the PLIST, this reinstates the expected behaviour.
2009-02-02 11:19:21 +00:00

50 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.20 2009/02/02 11:19:21 sthen Exp $
COMMENT= fixed width fonts especially for long hacking sessions
DISTNAME= terminus-font-4.28
PKGNAME= ${DISTNAME}p1
CATEGORIES= x11
HOMEPAGE= http://www.is-vn.bg/hamster/
DISTFILES= ${DISTNAME}.tar.gz
MAINTAINER= Victor Sahlstedt <salan@legonet.org>
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}
CONFIGURE_STYLE= simple
NO_REGRESS= Yes
USE_X11= Yes
ALL_TARGET= n12
FONTDIR= ${PREFIX}/lib/X11/fonts/terminus
FLAVORS= symquotes
FLAVOR?=
.if ${FLAVOR:L:Msymquotes}
DISTFILES+= ${DISTNAME}-gq2.diff.gz
post-patch:
${PATCH} -d ${WRKSRC} < ${WRKDIR}/${DISTNAME}-gq2.diff
.endif
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} ${WRKBUILD}/fonts.alias ${FONTDIR}/fonts.alias-terminus
.include <bsd.port.mk>