aboutsummaryrefslogtreecommitdiffstats
path: root/print/dvips2ascii/Makefile
blob: 6163ae88437d9f5931c1c6f47efcb4943aecd8c0 (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
# New ports collection makefile for:    dvips2ascii
# Date created:         7 Aug 1997
# Whom:                 eserte@cs.tu-berlin.de
#
# $FreeBSD$
#

PORTNAME=   dvips2ascii
PORTVERSION=    1.3
CATEGORIES= print
MASTER_SITES=   SF/srezic/${PORTNAME}/${PORTVERSION}

MAINTAINER= slaven@rezic.de
COMMENT=    PostScript (created by dvips) to ascii converter

PLIST_FILES=    bin/dvips2ascii

do-build:
    ${MV} ${WRKSRC}/dvips2ascii ${WRKSRC}/dvips2ascii.orig
    ${SED} -e 's;#!.*perl;#!${PERL};' \
        < ${WRKSRC}/dvips2ascii.orig > ${WRKSRC}/dvips2ascii

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/dvips2ascii ${PREFIX}/bin

.include <bsd.port.mk>