Ticket #21303: Portfile-awesome.diff
File Portfile-awesome.diff, 2.7 KB (added by macports.org@…, 15 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 6 6 name awesome 7 version 2.08 revision 27 version 3.3.4 8 revision 1 9 9 categories x11 x11-wm 10 10 maintainers milosh openmaintainer 11 11 platforms darwin … … 22 22 lua integration, no 9P support, no editable tagbars, no limits on its\ 23 23 source size, key, script and mouse bindings, etc. 24 24 25 homepage http://awesome.naquadah.org /26 master_sites ${homepage} download/27 checksums md5 b3 e245bd9b8c05b759cc0acbec9f6a29\28 sha1 7a3257e7a76f9d77bd59558aa8393f2bed50057f\29 rmd160 3a3a7014a11915f316bfce9ce5a2a606a057363a25 homepage http://awesome.naquadah.org 26 master_sites ${homepage}/download/ 27 checksums md5 b38075c1a2fc6668ed733508f1a4e56e \ 28 sha1 2038a00cf26d894004acfa533ca0a30401a7cb15 \ 29 rmd160 bbafb20b14968c563e79e5419f877beb26b36b5e 30 30 31 31 depends_build \ 32 port:pkgconfig 32 port:cairo \ 33 port:cmake \ 34 port:ImageMagick \ 35 port:startup-notification \ 36 port:libxdg-basedir \ 37 port:imlib2 \ 38 port:libev 33 39 34 40 depends_lib \ 35 port:xorg-libXext\36 port:Xft2 \37 port:xorg-libXinerama\38 port:xorg-libXrandr\39 path:lib/pkgconfig/cairo.pc:cairo\40 port:libconfuse 41 port:lua \ 42 port:glib2 \ 43 port:pango \ 44 port:xcb \ 45 port:xorg-libxcb \ 46 port:xorg-randrproto 41 47 42 patchfiles patch-config.mk.diff patch-Makefile.diff 43 post-patch { 44 reinplace "s|/opt/local|${prefix}|" ${worksrcpath}/config.mk 45 reinplace "s|CFLAGS =|CFLAGS = \$(UNIV_FLAGS)|" ${worksrcpath}/config.mk 46 reinplace "s|LDFLAGS =|LDFLAGS = \$(UNIV_FLAGS)|" ${worksrcpath}/config.mk 47 } 48 build.target-append \ 49 CMAKE_ARGS="\ 50 -DCMAKE_INSTALL_PREFIX=${prefix} \ 51 -DPREFIX=${prefix} \ 52 -DAWESOME_DOC_PATH=${prefix}/share/doc/awesome \ 53 -DAWESOME_MAN_PATH=${prefix}/share/man \ 54 -DAWESOME_XSESSION_PATH=${prefix}/share/xsessions \ 55 -DSYSCONFDIR=${prefix}/etc \ 56 -DXDG_CONFIG_HOME=${prefix}/etc/xdg" 48 57 58 patchfiles patch-CMakeLists.txt.diff 59 49 60 use_configure no 50 61 51 62 variant doc description {Build man pages} { 52 depends_build port:asciidoc port:xmlto 53 destroot.target install install-man 54 build.target all man 63 depends_build \ 64 port:asciidoc \ 65 port:xmlto \ 66 port:doxygen 55 67 } 56 68 57 variant universal { 58 build.target-append UNIV_FLAGS="${configure.universal_cflags}" 59 } 69 variant x11_xcb description {does nothing in this port, but its presence triggers cairo x11_xcb variant} {} 70 71 default_variants +x11_xcb 72