summaryrefslogblamecommitdiff
path: root/x11-fonts/ppantsfonts/Makefile
blob: 48443ab4f1094832466b0199b6338ee15a7ed701 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                    
                 







                                                              


                                     
                                                       












                                                           
                                                  



                                                    
# 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
PORTREVISION=	2
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
PKGMESSAGE=	${WRKDIR}/pkg-message

FONTS=	moosefont terminalpants
FONTDIR=	${LOCALBASE}/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,$${LOCALBASE},${LOCALBASE},g' \
		${PKGDIR}/pkg-message >${PKGMESSAGE}
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>