1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

update to r230

This commit is contained in:
Brendan Fabeny 2013-01-04 22:30:12 +00:00
parent 0461a2d3aa
commit 0d2af93f2b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=309942
4 changed files with 12 additions and 16 deletions

View File

@ -1,12 +1,8 @@
# New ports collection makefile for: distorm
# Date created: 13 May 2008
# Whom: bf <bf2006a@yahoo.com>
#
# Created by: bf <bf2006a@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; \

View File

@ -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

View File

@ -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

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: py-distorm
# Date created: 1 December 2006
# Whom: Lutz Boehne <lboehne@damogran.de>
#
# Created by: Lutz Boehne <lboehne@damogran.de>
# $FreeBSD$
#
PORTNAME= distorm
@ -11,4 +7,5 @@ COMMENT= Python interface for fast x86 and x86-64 disassembler library
PYTHON_SLAVEPORT= yes
MASTERDIR= ${.CURDIR}/../distorm
.include "${MASTERDIR}/Makefile"