Changeset 140267


Ignore:
Timestamp:
Sep 15, 2015, 5:24:57 PM (2 years ago)
Author:
devans@…
Message:

lua-luahpdf: switch to github repository and upgrade to git master for lua 5.3 compatibility, dependencies, configuration, increment revision.

Location:
trunk/dports/devel/lua-luahpdf
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/lua-luahpdf/Portfile

    r140266 r140267  
    22# $Id$
    33PortSystem          1.0
     4PortGroup           github 1.0
    45
     6github.setup        jung-kurt luahpdf c8b2677cba
    57name                lua-luahpdf
    68version             1.5
     9revision            1
    710license             MIT
    811categories          devel
     
    1821                    links.
    1922
    20 homepage            http://code.google.com/p/luahpdf/
    21 master_sites        http://luahpdf.googlecode.com/files/
    22 checksums           md5     7e16e4d6d962318aa39844de070dbead \
    23                     sha1    cf148468c54c32fae69e5038581a09d6f7403d48 \
    24                     rmd160  4754375932bf6da7772f3b3953066a6a5357de9a
     23checksums           rmd160  ee7d234de41de41b3c8de2e10a5cff3de920a817 \
     24                    sha256  2b01967287b83f9efd35d5a317b0838a609f55e07419f58aad74be7399bcc2ea
    2525
    26 distname            luahpdf-${version}
    2726depends_lib         port:lua \
    28                     port:libharu
     27                    port:libharu \
     28                    port:libpng \
     29                    port:zlib
    2930
    3031patchfiles          patch-Makefile.diff
    3132
    3233use_configure       no
     34
     35set lua_version     5.3
    3336
    3437build.args-append   CC=${configure.cc} \
     
    4043
    4144destroot.args-append \
     45                    MODDIR=${prefix}/lib/lua/${lua_version} \
    4246                    PREFIX=${prefix}
    4347
  • trunk/dports/devel/lua-luahpdf/files/patch-Makefile.diff

    r118205 r140267  
    1 --- Makefile.orig       2014-03-25 17:03:29.000000000 +0100
    2 +++ Makefile    2014-03-25 17:04:02.000000000 +0100
     1--- Makefile.orig       2015-03-12 16:23:05.000000000 -0700
     2+++ Makefile    2015-09-15 09:39:41.000000000 -0700
     3@@ -2,17 +2,17 @@
     4 # --- Change the settings below to suit your environment. See explanations in
     5 # --- the build documentation for more details. ---
     6 
     7-PREFIX=/usr/local
     8-MODDIR=$(PREFIX)/lib/lua/5.2
     9+#PREFIX=/usr/local
     10+#MODDIR=$(PREFIX)/lib/lua/5.2
     11 DOCDIR=$(PREFIX)/share/doc/luahpdf
     12-LUALIB=-llua5.2
     13-LUAINC=-I/usr/include/lua5.2
     14+LUALIB=-llua
     15+LUAINC=
     16 HPDFLIB=-lhpdf
     17 HPDFINC=
     18 LUA=lua
     19 LUAC=luac
     20-PLATFORM=linux
     21-# PLATFORM=macosx
     22+# PLATFORM=linux
     23+PLATFORM=macosx
     24 
     25 # --- End of user settings, no need to change anything below this line. ---
     26 
    327@@ -22,8 +22,8 @@
    428 linux_COMPILE=cc -DHPDF_SHARED $(LUAINC) $(HPDFINC) -Wall -O2 -fomit-frame-pointer -shared -fPIC -c -o $@ $<
     
    2145 test : $(TARGET)
    2246        $(LUA) -e "package.path=[[]] package.cpath=[[./?.so;./?.dll]] local hpdf = require [[hpdf]] print(hpdf.VERSION_TEXT)"
     47@@ -71,7 +71,7 @@
     48        install -m 0755 -d "$(DESTDIR)$(DOCDIR)"
     49        install -m 0755 -d "$(DESTDIR)$(DOCDIR)/text"
     50        install -m 0755 -d "$(DESTDIR)$(DOCDIR)/html"
     51-       install -m 0644 README doc/*.lua "$(DESTDIR)$(DOCDIR)"
     52+       install -m 0644 README.md doc/*.lua "$(DESTDIR)$(DOCDIR)"
     53        install -m 0644 doc/text/*.txt "$(DESTDIR)$(DOCDIR)/text"
     54        install -m 0644 doc/html/*.html doc/html/*.css doc/html/*.png "$(DESTDIR)$(DOCDIR)/html"
     55 
Note: See TracChangeset for help on using the changeset viewer.