summaryrefslogtreecommitdiff
path: root/devel/pedisassem/Makefile
blob: 4f2f2815afe742cb87e7bf981b791d6d7eb62f16 (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
# New ports collection makefile for:	pedisassem
# Date created:				24 January 2001
# Whom:					Jun-ichiro itojun Hagino <itojun@netbsd.org>
#
# $FreeBSD$
#

PORTNAME=	pedisassem
PORTVERSION=	0.23
CATEGORIES=	devel
MASTER_SITES=	http://www.geocities.com/SiliconValley/Foothills/4078/
DISTNAME=	dsasmsrc

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A disassembler for Win32 code (PE format)

NO_WRKSUBDIR=	yes

USE_ZIP=	yes
USE_REINPLACE=	yes
MAKEFILE=	${FILESDIR}/Makefile

post-patch:
	@${REINPLACE_CMD} -e "s|`/usr/bin/printf '\r'`|| ; s|malloc\.h|stdlib.h|" \
		${WRKSRC}/*.[ch] ${WRKSRC}/readme.txt

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
.endif

.include <bsd.port.mk>