1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/x11-fonts/gnu-unifont/Makefile
2018-03-06 05:51:11 +00:00

34 lines
747 B
Makefile

# $FreeBSD$
PORTNAME= unifont
PORTVERSION= 10.0.07
PORTEPOCH= 1
CATEGORIES= x11-fonts
MASTER_SITES= GNU/${PORTNAME}/${PORTNAME}-${PORTVERSION}
PKGNAMEPREFIX= gnu-
DISTFILES= ${FONTFILES:S|$|-${PORTVERSION}${FONTSUFFIX}|}
EXTRACT_ONLY=
MAINTAINER= ports@FreeBSD.org
COMMENT?= GNU Unicode font
LICENSE= GPLv2+
FONTFILES?= ${PORTNAME}
FONTSUFFIX?= .pcf.gz
FONTSDIR= ${PREFIX}/share/fonts/${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
NO_ARCH= yes
NO_BUILD= yes
PLIST_FILES= ${FONTFILES:S|^|${FONTSDIR}/|:S|$|${FONTSUFFIX}|}
USES= fonts
do-install:
${MKDIR} ${STAGEDIR}${FONTSDIR}
.for i in ${FONTFILES}
${INSTALL_DATA} ${DISTDIR}/${i}-${PORTVERSION}${FONTSUFFIX} \
${STAGEDIR}${FONTSDIR}/${i}${FONTSUFFIX}
.endfor
.include <bsd.port.mk>