2000-12-03 20:48:23 +00:00
|
|
|
# New ports collection makefile for: koi8rPS
|
|
|
|
# Date created: Oct 30, 2000
|
|
|
|
# Whom: mi@aldan.algebra.com
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gemini
|
|
|
|
PORTVERSION= 1.0
|
|
|
|
CATEGORIES= x11-fonts
|
|
|
|
MASTER_SITES= http://www.brama.com/compute/unix/
|
|
|
|
PKGNAMEPREFIX= koi8-u-
|
|
|
|
PKGNAMESUFFIX= -x11
|
|
|
|
DISTNAME= x-koi8u
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= mi@aldan.algebra.com
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Ukrainian KOI8 fonts for X11R6 (koi8-u)
|
2000-12-03 20:48:23 +00:00
|
|
|
|
2004-07-23 19:10:32 +00:00
|
|
|
BUILD_DEPENDS= bdftopcf:${X_CLIENTS_PORT}
|
2000-12-03 20:48:23 +00:00
|
|
|
|
2003-01-07 14:48:05 +00:00
|
|
|
USE_PERL5_BUILD=yes
|
2000-12-03 20:48:23 +00:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
|
|
|
MAKE_ENV+= DESTDIR=${X11BASE}/lib/X11/fonts/koi8-u-gemini
|
2001-02-07 23:00:00 +00:00
|
|
|
MAKE_ARGS+= -E DESTDIR -j 2
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${PERL} -pi -e 's/\.Z/.gz/g' ${WRKSRC}/Makefile
|
2000-12-03 20:48:23 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
# This will allow one to use just this fonts for both, the Ukrainian
|
|
|
|
# koi8-u and the Russian koi8-r encodings. Since koi8-u is a superset of
|
|
|
|
# koi8-r, there is not need to load both sets into X-server, but some
|
|
|
|
# applications look for cronyx-*-koi8-r or koi8-r explicitly. -mi
|
|
|
|
post-build:
|
|
|
|
# Creating aliases for koi8-r encoding and Cronyx foundry:
|
2002-01-29 12:14:18 +00:00
|
|
|
@${ECHO_CMD} >> ${WRKSRC}/fonts.alias
|
|
|
|
@${ECHO_CMD} "! Automaticly generated aliases for koi8-r encoding:" \
|
2000-12-03 20:48:23 +00:00
|
|
|
>> ${WRKSRC}/fonts.alias
|
|
|
|
${AWK} '/gemini/ { \
|
|
|
|
name = $$2; \
|
|
|
|
gsub("koi8-u", "koi8-r", $$2); \
|
|
|
|
print $$2 " " name; \
|
|
|
|
gsub("gemini", "cronyx", $$2); \
|
|
|
|
print $$2 " " name; \
|
|
|
|
}' < ${WRKSRC}/fonts.dir >> ${WRKSRC}/fonts.alias
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|