Ticket #48390: auto-multiple-choice-1.2.1-r4.1.diff
File auto-multiple-choice-1.2.1-r4.1.diff, 3.1 KB (added by nortcele, 9 years ago) |
---|
-
Portfile
old new 2 2 # $Id: Portfile 137787 2015-06-19 18:00:57Z devans@macports.org $ 3 3 4 4 PortSystem 1.0 5 PortGroup perl5 1.0 5 6 7 perl5.branches 5.16 6 8 name auto-multiple-choice 7 9 version 1.2.1 8 10 revision 2 … … 29 31 checksums sha256 534b1a9cd855532bd6c065a29e09dec2ba07c8ee155317e416260a9d5942420a \ 30 32 rmd160 760b64682e583147b9a774233b10de68513353e3 31 33 32 depends_lib port:opencv 33 depends_run port:p5.16-gtk2 \ 34 port:p5.16-xml-simple \ 35 port:p5.16-xml-writer \ 36 port:p5.16-archive-zip \ 37 port:p5.16-locale-gettext \ 38 port:p5.16-digest-md5 \ 39 port:p5.16-module-load-conditional \ 40 port:p5.16-perlmagick \ 41 port:p5.16-openoffice-oodoc \ 42 port:p5.16-file-mimeinfo \ 43 port:p5.16-dbd-sqlite \ 44 port:p5.16-text-csv \ 45 port:p5.16-file-basedir \ 46 port:p5.16-email-mime \ 47 port:p5.16-email-sender \ 34 depends_lib-append port:opencv 35 36 if {${perl5.major} != ""} { 37 depends_run port:p${perl5.major}-gtk2 \ 38 port:p${perl5.major}-xml-simple \ 39 port:p${perl5.major}-xml-writer \ 40 port:p${perl5.major}-archive-zip \ 41 port:p${perl5.major}-locale-gettext \ 42 port:p${perl5.major}-digest-md5 \ 43 port:p${perl5.major}-module-load-conditional \ 44 port:p${perl5.major}-perlmagick \ 45 port:p${perl5.major}-openoffice-oodoc \ 46 port:p${perl5.major}-file-mimeinfo \ 47 port:p${perl5.major}-dbd-sqlite \ 48 port:p${perl5.major}-text-csv \ 49 port:p${perl5.major}-file-basedir \ 50 port:p${perl5.major}-email-mime \ 51 port:p${perl5.major}-email-sender \ 48 52 port:sqlite3 \ 49 53 port:poppler \ 50 54 port:netpbm \ 51 55 port:librsvg \ 52 56 port:gdk-pixbuf2 57 } 53 58 54 use_configure no55 59 patchfiles patch-makefile-macport.conf.diff 56 60 61 use_configure no 62 63 pre-build { 64 build.args-append PERLPATH=${perl5.bin} PERLDIR=${perl5.lib} 65 } 66 57 67 build.args AMCCONF=macports \ 58 68 BASEPATH=${prefix} \ 59 69 LATEX_FREE=1 \ 60 70 GCC_PP="${configure.cc} ${configure.cc_archflags}" 61 71 72 pre-destroot { 73 destroot.args-append PERLDIR=${perl5.lib} 74 } 75 62 76 destroot.args AMCCONF=macports \ 63 77 BASEPATH=${prefix} 64 78