1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/devel/pedisassem/Makefile
Alexey Dokuchaev ab7355105b - Fix the build with latest GCC [1]
- Utilize DOCSDIR macro in pkg-plist
- Use USE_DOS2UNIX and convert patches

Reported by:	pointyhat (logs) [1]
2007-06-29 09:35:59 +00:00

36 lines
786 B
Makefile

# 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_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>