aboutsummaryrefslogtreecommitdiff
path: root/russian/pscyr/Makefile
blob: 151f9e49fde39999f0d92829fd38699925331a28 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# New ports collection makefile for:	PSCyr
# Date created:				29 Jun 2001
# Whom:					kapr@crosswinds.net
#
# $FreeBSD$
#

PORTNAME=	PSCyr
PORTVERSION=	0.4c1
CATEGORIES=	russian print
MASTER_SITES=	ftp://mch5.chem.msu.su/pub/russian/psfonts/ \
		ftp://ftp.vsu.ru/pub/tex/font-packs/pscyr/
DISTFILES=	${PORTNAME}-${PORTVERSION:S/1/-patch1/}-tex.tar.gz \
		${PORTNAME}-${PORTVERSION:S/1/-patch1/}-type1.tar.gz

MAINTAINER=	kapr@crosswinds.net

RUN_DEPENDS=	mktexlsr:${PORTSDIR}/print/teTeX
# no other TeX is sufficient

NO_WRKSUBDIR=	yes
NO_BUILD=	yes

post-patch:
	${PERL5} -i.bak -pe 's/^mv\b/${INSTALL_DATA}/' ${WRKDIR}/install.sh

do-install:
	(cd ${WRKDIR}; ${SH} install.sh ${PREFIX})

post-install:
	${SH} ${PKGDIR}/pkg-install ${PKGNAME} POST-INSTALL ${PREFIX}

post-deinstall:
	${SH} ${PKGDIR}/pkg-deinstall ${PKGNAME} POST-DEINSTALL ${PREFIX}

.include <bsd.port.mk>