svn commit: r309942 - in head/devel: distorm distorm/files py-distorm
Brendan Fabeny
bf at FreeBSD.org
Fri Jan 4 22:30:14 UTC 2013
Author: bf
Date: Fri Jan 4 22:30:12 2013
New Revision: 309942
URL: http://svnweb.freebsd.org/changeset/ports/309942
Log:
update to r230
Modified:
head/devel/distorm/Makefile (contents, props changed)
head/devel/distorm/distinfo (contents, props changed)
head/devel/distorm/files/patch-make__linux__Makefile (contents, props changed)
head/devel/py-distorm/Makefile (contents, props changed)
Modified: head/devel/distorm/Makefile
==============================================================================
--- head/devel/distorm/Makefile Fri Jan 4 21:48:21 2013 (r309941)
+++ head/devel/distorm/Makefile Fri Jan 4 22:30:12 2013 (r309942)
@@ -1,12 +1,8 @@
-# New ports collection makefile for: distorm
-# Date created: 13 May 2008
-# Whom: bf <bf2006a at yahoo.com>
-#
+# Created by: bf <bf2006a at yahoo.com>
# $FreeBSD$
-#
PORTNAME?= distorm
-DISTVERSION= 20120514-r214
+DISTVERSION= 20121220-r230
PORTREVISION?= 0
CATEGORIES= devel
.if defined(PYTHON_SLAVEPORT)
@@ -30,11 +26,11 @@ USE_DOS2UNIX= yes
USE_XZ = yes
.if defined(PYTHON_SLAVEPORT)
-USE_PYTHON= -2.7
+USE_PYTHON= 2.6-2.7
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= distorm3
-PYDISTUTILS_PKGVERSION = 2
+PYDISTUTILS_PKGVERSION = 3
PLIST_DIRS= %%PYTHON_SITELIBDIR%%/distorm3
@@ -88,6 +84,9 @@ do-build:
${CC} ${CFLAGS} ${LDFLAGS} -o ${BUILD_WRKSRC}/disasm \
${WRKSRC}/examples/linux/main.c ${BUILD_WRKSRC}/libdistorm3.a
+check regression-test test: build
+ @cd ${BUILD_WRKSRC}; ./disasm disasm
+
do-install:
@(cd ${BUILD_WRKSRC}; ${INSTALL_LIB} libdistorm3.a ${PREFIX}/lib; \
${INSTALL_LIB} libdistorm3.so ${PREFIX}/lib/libdistorm3.so.1; \
Modified: head/devel/distorm/distinfo
==============================================================================
--- head/devel/distorm/distinfo Fri Jan 4 21:48:21 2013 (r309941)
+++ head/devel/distorm/distinfo Fri Jan 4 22:30:12 2013 (r309942)
@@ -1,4 +1,4 @@
-SHA256 (distorm-20120514-r214.tar.xz) = 3e0c864abd6dbe24c0221f7f949019fb681952ea395f6de58569ed0d7ce0f04a
-SIZE (distorm-20120514-r214.tar.xz) = 147284
+SHA256 (distorm-20121220-r230.tar.xz) = 5c4df6e69f789ab5a0445a3355910c81c96fe3b0a6546689a19c87fd62089aa0
+SIZE (distorm-20121220-r230.tar.xz) = 150848
SHA256 (dislib.py) = ad2d3dda291887ec93f000e30e5f02a77f4e446be0c3042beb7b1e99c5e6e640
SIZE (dislib.py) = 27405
Modified: head/devel/distorm/files/patch-make__linux__Makefile
==============================================================================
--- head/devel/distorm/files/patch-make__linux__Makefile Fri Jan 4 21:48:21 2013 (r309941)
+++ head/devel/distorm/files/patch-make__linux__Makefile Fri Jan 4 22:30:12 2013 (r309942)
@@ -3,7 +3,7 @@
@@ -4,22 +4,23 @@
TARGET = libdistorm3.so
- COBJS = ../../src/mnemonics.o ../../src/wstring.o ../../src/textdefs.o ../../src/x86defs.o ../../src/prefix.o ../../src/operands.o ../../src/insts.o ../../src/instructions.o ../../src/distorm.o ../../src/decoder.o
+ COBJS = ../../src/mnemonics.o ../../src/wstring.o ../../src/textdefs.o ../../src/prefix.o ../../src/operands.o ../../src/insts.o ../../src/instructions.o ../../src/distorm.o ../../src/decoder.o
-CC = gcc
-CFLAGS = -fPIC -O2 -Wall -DSUPPORT_64BIT_OFFSET -DDISTORM_STATIC
+CFLAGS += -DSUPPORT_64BIT_OFFSET
Modified: head/devel/py-distorm/Makefile
==============================================================================
--- head/devel/py-distorm/Makefile Fri Jan 4 21:48:21 2013 (r309941)
+++ head/devel/py-distorm/Makefile Fri Jan 4 22:30:12 2013 (r309942)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: py-distorm
-# Date created: 1 December 2006
-# Whom: Lutz Boehne <lboehne at damogran.de>
-#
+# Created by: Lutz Boehne <lboehne at damogran.de>
# $FreeBSD$
-#
PORTNAME= distorm
@@ -11,4 +7,5 @@ COMMENT= Python interface for fast x86 a
PYTHON_SLAVEPORT= yes
MASTERDIR= ${.CURDIR}/../distorm
+
.include "${MASTERDIR}/Makefile"
More information about the svn-ports-all
mailing list