aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/cyberbit-ttfonts/Makefile
blob: e54004fdd5c3be9b11a625720e1415c172b3c6bc (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# New ports collection makefile for:    cyberbit-ttf
# Date created:                         20 Feb 2005
# Whom:                                 NAKATA, Maho <maho@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=   cyberbit-ttfonts
PORTVERSION=    2.0.20050220
PORTREVISION=   2
CATEGORIES= x11-fonts
MASTER_SITES=   http://ftp.netscape.com/pub/communicator/extras/fonts/windows/ \
        http://aol-4.vo.llnwd.net/pub/communicator/extras/fonts/windows/ \
        ftp://ftp.netscape.com/pub/communicator/extras/fonts/windows/
DISTFILES=  Cyberbit.ZIP
.if !defined(NOPORTDOCS)
DISTFILES+= 97CyberBase.Doc 97CyberBit.Doc 97CyberCJK.Doc \
        CYBERBIT.DOC CYBERCJK.DOC READMEfirst.txt ReadMe.htm
.endif
DIST_SUBDIR=    cyberbit
EXTRACT_ONLY=   Cyberbit.ZIP

MAINTAINER= maho@FreeBSD.org
COMMENT=    Bitstream Cyberbit is a TrueType font covers Unicode 2.0

RESTRICTED= "Redistribution not permitted; single user license only."

USE_ZIP=    yes
NO_BUILD=   yes

FONTSDIR=   lib/X11/fonts/TrueType
MAKE_ENV=   FONTSDIR=${FONTSDIR}
PLIST_SUB=  FONTSDIR=${FONTSDIR}
WRKSRC=     ${WRKDIR}

do-install:
.if !exists(${PREFIX}/${FONTSDIR})
    @${ECHO} "*********************************************************"
    @${ECHO} "Please add ${PREFIX}/${FONTSDIR} to your font path"
    @${ECHO} "and load 'xtt' module in /etc/x11/xorg.conf."
    @${ECHO} "*********************************************************"
    ${MKDIR} ${PREFIX}/${FONTSDIR}
.endif
    ${INSTALL_DATA} ${WRKSRC}/*.ttf \
            ${FILESDIR}/fonts.dir.cyberbit \
            ${PREFIX}/${FONTSDIR}
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/97CyberBase.Doc ${DOCSDIR}
    ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/97CyberBit.Doc  ${DOCSDIR}
    ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/97CyberCJK.Doc  ${DOCSDIR}
    ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/CYBERBIT.DOC    ${DOCSDIR}
    ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/CYBERCJK.DOC    ${DOCSDIR}
    ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/READMEfirst.txt ${DOCSDIR}
    ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/ReadMe.htm      ${DOCSDIR}
.endif
    ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>