1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/russian/X.language/Makefile

73 lines
1.7 KiB
Makefile
Raw Normal View History

1995-08-31 20:01:51 +00:00
# New ports collection makefile for: X.language
# Date created: 31 Aug 1995
# Whom: ache
#
1999-08-31 01:53:22 +00:00
# $FreeBSD$
1995-08-31 20:01:51 +00:00
#
2000-04-13 19:19:05 +00:00
PORTNAME= X11
PORTVERSION= 3.3
CATEGORIES= russian x11
2000-08-07 09:47:03 +00:00
MASTER_SITES= http://koi8.pp.ru/dist/ \
2000-03-01 16:16:36 +00:00
ftp://ftp.kiarchive.ru/pub/misc/fonts/cyrillic/xwindows/
DISTFILES= x6rus-2.3.1-bin.tgz
.if defined(NON_FREE_FONTS)
DISTFILES += Type1.koi8-r.tgz
.else
DISTFILES += Type1.koi8-r.free.tgz
.endif
1995-08-31 20:01:51 +00:00
MAINTAINER= ache@FreeBSD.org
1995-08-31 20:01:51 +00:00
1998-07-29 16:11:38 +00:00
NO_WRKSUBDIR= YES
1995-08-31 20:01:51 +00:00
NO_BUILD= YES
USE_X_PREFIX= YES
1995-08-31 20:01:51 +00:00
PKGTMP = ${X11BASE}/.Xinstmp
1995-08-31 20:01:51 +00:00
XLIB = ${X11BASE}/lib/X11
1998-07-29 16:11:38 +00:00
CYRF = ${XLIB}/fonts/cyrillic
1995-08-31 20:01:51 +00:00
1996-03-10 16:52:38 +00:00
#Be careful to not delete embedded tab characters
1995-12-13 10:58:26 +00:00
do-install:
1998-07-29 16:11:38 +00:00
-if [ ! -d ${CYRF}.old ]; then \
${MV} ${CYRF} ${CYRF}.old; \
1998-07-29 16:11:38 +00:00
fi
-${MKDIR} ${CYRF}/100dpi
-${MKDIR} ${CYRF}/75dpi
-${MKDIR} ${CYRF}/misc
1996-10-07 14:35:15 +00:00
cd ${WRKSRC}; \
1998-07-29 16:11:38 +00:00
${INSTALL_DATA} *.pfb ${XLIB}/fonts/Type1
cd ${WRKSRC}/cyrillic; \
${INSTALL_DATA} xrus.info ${CYRF}; \
1996-10-07 14:35:15 +00:00
for i in 100dpi 75dpi misc; do \
1998-07-29 16:11:38 +00:00
${INSTALL_DATA} $$i/* ${CYRF}/$$i; \
1996-10-07 14:35:15 +00:00
done
1996-11-15 12:56:57 +00:00
# ${INSTALL_DATA} ${FILESDIR}/xmodmap ${XLIB}/xinit/.Xmodmap
1995-08-31 20:01:51 +00:00
if [ ! -d ${XLIB}/nls ] ; then \
${MKDIR} ${XLIB}/nls; \
1999-08-22 19:01:07 +00:00
${CHOWN} ${BINOWN}.${BINGRP} ${XLIB}/nls; \
${CHMOD} 755 ${XLIB}/nls; \
1995-08-31 20:01:51 +00:00
fi
if [ ! -f ${XLIB}/nls/ru_SU.KOI8-R ] ; then \
${INSTALL_DATA} ${FILESDIR}/nls_koi8-r ${XLIB}/nls/ru_SU.KOI8-R; \
fi
if [ ! -f ${XLIB}/nls/C ] ; then \
${INSTALL_DATA} ${FILESDIR}/nls_C ${XLIB}/nls/C; \
fi
1998-08-03 08:49:00 +00:00
${MAKE} pre-package
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
1998-08-03 08:49:00 +00:00
${MAKE} post-package
1995-08-31 20:01:51 +00:00
pre-package:
-${MKDIR} ${PKGTMP}
cd ${FILESDIR}; \
$(CP) nls_dir_list nls_alias_list replace_nls_list ${PKGTMP}
cd ${WRKSRC}; \
$(CP) fonts.dir-scale.add ${PKGTMP}
post-package:
${RM} -rf ${PKGTMP}
1995-08-31 20:01:51 +00:00
.include <bsd.port.mk>