aboutsummaryrefslogtreecommitdiffstats
path: root/print/dvips/Makefile
blob: 202f0bbca8212492f40ad2fa9a239878c8281227 (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:    dvips
# Date created:         30 September 1994
# Whom:                 jmz
#
# $FreeBSD$
#

PORTNAME=   dvips
PORTVERSION=    5.76
CATEGORIES= print
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= jmz

DISTNAME=   dvips576

MAINTAINER= jmz@FreeBSD.org

WRKSRC=     ${WRKDIR}/dvips576/dvips
IS_INTERACTIVE= yes
MAN1=       dvips.1 afm2tfm.1

pre-install:
    @${MKDIR} ${PREFIX}/share/texmf

post-install:
    @${MKDIR} ${PREFIX}/share/texmf/fonts/vf  ${PREFIX}/share/texmf/fonts/tfm  ${PREFIX}/share/texmf/tex/latex
    @${INSTALL_DATA} ${WRKDIR}/dvips576/dvips/*.sty ${PREFIX}/share/texmf/tex/latex
    @${INSTALL_DATA} ${WRKDIR}/dvips576/PSlatex/*.sty ${PREFIX}/share/texmf/tex/latex
    @${INSTALL_DATA} ${WRKDIR}/dvips576/PStfms/*.tfm ${PREFIX}/share/texmf/fonts/tfm
    @${INSTALL_DATA} ${WRKDIR}/dvips576/PSvfs/*.vf ${PREFIX}/share/texmf/fonts/vf
    @if [ -f ${WRKDIR}/post-install ]; then ${SH} ${WRKDIR}/post-install; fi

pre-clean:
    @${RM} -f ${WRKDIR}/post-install

.include <bsd.port.mk>