diff options
-rw-r--r-- | devel/distorm/Makefile | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/devel/distorm/Makefile b/devel/distorm/Makefile index ea51d90334a8..09ad47432f01 100644 --- a/devel/distorm/Makefile +++ b/devel/distorm/Makefile @@ -5,17 +5,7 @@ PORTNAME?= distorm DISTVERSION= 20121220-r230 PORTREVISION?= 2 CATEGORIES= devel -.if defined(PYTHON_SLAVEPORT) -CATEGORIES+= python -.endif MASTER_SITES= LOCAL/bf -.if defined(PYTHON_SLAVEPORT) -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -.endif -.if defined(PYTHON_SLAVEPORT) || make(makesum) -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} dislib.py -EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} -.endif MAINTAINER= ports@FreeBSD.org COMMENT?= Fast x86 and x86-64 disassembler library @@ -24,23 +14,6 @@ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= dos2unix tar:xz - -.if defined(PYTHON_SLAVEPORT) -USES+= python:2.7 -USE_PYTHON= distutils - -PYDISTUTILS_PKGNAME= distorm3 -PYDISTUTILS_PKGVERSION= 3 - -PLIST_FILES= bin/dislib.py \ - %%PYTHON_SITELIBDIR%%/distorm3/sample.py \ - %%PYTHON_SITELIBDIR%%/distorm3/__init__.py \ - %%PYTHON_SITELIBDIR%%/distorm3/libdistorm3.so \ - %%PYTHON_SITELIBDIR%%/distorm3/sample.pyc \ - %%PYTHON_SITELIBDIR%%/distorm3/__init__.pyc \ - %%PYTHON_SITELIBDIR%%/distorm3/sample.pyo \ - %%PYTHON_SITELIBDIR%%/distorm3/__init__.pyo -.else USE_LDCONFIG= yes BUILD_WRKSRC= ${WRKSRC}/make/linux @@ -51,7 +24,6 @@ PLIST_FILES= bin/disasm \ lib/libdistorm3.a \ lib/libdistorm3.so \ lib/libdistorm3.so.1 -.endif .include <bsd.port.pre.mk> @@ -61,18 +33,6 @@ PICFLAG?= -fPIC PICFLAG?= -fpic .endif -.if defined(PYTHON_SLAVEPORT) -post-extract: - @${CP} ${_DISTDIR}/dislib.py ${WRKSRC} - -post-patch: - @${REINPLACE_CMD} -e "1{x;s|^|#!${PYTHON_CMD}|;G;}" ${WRKSRC}/dislib.py - @${REINPLACE_CMD} -e "\|extra_compile_args=|s| '-O2',||" ${WRKSRC}/setup.py - -post-install: - ${INSTALL_SCRIPT} ${WRKSRC}/dislib.py ${STAGEDIR}${PREFIX}/bin - -.else do-build: @(cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} \ EXTRAFLAGS="${PICFLAG} -DDISTORM_DYNAMIC" ${MAKE} ${_MAKE_JOBS} \ @@ -91,6 +51,5 @@ do-install: ${LN} -sf libdistorm3.so.1 ${STAGEDIR}${PREFIX}/lib/libdistorm3.so ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/disasm ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/include/*.h ${STAGEDIR}${PREFIX}/include -.endif .include <bsd.port.post.mk> |