mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
32c4928222
With hat: portmgr
37 lines
873 B
Makefile
37 lines
873 B
Makefile
# Created by: 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= ports@FreeBSD.org
|
|
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>
|