freebsd-ports/devel/pedisassem/Makefile

36 lines
786 B
Makefile
Raw Normal View History

# 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
2003-02-20 18:07:10 +01:00
COMMENT= A disassembler for Win32 code (PE format)
NO_WRKSUBDIR= yes
USE_ZIP= yes
USE_DOS2UNIX= *.[ch] readme.txt
MAKEFILE= ${FILESDIR}/Makefile
post-patch:
@${REINPLACE_CMD} -e 's|malloc\.h|stdlib.h|' \
${WRKSRC}/*.[ch]
@${REINPLACE_CMD} -e 's|(int) c = |c = (unsigned char *)|' \
${WRKSRC}/decoder.c
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
.endif
.include <bsd.port.mk>