summaryrefslogtreecommitdiff
path: root/russian/pscyr/Makefile
blob: 293bfecc98224c318ea769ac823f7a2e374d84ee (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
37
# New ports collection makefile for:	PSCyr
# Date created:				29 Jun 2001
# Whom:					kapr@crosswinds.net
#
# $FreeBSD$
#

PORTNAME=	PSCyr
PATCH_LEVEL=	2
PORTVERSION=	0.4c${PATCH_LEVEL}
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/${PATCH_LEVEL}$/-patch&/}-tex.tar.gz \
		${PORTNAME}-${PORTVERSION:S/${PATCH_LEVEL}$/-patch&/}-type1.tar.gz

MAINTAINER=	kapr@acm.org

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>