Changeset 77702 for trunk/dports
- Timestamp:
- Apr 9, 2011, 8:49:18 PM (13 years ago)
- Location:
- trunk/dports/devel
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/devel/dbus/Portfile
r77154 r77702 53 53 --enable-launchd \ 54 54 --with-launchd-agent-dir=${prefix}/Library/LaunchAgents 55 56 platform darwin { 57 startupitem.name dbus-system 58 } 55 59 56 60 pre-configure { -
trunk/dports/devel/libffi/Portfile
r76335 r77702 42 42 platform darwin 10 { 43 43 # ticket #21401 44 configure.compiler macports-gcc-4.6 44 45 patchfiles-append ppc_FDE_Encoding.diff 46 } 47 48 post-configure { 49 reinplace "s|includesdir = \$(libdir)/libffi-3.0.9/include|includesdir = \$(prefix)/include|" ${worksrcpath}/include/Makefile 45 50 } 46 51 -
trunk/dports/devel/lua-luahpdf/Portfile
r73269 r77702 3 3 4 4 name lua-luahpdf 5 version 0.15 version 1.0 6 6 categories devel 7 7 platforms darwin 8 8 maintainers and.damore openmaintainer 9 9 10 description 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 12 long_description LuaHPDF is a Lua module that lets you programmatically \ 13 create PDF files using Lua. It does this by binding to the Haru Free PDF \ 14 Library, an open-source library that manages the details of PDF generation. \ 15 15 With 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 16 include lines, text and graphics PNG and JPEG images compression encryption \ 17 Type1 and TrueType fonts various character sets outlines links 26 18 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 0feeb173ff7cce4d32112dedd3eb049fb98cd4de32 33 distname luahpdf-${version}34 19 depends_lib port:lua \ 35 20 port:libharu 36 21 37 patchfiles patch-Makefile.diff 22 homepage http://code.google.com/p/luahpdf/ 23 24 master_sites googlecode:luahpdf 25 26 checksums md5 4f4c6f6152202c9275a23bfab8cd8f1c \ 27 sha1 4d7a667deda9e185381026ef0d623b9572f64510 \ 28 rmd160 95a8ad3411974adf2e9c3107adf3391f4eb4ccc9 29 30 distname luahpdf-${version} 31 38 32 post-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 40 35 } 36 41 37 use_configure no 42 build.target main 38 39 use_parallel_build no 40 41 build.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 --- 8 5 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)" 14 17 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)" 20 30 21 31 doc : $(HTML) 22 @@ -38,7 +43,7 @@23 lib : $(LIB)24 32 25 $(LIB) : hpdf.c26 - 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 doc30 rm -fr $(PACKAGE) -
trunk/dports/devel/lua-xavante/Portfile
r57945 r77702 3 3 4 4 name lua-xavante 5 version 2. 0.15 version 2.2.1 6 6 categories devel www 7 7 maintainers and.damore openmaintainer … … 11 11 redirect handler and a WSAPI handler. Those are used for general files, \ 12 12 URI remapping and WSAPI applications respectively. 13 13 14 homepage http://www.keplerproject.org/xavante/ 14 15 platforms darwin 15 master_sites http ://luaforge.net/frs/download.php/396616 master_sites https://github.com/downloads/keplerproject/xavante 16 17 distname xavante-${version} 17 checksums md5 522f1423c76c737aa6fbdd079b1c19b6 \ 18 sha1 0dd9fda9a9cbc23892584c90efd137b0d045b979 \ 19 rmd160 0fa867d07cd2e82e5f50db69e52441c7cfc1d578 18 checksums md5 fbbb0655095bcd6b8345095f39470a1a \ 19 sha1 9b75b3750bc058eb8af115d081d56d76c67fa4dc \ 20 rmd160 75c2a41d3c333d7e05a221eec2f816431ee8b515 21 20 22 patchfiles patch-Makefile.diff \ 21 23 patch-config.diff … … 28 30 port:lua-luasocket \ 29 31 port:lua-luafilesystem 32 30 33 use_configure no 31 -
trunk/dports/devel/luarocks/Portfile
r77431 r77702 25 25 26 26 configure.args --with-lua=${prefix} \ 27 --rocks-tree=${prefix}/share/luarocks 28 # --force-config 27 --rocks-tree=${prefix}/share/${name} 28 29 patchfiles patch-src_luarocks_cfg.lua.diff 29 30 30 31 variant md5 conflicts openssl description { Use md5 as checker } {
Note: See TracChangeset
for help on using the changeset viewer.