Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2006 19:14:28 +0200 (CEST)
From:      Antoine Brodin <antoine.brodin@laposte.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/95048: New Port: devel/libdasm
Message-ID:  <200603281714.k2SHESCD015620@barton.dreadbsd.org>
Resent-Message-ID: <200603281720.k2SHKIO5003889@freefall.freebsd.org>

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

>Number:         95048
>Category:       ports
>Synopsis:       New Port: devel/libdasm
>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:20:17 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:
libdasm is a C-library that tries to provide simple and convenient way
to disassemble Intel x86 raw opcode bytes (machine code). It can parse
and print out opcodes in AT&T and Intel syntax. Current version is 1.4

WWW: http://www.nologin.org/main.pl?action=codeView&codeId=49&;
>How-To-Repeat:
>Fix:


--- libdasm.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:
#
#	libdasm
#	libdasm/Makefile
#	libdasm/files
#	libdasm/files/Makefile
#	libdasm/pkg-descr
#	libdasm/distinfo
#	libdasm/pkg-plist
#
echo c - libdasm
mkdir -p libdasm > /dev/null 2>&1
echo x - libdasm/Makefile
sed 's/^X//' >libdasm/Makefile << 'END-of-libdasm/Makefile'
X# New ports collection makefile for:	libdasm
X# Date created:				28 March 2006
X# Whom:					antoine.brodin@laposte.net
X#
X# $FreeBSD$
X#
X
XPORTNAME=	libdasm
XPORTVERSION=	1.4
XCATEGORIES=	devel
XMASTER_SITES=	http://www.klake.org/~jt/misc/
X
XMAINTAINER=	antoine.brodin@laposte.net
XCOMMENT=	A simple x86 disassembly library
X
XMAKEFILE=	${FILESDIR}/Makefile
XINSTALLS_SHLIB=	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}/examples/README.txt ${EXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC}/examples/das.c ${EXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC}/examples/simple.c ${EXAMPLESDIR}
X.endif
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/HISTORY.txt ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-libdasm/Makefile
echo c - libdasm/files
mkdir -p libdasm/files > /dev/null 2>&1
echo x - libdasm/files/Makefile
sed 's/^X//' >libdasm/files/Makefile << 'END-of-libdasm/files/Makefile'
XLIB=		dasm
XLIBDIR=		${PREFIX}/lib
XSHLIB_MAJOR=	1
XSHLIB_MINOR=	0
XINCS=		libdasm.h
XINCSDIR=	${PREFIX}/include
XSRCS=		libdasm.c
X
XNO_OBJ=		yes
XNOOBJ=		${NO_OBJ}
XNO_PROFILE=	yes
XNOPROFILE=	${NO_PROFILE}
X
X.include <bsd.lib.mk>
END-of-libdasm/files/Makefile
echo x - libdasm/pkg-descr
sed 's/^X//' >libdasm/pkg-descr << 'END-of-libdasm/pkg-descr'
Xlibdasm is a C-library that tries to provide simple and convenient
Xway to disassemble Intel x86 raw opcode bytes (machine code). It
Xcan parse and print out opcodes in AT&T and Intel syntax.
X
XWWW: http://www.nologin.net/main.pl?action=codeView&codeId=49&;
END-of-libdasm/pkg-descr
echo x - libdasm/distinfo
sed 's/^X//' >libdasm/distinfo << 'END-of-libdasm/distinfo'
XMD5 (libdasm-1.4.tar.gz) = bc13927d718edf8db7e5e3a7631b03dc
XSHA256 (libdasm-1.4.tar.gz) = 182603e7581e34c013c82811b0dcd4f7fc49f0e493d5e7ea1935a42408565d1f
XSIZE (libdasm-1.4.tar.gz) = 69303
END-of-libdasm/distinfo
echo x - libdasm/pkg-plist
sed 's/^X//' >libdasm/pkg-plist << 'END-of-libdasm/pkg-plist'
Xinclude/libdasm.h
Xlib/libdasm.a
Xlib/libdasm.so
Xlib/libdasm.so.1
X%%EXAMPLES%%%%EXAMPLESDIR%%/README.txt
X%%EXAMPLES%%%%EXAMPLESDIR%%/das.c
X%%EXAMPLES%%%%EXAMPLESDIR%%/simple.c
X%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%
X%%PORTDOCS%%%%DOCSDIR%%/HISTORY.txt
X%%PORTDOCS%%%%DOCSDIR%%/README.txt
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-libdasm/pkg-plist
exit
--- libdasm.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?200603281714.k2SHESCD015620>