aboutsummaryrefslogtreecommitdiff
path: root/print/txtbdf2ps/Makefile
blob: 0e0dc448ea768b7ccf9136efab59d9899d83dc08 (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
# ex:ts=8
# Ports collection makefile for:	txtbdf2ps
# Date created:			Aug 10, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	txtbdf2ps
PORTVERSION=	0.7.1
CATEGORIES=	print
MASTER_SITES=	http://www.geocities.com/CapeCanaveral/Lab/5735/1/ \
		http://oldrus-ispell.sourceforge.net/ \
		http://members.fortunecity.com/brodsky/TL/LS/ \
		http://sawsoft.newmail.ru/LS/
EXTRACT_SUFX=	.txt

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Translator TXT + BDF to PS

PLIST_FILES=	bin/txtbdf2ps
USE_PERL5=	yes
EXTRACT_CMD=	${CP}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS=	${WRKDIR}
NO_WRKSUBDIR=	yes
NO_BUILD=	yes

post-patch:
	@${PERL} -pi -e "s|/usr/bin/perl|${PERL}|g" ${WRKSRC}/${DISTNAME}.txt

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME}.txt ${PREFIX}/bin/txtbdf2ps

.include <bsd.port.mk>