summaryrefslogtreecommitdiffstats
path: root/x11-fonts/suxus/Makefile
blob: 70ad84e337aaa9a5d3a3e3c050309a7eb51930ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $FreeBSD$

PORTNAME=	suxus
PORTVERSION=	1.5
PORTREVISION=	3
CATEGORIES=	x11-fonts
MASTER_SITES=	http://oldhome.schmorp.de/marc/data/ \
		http://www.atarininja.org/distfiles/
DISTFILES=	${PORTNAME}-iso-8859-1.bdf.gz fonts.alias
DIST_SUBDIR=	suxus

MAINTAINER=	ports@FreeBSD.org
COMMENT=	X11 font designed to be small yet easily read

BUILD_DEPENDS=	bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf

SUB_FILES=	pkg-message
USE_XORG=	x11
USES=		fonts
PLIST_FILES=	${FONTSDIR}/suxus-iso-8859-1.pcf.gz

do-extract:
	@${MKDIR} ${WRKSRC}
	@${CP} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}-iso-8859-1.bdf.gz ${WRKSRC}
	@${CP} ${DISTDIR}/${DIST_SUBDIR}/fonts.alias ${WRKSRC}
	@${GZIP_CMD} -d  ${WRKSRC}/${PORTNAME}-iso-8859-1.bdf.gz

do-build:
	${PREFIX}/bin/bdftopcf -t ${WRKSRC}/suxus-iso-8859-1.bdf | ${GZIP_CMD} > ${WRKSRC}/suxus-iso-8859-1.pcf.gz

do-install:
	@${MKDIR} ${STAGEDIR}${FONTSDIR}
	@${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${STAGEDIR}${FONTSDIR}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud