Ticket #30868: Portfile.diff
File Portfile.diff, 3.0 KB (added by kentk@…, 13 years ago) |
---|
-
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/sysutils/grok/Portfile
old new 3 3 PortSystem 1.0 4 4 5 5 name grok 6 version 200909286 version 1.20110630.1 7 7 categories sysutils 8 8 maintainers org.geekdaily:jim openmaintainer 9 9 platforms darwin … … 18 18 homepage http://www.semicomplete.com/projects/grok/ 19 19 20 20 master_sites http://semicomplete.googlecode.com/files/ 21 checksums md5 629465d284de11c37a644cab970be432 \ 22 sha1 bfc8db7be17f1bb52f2b930dfe284a0db8595b35 \ 23 rmd160 8b9f6f27e85700f7f227bd3a6f5b9925de82e8e9 21 checksums md5 cb91edadab0f5cf452c53b15bdfc2589 \ 22 sha1 d923c961e4a8b473d1a924c3e961d2fab7458805 24 23 25 24 patchfiles patch-Makefile.diff 26 post-patch {27 reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/Makefile28 }29 25 30 26 depends_build port:bison \ 31 27 port:flex \ 32 28 port:gperf \ 33 port:gmake 29 port:gmake \ 30 port:cunit 34 31 35 depends_run port:libevent \32 depends_run port:libevent1 \ 36 33 port:pcre \ 37 port: db4634 port:tokyocabinet 38 35 39 36 use_configure no 40 37 41 38 build.type gnu 42 build.args CFLAGS="`pcre-config --cflags` -I${prefix}/include/db46" LDFLAGS="`pcre-config --libs` -L${prefix}/lib/db46 -levent -ldb -rdynamic" 39 build.args EXTRA_CFLAGS="`pcre-config --cflags` -I${prefix}/include/libevent1" \ 40 EXTRA_LDFLAGS="`pcre-config --libs` -L${prefix}/lib/libevent1" 43 41 44 42 test.run yes 43 test.target -C test test-c 44 test.env DYLD_LIBRARY_PATH=${worksrcpath} \ 45 CFLAGS="-I${prefix}/include -I${prefix}/include/libevent1" \ 46 LDFLAGS="-L${prefix}/lib -L${prefix}/lib/libevent1 -lncurses" 45 47 46 destroot.args PREFIX=${ destroot}${prefix} INSTALL_USER=${install.user} INSTALL_GROUP=${install.group}48 destroot.args PREFIX=${prefix} INSTALL_USER=${install.user} INSTALL_GROUP=${install.group} 47 49 48 50 ### TODO: pre-build testing for these dependencies 49 # Builddependencies:51 # Developer dependencies: 50 52 # bison >= 2.3 51 # flex>= 2.5.3552 # gperf >= 3.053 # GNU make >= 3.8153 # gnu flex >= 2.5.35 54 # * gnu flex and bison are only needed for developers, as the main source 55 # code comes with bison/flex code generation already run) 54 56 # 57 # Build dependencies: 58 # gperf >= 3.0 59 # GNU make >= 3.81 55 60 # Run dependencies: 56 # libevent >= 1.3 (older versions may work)57 # libpcre >= 7.658 # Berkeley DB >= 4.561 # libevent >= 1.3 (older versions may work) 62 # libpcre >= 7.6 63 # Tokyo Cabinet >= 1.4.9 59 64 # 60 65 # Test suite dependencies: 61 66 # CUnit >= 2.1