mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
ac39221672
Release notes are available at http://www.x.org/X11R6.8.2/doc/RELNOTES.html Thanks to kris and krion for running several cluster test builds, maintainers of GNOME for prompt responses, portmgr for postponing ports freeze for this update, testers on FreeBSD-X11@ list and others that I might have mised here. Also included: - fix for ATI Mobility on Dell Inspiron 7500 (obtained from Marc Aurele La France; obtained and tested by julian) - fix for kbd driver on Sparc64 (tested by Aaron Dudek, Michael G. Jung and Matthias Muthmann), which still appears to have problems with some keyboards - so - fix for kbd driver on PC98 (reported and tested by NAKAJI Hiroyuki; PR ports/77217) - fix for i810 on HP D530 (obtained from Egbert Eich; obtained and tested by Anders Nor Berle; PR ports/74757)
89 lines
2.3 KiB
Makefile
89 lines
2.3 KiB
Makefile
# New ports collection makefile for: intlfonts
|
|
# Date created: 99/10/26
|
|
# Whom: Satoshi TAOKA <taoka@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= intlfonts
|
|
PORTVERSION= 1.2.1
|
|
CATEGORIES= x11-fonts
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= intlfonts
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Free X11 fonts for all characters that Emacs can handle
|
|
|
|
BUILD_DEPENDS= bdftopcf:${X_CLIENTS_PORT}
|
|
RUN_DEPENDS= mkfontdir:${X_CLIENTS_PORT} \
|
|
type1inst:${PORTSDIR}/x11-fonts/p5-type1inst
|
|
|
|
USE_X_PREFIX= yes
|
|
PLIST_SUB= FONTSDIR=${FONTSDIR} T1_FONTSDIR=${T1_FONTSDIR} \
|
|
TT_FONTSDIR=${TT_FONTSDIR} DOCDIR=${DOCDIR}
|
|
|
|
NORMAL_FONTS= Asian \
|
|
Chinese \
|
|
Ethiopic \
|
|
European \
|
|
Japanese \
|
|
Misc
|
|
BIG_FONTS= Chinese.BIG \
|
|
European.BIG \
|
|
Japanese.BIG
|
|
SCALABLE_FONTS= TrueType \
|
|
Type1
|
|
FONTSDIR= lib/X11/fonts/local
|
|
T1_FONTSDIR= lib/X11/fonts/Type1
|
|
TT_FONTSDIR= lib/X11/fonts/TrueType
|
|
PKGINSTALL= ${WRKDIR}/INSTALL
|
|
PKGDEINSTALL= ${WRKDIR}/DEINSTALL
|
|
DOCDIR= share/doc/${DISTNAME}
|
|
|
|
do-build:
|
|
cd ${WRKSRC}; \
|
|
for dir in ${NORMAL_FONTS} ${BIG_FONTS}; do \
|
|
for bdf in $$dir/*.bdf ; do \
|
|
${ECHO_CMD} $$bdf; \
|
|
pcf_gz=`${ECHO_CMD} $$bdf | ${SED} 's/.bdf$$/.pcf.gz/'`; \
|
|
${CAT} $$bdf | bdftopcf | ${GZIP_CMD} \
|
|
> $$pcf_gz; \
|
|
done \
|
|
done
|
|
for file in INSTALL DEINSTALL; do \
|
|
${SED} -e 's,%%FONTSDIR%%,${FONTSDIR},g' \
|
|
-e 's,%%T1_FONTSDIR%%,${T1_FONTSDIR},g' \
|
|
-e 's,%%TT_FONTSDIR%%,${TT_FONTSDIR},g' \
|
|
-e 's,%%LOCALBASE%%,${LOCALBASE},g' \
|
|
-e 's,%%XWINSYS%%,${X_WINDOW_SYSTEM:L},g' \
|
|
< ${FILESDIR}/$${file}.tmpl > ${WRKDIR}/$${file}; \
|
|
done
|
|
|
|
pre-install:
|
|
@${SETENV} PKG_PREFIX=${PREFIX} \
|
|
${SH} ${PKGREQ} ${PKGNAME} INSTALL
|
|
|
|
do-install:
|
|
(cd ${WRKSRC}; \
|
|
${MKDIR} ${PREFIX}/${FONTSDIR}; \
|
|
for dir in ${NORMAL_FONTS} ${BIG_FONTS}; do \
|
|
${INSTALL_DATA} $$dir/*.pcf.gz ${PREFIX}/${FONTSDIR} ; \
|
|
done; \
|
|
${MKDIR} ${PREFIX}/${T1_FONTSDIR}; \
|
|
${INSTALL_DATA} Type1/*.* ${PREFIX}/${T1_FONTSDIR} ; \
|
|
${MKDIR} ${PREFIX}/${TT_FONTSDIR}; \
|
|
${INSTALL_DATA} TrueType/*.ttf ${PREFIX}/${TT_FONTSDIR} ; \
|
|
)
|
|
|
|
post-install:
|
|
@${SETENV} PKG_PREFIX=${PREFIX} \
|
|
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/Emacs.ap ${PREFIX}/${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/NEWS ${PREFIX}/${DOCDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|