summaryrefslogtreecommitdiff
path: root/x11-fonts/XFree86-4-fontCyrillic/Makefile
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2002-09-15 12:20:01 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2002-09-15 12:20:01 +0000
commitd2727cedb9f13501999751dcd1e7b80ffec907f3 (patch)
treeaf743360cd7190493028ae431041984139c1f08d /x11-fonts/XFree86-4-fontCyrillic/Makefile
parentadd libfs++ 0.1.7 (diff)
Update koi8-r fonts from their official source. More fonts added as result
and old fonts becomes more koi8-r conformant.
Diffstat (limited to 'x11-fonts/XFree86-4-fontCyrillic/Makefile')
-rw-r--r--x11-fonts/XFree86-4-fontCyrillic/Makefile22
1 files changed, 9 insertions, 13 deletions
diff --git a/x11-fonts/XFree86-4-fontCyrillic/Makefile b/x11-fonts/XFree86-4-fontCyrillic/Makefile
index 980ae3b6ad38..17c4b1dfbc76 100644
--- a/x11-fonts/XFree86-4-fontCyrillic/Makefile
+++ b/x11-fonts/XFree86-4-fontCyrillic/Makefile
@@ -7,16 +7,13 @@
PORTNAME= fontCyrillic
PORTVERSION= 4.2.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= x11-fonts
-MASTER_SITES= ${MASTER_SITE_XFREE}
+MASTER_SITES= ${MASTER_SITE_XFREE} \
+ http://koi8.pp.ru/dist/
MASTER_SITE_SUBDIR= ${PORTVERSION}
PKGNAMEPREFIX= XFree86-
-DISTFILES= X${PORTVERSION:S/.//g}src-2.tgz
-
-# koi8-u commented out until will be implemented as addition, not replacement
-#PATCHFILES= cronyx-4.2.0.koi8-u.diff.gz
-#PATCH_SITES= http://people.FreeBSD.org/~sobomax/
+DISTFILES= X${PORTVERSION:S/.//g}src-2.tgz xrus-2.3.1-xf4-bdf.tgz
MAINTAINER= anholt@freebsd.org
@@ -27,9 +24,14 @@ XFREE86_VERSION= 4
USE_IMAKE= YES
PROJECTROOT= -DProjectRoot=${PREFIX}
DIST_SUBDIR= xc
+EXTRACT_ONLY= X${PORTVERSION:S/.//g}src-2.tgz
EXTRACT_AFTER_ARGS= | ${TAR} -xf - xc/fonts
WRKSRC= ${WRKDIR}/xc/fonts/bdf/cyrillic
+post-extract:
+ cd ${WRKSRC} && \
+ ${TAR} zxf ${DISTDIR}/${DIST_SUBDIR}/xrus-2.3.1-xf4-bdf.tgz
+
do-configure:
(cd ${WRKDIR}/xc/fonts/encodings && \
imake -DUseInstalled ${PROJECTROOT} -I${PREFIX}/lib/X11/config \
@@ -48,10 +50,4 @@ pre-build:
(cd ${WRKDIR}/xc/fonts/encodings && \
${MAKE} all)
-#post-build:
-# @for line in `${TAIL} -n +2 ${WRKSRC}/fonts.dir | ${AWK} '{print $$2}'`; do \
-# ${ECHO_CMD} `${ECHO_CMD} $$line | ${SED} 's|koi8-r|koi8-u|'` $$line >> \
-# ${WRKSRC}/fonts.alias; \
-# done
-
.include <bsd.port.mk>