41 lines
945 B
Makefile
41 lines
945 B
Makefile
# New ports collection makefile for: distorm
|
|
# Date created: 13 May 2008
|
|
# Whom: bf <bf2006a@yahoo.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= distorm
|
|
PORTVERSION= 1.7.29
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.ragestorm.net/distorm/ \
|
|
http://www.damogran.de/ports/distorm/
|
|
DISTNAME= ${PORTNAME}64-pkg${PORTVERSION}
|
|
|
|
MAINTAINER= bf2006a@yahoo.com
|
|
COMMENT= Fast x86 and x86-64 disassembler library
|
|
|
|
USE_BZIP2= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
WRKSRC= ${WRKDIR}/distorm/build/linux
|
|
ALL_TARGET= clib
|
|
PLIST_FILES= bin/disasm lib/libdistorm64.a lib/libdistorm64.so
|
|
|
|
.ifndef(NOPORTDOCS)
|
|
PORTDOCS= distorm.html qa.txt vol1.html vol2.html
|
|
.endif
|
|
|
|
do-install:
|
|
( cd ${WRKSRC} && ${INSTALL_PROGRAM} libdistorm64.a libdistorm64.so ${PREFIX}/lib \
|
|
&& ${INSTALL_PROGRAM} disasm ${PREFIX}/bin )
|
|
|
|
.ifndef(NOPORTDOCS)
|
|
post-install:
|
|
${MKDIR} ${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKDIR}/distorm/doc/${f} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|