Skip to content

Commit

Permalink
capstone: move to github, fix livecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
l2dy authored and tobypeterson committed Feb 1, 2017
1 parent 15b1823 commit 7f66f34
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions devel/capstone/Portfile
@@ -1,9 +1,9 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0
PortGroup github 1.0

name capstone
version 3.0.4
github.setup aquynh capstone 3.0.4
revision 1
categories devel
platforms darwin
Expand All @@ -15,11 +15,9 @@ description Capstone disassembly engine
long_description Capstone is a multi-arch, multi-platform disassembly framework with advanced features

homepage http://www.capstone-engine.org/
master_sites ${homepage}download/${version}/
extract.suffix .tgz

checksums rmd160 ca7d09e2cb74fdee07f8c25b73a72d7b39ecf96d \
sha256 3e88abdf6899d11897f2e064619edcc731cc8e97e9d4db86495702551bb3ae7f
checksums rmd160 3aeacc48bf80c26a1eb20a168640d730ccdea56c \
sha256 ae79c37767d8f38e7a7f95d4db2bd3e92624559ab628da496f77dcd1dea11f85

patch.pre_args -p1
patchfiles patch-Makefile.diff
Expand All @@ -37,4 +35,4 @@ eval destroot.env ${build.env}

livecheck.type regex
livecheck.url ${homepage}download.html
livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}
livecheck.regex archive/(\[0-9.\]+)${extract.suffix}
2 changes: 1 addition & 1 deletion devel/capstone/files/patch-Makefile.diff
@@ -1,6 +1,6 @@
--- a/Makefile
+++ b/Makefile
@@ -248,14 +248,6 @@ EXT = dylib
@@ -248,16 +248,8 @@
ifeq ($(IS_APPLE),1)
EXT = dylib
VERSION_EXT = $(API_MAJOR).$(EXT)
Expand Down

0 comments on commit 7f66f34

Please sign in to comment.