diff options
Diffstat (limited to 'x11-fonts/ppantsfonts/Makefile')
-rw-r--r-- | x11-fonts/ppantsfonts/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/x11-fonts/ppantsfonts/Makefile b/x11-fonts/ppantsfonts/Makefile new file mode 100644 index 000000000000..30efc08e075d --- /dev/null +++ b/x11-fonts/ppantsfonts/Makefile @@ -0,0 +1,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> |