2001-04-18 14:41:30 +02:00
|
|
|
# New ports collection makefile for: pedisassem
|
|
|
|
# Date created: 24 January 2001
|
|
|
|
# Whom: Jun-ichiro itojun Hagino <itojun@netbsd.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pedisassem
|
2001-12-08 21:42:30 +01:00
|
|
|
PORTVERSION= 0.23
|
2001-04-18 14:41:30 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://www.geocities.com/SiliconValley/Foothills/4078/
|
|
|
|
DISTNAME= dsasmsrc
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= A disassembler for Win32 code (PE format)
|
2001-04-18 14:41:30 +02:00
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
|
|
|
USE_ZIP= yes
|
2007-06-29 11:35:59 +02:00
|
|
|
USE_DOS2UNIX= *.[ch] readme.txt
|
2001-12-08 21:42:30 +01:00
|
|
|
MAKEFILE= ${FILESDIR}/Makefile
|
2001-04-18 14:41:30 +02:00
|
|
|
|
|
|
|
post-patch:
|
2007-06-29 11:35:59 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|malloc\.h|stdlib.h|' \
|
|
|
|
${WRKSRC}/*.[ch]
|
|
|
|
@${REINPLACE_CMD} -e 's|(int) c = |c = (unsigned char *)|' \
|
|
|
|
${WRKSRC}/decoder.c
|
2001-04-18 14:41:30 +02:00
|
|
|
|
|
|
|
post-install:
|
2001-12-08 21:42:30 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
|
|
|
|
.endif
|
2001-04-18 14:41:30 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|