summaryrefslogtreecommitdiffstats
path: root/x11-fonts/alef/Makefile
blob: 26141295ab5fc59ae8ff17f087fefb1ee6dfc4b8 (plain)
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
# $FreeBSD$

PORTNAME=	alef
PORTVERSION=	1.0
PORTREVISION=	2
CATEGORIES=	x11-fonts
MASTER_SITES=	http://alef.hagilda.com/
DISTNAME=	Alef

MAINTAINER=	cpm@fbsd.es
COMMENT=	Free multi-lingual font designed for screens

LICENSE=	OFL11
LICENSE_FILE=	${WRKSRC}/OFL-license.txt

USES=		fonts zip
USE_XORG=	x11

NO_WRKSUBDIR=	yes
NO_BUILD=	yes
FONTSDIR=	${PREFIX}/lib/X11/fonts/${PORTNAME}
PLIST_FILES=	${FONTSDIR}/Alef-Bold.ttf \
		${FONTSDIR}/Alef-Regular.ttf

PORTDOCS=	COMING-SOON.txt readme.txt

OPTIONS_DEFINE=	DOCS

post-extract:
	${MV} ${WRKSRC}/--COMING-SOON--.txt ${WRKSRC}/COMING-SOON.txt

do-install:
	@${MKDIR} ${STAGEDIR}${FONTSDIR}
	${INSTALL_DATA} ${WRKSRC}/TTF/* ${STAGEDIR}${FONTSDIR}
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud