Changeset 77702 for trunk/dports


Ignore:
Timestamp:
Apr 9, 2011, 8:49:18 PM (13 years ago)
Author:
and.damore@…
Message:

luarocks: added patchfile, removed unneeded commented configure option

Location:
trunk/dports/devel
Files:
2 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/dbus/Portfile

    r77154 r77702  
    5353                --enable-launchd \
    5454                --with-launchd-agent-dir=${prefix}/Library/LaunchAgents
     55
     56platform darwin {
     57        startupitem.name                        dbus-system
     58}
    5559
    5660pre-configure {
  • trunk/dports/devel/libffi/Portfile

    r76335 r77702  
    4242platform darwin 10 {
    4343    # ticket #21401
     44    configure.compiler  macports-gcc-4.6
    4445    patchfiles-append ppc_FDE_Encoding.diff
     46}
     47
     48post-configure {
     49    reinplace "s|includesdir = \$(libdir)/libffi-3.0.9/include|includesdir = \$(prefix)/include|" ${worksrcpath}/include/Makefile
    4550}
    4651
  • trunk/dports/devel/lua-luahpdf/Portfile

    r73269 r77702  
    33
    44name                lua-luahpdf
    5 version             0.1
     5version             1.0
    66categories          devel
    77platforms           darwin
    88maintainers         and.damore openmaintainer
     9
    910description         Lua module that lets you programmatically create PDF files
    10 long_description    \
    11 LuaHPDF is a Lua module that lets you programmatically create PDF files using \
    12 Lua. It does this by binding to the Haru Free PDF Library, an open-source \
    13 library that manages the details of PDF generation. \
    14  \
     11
     12long_description    LuaHPDF is a Lua module that lets you programmatically \
     13create PDF files using Lua. It does this by binding to the Haru Free PDF \
     14Library, an open-source library that manages the details of PDF generation. \
    1515With this module, you can write Lua programs that will produce PDF files that \
    16 include \
    17  \
    18 lines, text and graphics \
    19 PNG and JPEG images \
    20 compression \
    21 encryption \
    22 Type1 and TrueType fonts \
    23 various character sets \
    24 outlines \
    25 links
     16include lines, text and graphics PNG and JPEG images compression encryption \
     17Type1 and TrueType fonts various character sets outlines links
    2618
    27 homepage            http://www.keplerproject.org/copas/
    28 master_sites        http://luaforge.net/frs/download.php/2145/
    29 checksums           md5     5f6aba6532837f5255176cc41c89358a \
    30                     sha1    184549f019254980f473d8da2b337069a6f197bf \
    31                     rmd160  0feeb173ff7cce4d32112dedd3eb049fb98cd4de
    32 
    33 distname            luahpdf-${version}
    3419depends_lib         port:lua \
    3520                                        port:libharu
    3621
    37 patchfiles          patch-Makefile.diff
     22homepage            http://code.google.com/p/luahpdf/
     23
     24master_sites        googlecode:luahpdf
     25
     26checksums           md5     4f4c6f6152202c9275a23bfab8cd8f1c \
     27                    sha1    4d7a667deda9e185381026ef0d623b9572f64510 \
     28                    rmd160  95a8ad3411974adf2e9c3107adf3391f4eb4ccc9
     29
     30distname            luahpdf-${version}
     31
    3832post-patch {
    39    reinplace "s|^PREFIX.*\$|PREFIX=${prefix}|" ${worksrcpath}/Makefile
     33   reinplace "s|PREFIX=/usr/local|PREFIX=${prefix}|" ${worksrcpath}/Makefile
     34   reinplace "s|cc -ansi -DHPDF_SHARED -pedantic -Wall -O2|cc -ansi -DHPDF_SHARED -pedantic -Wall -O2 \$(CFLAGS) \$(LDFLAGS)|" ${worksrcpath}/Makefile
    4035}
     36
    4137use_configure       no
    42 build.target        main
     38
     39use_parallel_build  no
     40
     41build.env           CFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib
  • trunk/dports/devel/lua-luahpdf/files/patch-Makefile.diff

    r73269 r77702  
    1 --- Makefile.orig       2010-11-08 14:02:26.000000000 +0100
    2 +++ Makefile    2010-11-08 14:02:42.000000000 +0100
    3 @@ -4,6 +4,7 @@
    4  LIB = hpdf.so
    5  TAR = $(PACKAGE).tar.gz
    6  ZIP = $(PACKAGE).zip
    7 +PREFIX=/.
     1--- Makefile.orig       2010-11-10 15:01:35.000000000 +0100
     2+++ Makefile    2010-11-10 15:04:19.000000000 +0100
     3@@ -1,7 +1,8 @@
     4 # --- Change the settings below to suit your environment ---
    85 
    9  PDF = \
    10         demo/arc_demo.pdf \
    11 @@ -29,6 +30,10 @@
    12         doc/html/index.html \
    13         doc/html/license.html
     6-PREFIX=/usr
     7-DOCDIR=/usr/local/share/doc/luahpdf
     8+PREFIX=/usr/local
     9+LIBDIR=$(PREFIX)/lib/lua/5.1
     10+DOCDIR=$(PREFIX)/share/doc/luahpdf
     11 LUALIB=-llua
     12 LUAINC=
     13 HPDFLIB=-lhpdf
     14@@ -44,13 +45,13 @@
     15 test : $(TARGET)
     16        @lua -e "package.path=\"\" package.cpath=\"./?.so;./?.dll\" require \"hpdf\" print(hpdf.VERSION_TEXT)"
    1417 
    15 +install : main
    16 +       mkdir -p "$(DESTDIR)$(PREFIX)/lib/lua/5.1"
    17 +       cp hpdf.so $(DESTDIR)$(PREFIX)/lib/lua/5.1
    18 +
    19  main : lib
     18-all : test doc demo
     19+all : $(TARGET) doc
     20 
     21 install : $(TARGET) doc
     22-       install -m 0755 -d "$(DESTDIR)$(PREFIX)/lib/lua/5.1"
     23-       install -m 0755 $(TARGET) "$(DESTDIR)$(PREFIX)/lib/lua/5.1"
     24-       install -m 0755 -d "$(DESTDIR)$(DOCDIR)"
     25-       install -m 0644 doc/html/*.html doc/html/*.css doc/html/*.png "$(DESTDIR)$(DOCDIR)"
     26+       install -m 0755 -d "$(DESTDIR)$(LIBDIR)"
     27+       install -m 0755 $(TARGET) "$(DESTDIR)$(LIBDIR)"
     28+       install -m 0755 -d "$(DESTDIR)$(DOCDIR)"
     29+       install -m 0644 doc/html/*.html doc/html/*.css doc/html/*.png "$(DESTDIR)$(DOCDIR)"
    2030 
    2131 doc : $(HTML)
    22 @@ -38,7 +43,7 @@
    23  lib : $(LIB)
    2432 
    25  $(LIB) : hpdf.c
    26 -       cc -DHPDF_SHARED -ansi -pedantic -Wall -O2 -o $@ -shared -l hpdf $<
    27 +       cc -DHPDF_SHARED -ansi -pedantic -Wall -O2 -o $@ -shared -l hpdf -l lua $<
    28  
    29  package : clean doc
    30         rm -fr $(PACKAGE)
  • trunk/dports/devel/lua-xavante/Portfile

    r57945 r77702  
    33
    44name                lua-xavante
    5 version             2.0.1
     5version             2.2.1
    66categories          devel www
    77maintainers         and.damore openmaintainer
     
    1111                                        redirect handler and a WSAPI handler. Those are used for general files, \
    1212                                        URI remapping and WSAPI applications respectively.
     13
    1314homepage            http://www.keplerproject.org/xavante/
    1415platforms           darwin
    15 master_sites        http://luaforge.net/frs/download.php/3966               
     16master_sites        https://github.com/downloads/keplerproject/xavante
    1617distname            xavante-${version}
    17 checksums           md5     522f1423c76c737aa6fbdd079b1c19b6 \
    18                     sha1    0dd9fda9a9cbc23892584c90efd137b0d045b979 \
    19                     rmd160  0fa867d07cd2e82e5f50db69e52441c7cfc1d578
     18checksums           md5     fbbb0655095bcd6b8345095f39470a1a \
     19                    sha1    9b75b3750bc058eb8af115d081d56d76c67fa4dc \
     20                    rmd160  75c2a41d3c333d7e05a221eec2f816431ee8b515
     21
    2022patchfiles          patch-Makefile.diff \
    2123                                        patch-config.diff
     
    2830                                        port:lua-luasocket \
    2931                                        port:lua-luafilesystem
     32
    3033use_configure           no
    31 
  • trunk/dports/devel/luarocks/Portfile

    r77431 r77702  
    2525
    2626configure.args      --with-lua=${prefix} \
    27                     --rocks-tree=${prefix}/share/luarocks
    28 #                    --force-config
     27                    --rocks-tree=${prefix}/share/${name}
     28
     29patchfiles          patch-src_luarocks_cfg.lua.diff
    2930
    3031variant md5 conflicts openssl description { Use md5 as checker } {
Note: See TracChangeset for help on using the changeset viewer.