aboutsummaryrefslogtreecommitdiff
path: root/print/txtbdf2ps/Makefile
blob: a060f2006a041a47cb0a9ec354ee58dc4f02677f (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
# 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://src4.narod.ru/
EXTRACT_SUFX=	.txt

MAINTAINER=	spam@rm-rf.kiev.ua
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>