freebsd-ports/x11-fonts/geminifonts/Makefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

56 lines
1.5 KiB
Makefile

# New ports collection makefile for: koi8rPS
# Date created: Oct 30, 2000
# Whom: mi@aldan.algebra.com
#
# $FreeBSD$
#
PORTNAME= gemini
PORTVERSION= 1.0
PORTREVISION= 3
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
COMMENT= Ukrainian KOI8 fonts for X11R6 (koi8-u)
BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf \
mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
USE_PERL5_BUILD=yes
USE_XORG= x11
NO_WRKSUBDIR= yes
MAKE_ARGS+= -j 2
post-patch:
${REINPLACE_CMD} -e 's/\.Z/.gz/g' \
-e 's|DESTDIR =.*|DESTDIR=${LOCALBASE}/lib/X11/fonts/koi8-u-gemini|' \
${WRKSRC}/Makefile
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:
@${ECHO_CMD} >> ${WRKSRC}/fonts.alias
@${ECHO_CMD} "! Automaticly generated aliases for koi8-r encoding:" \
>> ${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>