aboutsummaryrefslogtreecommitdiffstats
path: root/russian/artwiz-ru/Makefile
blob: a3d5ad5b9a89f2f5f3f2075fd787c6381e97c0bd (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
40
41
42
# New ports collection makefile for:    artwiz-ru
# Date created:     2004-10-31
# Whom:         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}

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>