pydasm is a python interface to libdasm, the best x86 disassembling

library out there.

WWW: http://dkbza.org/pydasm.html

PR:		ports/95049
Submitted by:	Antoine Brodin <antoine.brodin@laposte.net>
This commit is contained in:
Pav Lucistnik 2006-04-04 17:42:48 +00:00
parent 1a233b6392
commit d43f306ff4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=158784
5 changed files with 51 additions and 0 deletions

View File

@ -1466,6 +1466,7 @@
SUBDIR += py-protocols
SUBDIR += py-psyco
SUBDIR += py-px
SUBDIR += py-pydasm
SUBDIR += py-repl
SUBDIR += py-resourcepackage
SUBDIR += py-reverse

38
devel/py-pydasm/Makefile Normal file
View File

@ -0,0 +1,38 @@
# New ports collection makefile for: pydasm
# Date created: 23 March 2006
# Whom: antoine.brodin@laposte.net
#
# $FreeBSD$
#
PORTNAME= pydasm
PORTVERSION= 1.4
CATEGORIES= devel python
MASTER_SITES= http://www.klake.org/~jt/misc/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= libdasm-${PORTVERSION}
MAINTAINER= antoine.brodin@laposte.net
COMMENT= A python interface to libdasm
WRKSRC= ${WRKDIR}/${DISTNAME}/${PORTNAME}
USE_PYTHON= yes
USE_PYDISTUTILS=yes
.if !defined(WITHOUT_EXAMPLES)
PLIST_SUB+= EXAMPLES=""
.else
PLIST_SUB+= EXAMPLES="@comment "
.endif
post-install:
.if !defined(WITHOUT_EXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/das.py ${EXAMPLESDIR}
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
.endif
.include <bsd.port.mk>

3
devel/py-pydasm/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (libdasm-1.4.tar.gz) = bc13927d718edf8db7e5e3a7631b03dc
SHA256 (libdasm-1.4.tar.gz) = 182603e7581e34c013c82811b0dcd4f7fc49f0e493d5e7ea1935a42408565d1f
SIZE (libdasm-1.4.tar.gz) = 69303

View File

@ -0,0 +1,4 @@
pydasm is a python interface to libdasm, the best x86 disassembling
library out there.
WWW: http://dkbza.org/pydasm.html

View File

@ -0,0 +1,5 @@
%%PYTHON_SITELIBDIR%%/pydasm.so
%%EXAMPLES%%%%EXAMPLESDIR%%/das.py
%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%%%DOCSDIR%%/README.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%