aboutsummaryrefslogtreecommitdiffstats
path: root/print/dvips2ascii/Makefile
blob: 5924a20b358aedc905379407b9745cc3c1943daf (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
# 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=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= srezic

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>