summaryrefslogtreecommitdiff
path: root/devel/stlfilt/Makefile
blob: 1c545d58954e2f7f77f168401c496e7f3b7c8b6c (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
36
37
# ex:ts=8
# Ports collection makefile for:	stlfilt
# Date created:			Mar 12, 2004
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	stlfilt
PORTVERSION=	20041602
CATEGORIES=	devel
MASTER_SITES=	http://www.bdsoft.com/dist/
DISTNAME=	g${PORTNAME}
EXTRACT_SUFX=	.tar

MAINTAINER=	barner@FreeBSD.org
COMMENT=	An STL Error Message Decryptor for C++

EXTRACT_CMD=	${TAR}
EXTRACT_BEFORE_ARGS=	-xf
EXTRACT_AFTER_ARGS=	# empty
USE_REINPLACE=	yes
USE_PERL5_RUN=	yes
NO_BUILD=	yes
NO_WRKSUBDIR=	yes

PLIST_FILES=	bin/gSTLFilt.pl bin/gfilt

post-patch:
	@${REINPLACE_CMD} -e "s,[$$]HOME,${PREFIX}/bin," ${WRKSRC}/gfilt

do-install:
.for file in gSTLFilt.pl gfilt
	@${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/bin
.endfor

.include <bsd.port.mk>