1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/x11-fonts/cyberbit-ttfonts/Makefile
Maho Nakata 0bec1d1481 Add cyberbit-ttfonts.
Bitstream Cyberbit is a TrueType font. It is an international font, containing
characters from many languages. Each character is encoded with its Unicode
value, according to Unicode 2.0 standards.

Cyberbit was developed by Bitstream to provide Unicode Consortium members with
a test font. It is therefore distributed freely to customers that need advanced
multilingual fonts for testing and other non-commercial uses. Customers that
wish to use Cyberbit for other purposes must license the font from Bitstream.
2005-02-10 06:41:48 +00:00

59 lines
2.1 KiB
Makefile

# 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
CATEGORIES= x11-fonts
MASTER_SITES= ftp://ftp.riken.go.jp/pub/net/netscape/communicator/extras/fonts/windows/ \
ftp://ftp-au.netscape.com/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_X_PREFIX= yes
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.alias.cyberbit \
${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>