aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/ppantsfonts/Makefile
blob: 30efc08e075d7c29c2c5aab09e56cd962f54d71a (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
# New ports collection makefile for:	ppants-fonts
# Date created:				06/07/2003
# Whom:			Dominic Marks <dominic.marks@btinternet.com>
#
# $FreeBSD$
#

PORTNAME=	ppantsfonts
PORTVERSION=	0.7
CATEGORIES=	x11-fonts
MASTER_SITES=	http://cus.org.uk/~dom/distfiles/ppants-fonts/
DISTNAME=	${PORTNAME}-default-${PORTVERSION}

MAINTAINER=	dominic.marks@btinternet.com
COMMENT=	A set of small angular fonts

NO_BUILD=	yes
USE_X_PREFIX=	yes
PKGMESSAGE=	${WRKDIR}/pkg-message

FONTS=	moosefont terminalpants
FONTDIR=	${X11BASE}/lib/X11/fonts/${PORTNAME}/
FILES=	${FONTS:S,$,.pcf.gz,} ${FILESDIR}/fonts.dir
WRKSRC=	${WRKDIR}/ppants

.include <bsd.port.pre.mk>

do-install:
.for FONT in ${FONTS:S,$,.pcf,}
	cd ${WRKSRC} && ${GZIP_CMD} ${FONT}
.endfor
	@${MKDIR} ${FONTDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${FILES} ${FONTDIR}

post-install:
	@${SED} 's,$${X11BASE},${X11BASE},g' \
		${PKGDIR}/pkg-message >${PKGMESSAGE}
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>