aboutsummaryrefslogtreecommitdiffstats
path: root/russian/artwiz-ru/Makefile
blob: 1518be4cb1087afe0c45dfac55927ab262912df2 (plain) (blame)
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
39
# Created by: Roman Bogorodskiy <bogorodskiy@inbox.ru>
# $FreeBSD$

PORTNAME=   artwiz-ru
PORTVERSION=    20041031
PORTREVISION=   2
CATEGORIES= russian x11-fonts
MASTER_SITES=   http://dev.gentoo.org/~sergey/ \
        ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= novel
DISTNAME=   artwiz_ru

MAINTAINER= novel@FreeBSD.org
COMMENT=    Russian Artwiz fonts

BUILD_DEPENDS=  fc-cache:${PORTSDIR}/x11-fonts/fontconfig
RUN_DEPENDS=    fc-cache:${PORTSDIR}/x11-fonts/fontconfig

USE_BZIP2=  yes
NO_BUILD=   yes
WRKSRC=     ${WRKDIR}/fonts
PKGMESSAGE= ${WRKDIR}/pkg-message

FONTDIR=    ${LOCALBASE}/lib/X11/fonts/${PORTNAME}

NO_STAGE=   yes
post-patch:
    @${SED} -e 's,LOCALBASE,${LOCALBASE},g' ${FILESDIR}/pkg-message.in > ${PKGMESSAGE}

do-install:
    ${MKDIR} ${FONTDIR}
    for f in ${WRKSRC}/*; do \
        ${INSTALL_DATA} $$f ${FONTDIR}; \
        done

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>