Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2006 19:20:23 +0200 (CEST)
From:      Antoine Brodin <antoine.brodin@laposte.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/95049: New port: devel/py-pydasm
Message-ID:  <200603281720.k2SHKNDd015788@barton.dreadbsd.org>
Resent-Message-ID: <200603281730.k2SHUBNc004131@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         95049
>Category:       ports
>Synopsis:       New port: devel/py-pydasm
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 28 17:30:10 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Antoine Brodin
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
none
>Environment:
System: FreeBSD barton.dreadbsd.org 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Tue Mar 21 22:30:47 CET 2006 antoine@barton.dreadbsd.org:/usr/obj/usr/src/sys/BARTON i386


>Description:
pydasm is a python interface to  libdasm, the best x86 disassembling
library out there.

WWW: http://dkbza.org/pydasm.html
>How-To-Repeat:
>Fix:


--- py-pydasm.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-pydasm
#	py-pydasm/distinfo
#	py-pydasm/Makefile
#	py-pydasm/pkg-descr
#	py-pydasm/pkg-plist
#
echo c - py-pydasm
mkdir -p py-pydasm > /dev/null 2>&1
echo x - py-pydasm/distinfo
sed 's/^X//' >py-pydasm/distinfo << 'END-of-py-pydasm/distinfo'
XMD5 (libdasm-1.4.tar.gz) = bc13927d718edf8db7e5e3a7631b03dc
XSHA256 (libdasm-1.4.tar.gz) = 182603e7581e34c013c82811b0dcd4f7fc49f0e493d5e7ea1935a42408565d1f
XSIZE (libdasm-1.4.tar.gz) = 69303
END-of-py-pydasm/distinfo
echo x - py-pydasm/Makefile
sed 's/^X//' >py-pydasm/Makefile << 'END-of-py-pydasm/Makefile'
X# New ports collection makefile for:	pydasm
X# Date created:				23 March 2006
X# Whom:					antoine.brodin@laposte.net
X#
X# $FreeBSD$
X#
X
XPORTNAME=	pydasm
XPORTVERSION=	1.4
XCATEGORIES=	devel python
XMASTER_SITES=	http://www.klake.org/~jt/misc/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
XDISTNAME=	libdasm-${PORTVERSION}
X
XMAINTAINER=	antoine.brodin@laposte.net
XCOMMENT=	A python interface to libdasm
X
XWRKSRC=		${WRKDIR}/${DISTNAME}/${PORTNAME}
XUSE_PYTHON=	yes
XUSE_PYDISTUTILS=yes
X
X.if !defined(WITHOUT_EXAMPLES)
XPLIST_SUB+=	EXAMPLES=""
X.else
XPLIST_SUB+=	EXAMPLES="@comment "
X.endif
X
Xpost-install:
X.if !defined(WITHOUT_EXAMPLES)
X	@${MKDIR} ${EXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC}/das.py ${EXAMPLESDIR}
X.endif
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-py-pydasm/Makefile
echo x - py-pydasm/pkg-descr
sed 's/^X//' >py-pydasm/pkg-descr << 'END-of-py-pydasm/pkg-descr'
Xpydasm is a python interface to libdasm, the best x86 disassembling
Xlibrary out there.
X
XWWW: http://dkbza.org/pydasm.html
END-of-py-pydasm/pkg-descr
echo x - py-pydasm/pkg-plist
sed 's/^X//' >py-pydasm/pkg-plist << 'END-of-py-pydasm/pkg-plist'
X%%PYTHON_SITELIBDIR%%/pydasm.so
X%%EXAMPLES%%%%EXAMPLESDIR%%/das.py
X%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%
X%%PORTDOCS%%%%DOCSDIR%%/README.txt
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-py-pydasm/pkg-plist
exit
--- py-pydasm.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603281720.k2SHKNDd015788>