aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/suxus/Makefile
blob: 781d80a7ff66c2d9252d5471de90920ae91cc914 (plain) (blame)
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
36
37
38
39
40
41
42
43
# Ports collection makefile for:  suxus
# Date created:			  08 Feb 2006
# Whom:				  Wesley Shields <wxs@csh.rit.edu>
#
# $FreeBSD$
#

PORTNAME=	suxus
PORTVERSION=	1.5
CATEGORIES=	x11-fonts
MASTER_SITES=	http://www.goof.com/pcg/marc/data/
DISTFILES=	${PORTNAME}-iso-8859-1.bdf.gz fonts.alias
DIST_SUBDIR=	suxus

MAINTAINER=	wxs@csh.rit.edu
COMMENT=	An x11 font designed to be small yet easily read

BUILD_DEPENDS=	bdftopcf:${X_CLIENTS_PORT} \
		mkfontdir:${X_CLIENTS_PORT}

SUB_FILES=	pkg-message
USE_X_PREFIX=	yes

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

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

do-install:
	@${MKDIR} ${PREFIX}/lib/X11/fonts/local/suxus
	@${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${PREFIX}/lib/X11/fonts/local/suxus
	@${INSTALL_DATA} ${WRKSRC}/fonts.dir ${PREFIX}/lib/X11/fonts/local/suxus
	@${INSTALL_DATA} ${WRKSRC}/fonts.alias ${PREFIX}/lib/X11/fonts/local/suxus

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>