aboutsummaryrefslogtreecommitdiffstats
path: root/print/dvips2ascii/Makefile
blob: 0c56156657d93a42f669997189048aeaffab11df (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=   http://www.de.freebsd.org/~eserte/distfiles/

MAINTAINER= eserte@cs.tu-berlin.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>