diff options
author | Brendan Fabeny <bf@FreeBSD.org> | 2010-10-05 04:38:36 +0000 |
---|---|---|
committer | Brendan Fabeny <bf@FreeBSD.org> | 2010-10-05 04:38:36 +0000 |
commit | bbc697578ccebb10faa42640e4d15aed0cb68c08 (patch) | |
tree | 0d09f840a6d6930943da314f679e619752845398 /devel/distorm/Makefile | |
parent | 7a4146bdb854be07dd48faa4c5849268c34c829e (diff) | |
download | ports-bbc697578ccebb10faa42640e4d15aed0cb68c08.tar.gz ports-bbc697578ccebb10faa42640e4d15aed0cb68c08.zip |
Notes
Diffstat (limited to 'devel/distorm/Makefile')
-rw-r--r-- | devel/distorm/Makefile | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/devel/distorm/Makefile b/devel/distorm/Makefile index da454750ea28..01d93382a29d 100644 --- a/devel/distorm/Makefile +++ b/devel/distorm/Makefile @@ -6,35 +6,30 @@ # PORTNAME= distorm -PORTVERSION= 1.7.30 +PORTVERSION= 3.0.0 CATEGORIES= devel -MASTER_SITES= http://www.ragestorm.net/distorm/ -DISTNAME= ${PORTNAME}64-pkg${PORTVERSION} +MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \ + LOCAL/bf +DISTNAME= ${PORTNAME}${PORTVERSION:R:R} MAINTAINER= bf@FreeBSD.org COMMENT= Fast x86 and x86-64 disassembler library -USE_BZIP2= yes +LICENSE= GPLv3 + +USE_ZIP= yes USE_LDCONFIG= yes -WRKSRC= ${WRKDIR}/distorm64/build/linux +WRKSRC= ${WRKDIR}/distorm3/build/linux ALL_TARGET= clib -PLIST_FILES= bin/disasm lib/libdistorm64.a lib/libdistorm64.so +PLIST_FILES= bin/disasm lib/libdistorm3.a lib/libdistorm3.so -.ifndef(NOPORTDOCS) -PORTDOCS= distorm.html qa.txt vol1.html vol2.html -.endif +post-build: + ${CC} ${CFLAGS} -o ${WRKSRC}/disasm ${WRKSRC}/../../linuxproj/main.c \ + ${WRKSRC}/libdistorm3.a do-install: - ( cd ${WRKSRC} && ${INSTALL_PROGRAM} libdistorm64.a libdistorm64.so ${PREFIX}/lib \ + ( cd ${WRKSRC} && ${INSTALL_DATA} libdistorm3.a libdistorm3.so ${PREFIX}/lib \ && ${INSTALL_PROGRAM} disasm ${PREFIX}/bin ) -.ifndef(NOPORTDOCS) -post-install: - ${MKDIR} ${DOCSDIR} -.for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKDIR}/distorm64/doc/${f} ${DOCSDIR} -.endfor -.endif - .include <bsd.port.mk> |