# Created by: Richard Kiss # $FreeBSD$ PORTNAME= lua PORTVERSION= 5.1.5 PORTREVISION= 6 CATEGORIES= lang MASTER_SITES= http://www.lua.org/ftp/ \ ftp://ftp.ntua.gr/pub/lang/lua/ \ ftp://ftp.gwdg.de/pub/languages/lua/ MAINTAINER= lua@FreeBSD.org COMMENT= Small, compilable scripting language providing easy access to C code LICENSE= MIT PORTSCOUT= limit:^5\.1 PATCH_WRKSRC= ${WRKSRC}/src USE_LUA= 5.1 LUA_COMPS= # only define variables ALL_TARGET= freebsd USES= pkgconfig USE_LDCONFIG= yes MAKE_ENV= LUA_SONAME="liblua-${LUA_VER}.so.${LUA_VER_SH}" # Overriding __MAKE_CONF makes sure that we don't re-parse # /etc/make.conf during do-build, which would jeopardize the build # if, for instance, the user set CFLAGS=mumble # NOTE: /etc/make.conf is read BEFORE Makefile, so we already # have its settings when we get here. # See http://wiki.freebsd.org/MatthiasAndree/LuaLessonsLearnt MAKE_ARGS= __MAKE_CONF=${NONEXISTENT} # liblua.so requires libm, so make sure it has an explicit dependency # so that applications need not second-guess lua's dependencies. LDFLAGS+= -lm -pthread MAN1= lua-${LUA_VER}.1 luac-${LUA_VER}.1 DOCSDIR= ${PREFIX}/share/doc/${LUA_SUBDIR} PORTDOCS= * LATEST_LINK= ${LUA_SUBDIR} LUA_BIN= lua luac LUA_INC= lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp LUA_ETC= Makefile README all.c lua.ico luavs.bat min.c \ noparser.c strict.lua LUA_TEST= README bisect.lua cf.lua echo.lua env.lua factorial.lua \ fib.lua fibfor.lua globals.lua hello.lua life.lua luac.lua \ printf.lua readonly.lua sieve.lua sort.lua table.lua \ trace-calls.lua trace-globals.lua xd.lua .include .if ${ARCH} == "amd64" || ${ARCH} == "powerpc" CFLAGS+= -fPIC .endif post-patch: @${REINPLACE_CMD} -Ee \ '/^INSTALL_.*=/s/INSTALL_TOP/prefix/ ; \ s|^(CC\|AR\|RANLIB)=|\1?=| ; \ /^CFLAGS=/ { s/=/+=/; s/-O2//; } ; \ s|/usr/local|${PREFIX}|' \ ${WRKSRC}/Makefile ${WRKSRC}/src/Makefile @${REINPLACE_CMD} -i '' -Ee \ 's|^(prefix=).*|\1 ${PREFIX}| ; \ s|^(libdir=).*|\1 ${LUA_LIBDIR}| ; \ s|^(includedir=).*|\1 ${LUA_INCDIR}| ; \ s|^(INSTALL_BIN=).*|\1 ${LUA_BINDIR}| ; \ s|^(INSTALL_INC=).*|\1 ${LUA_INCDIR}| ; \ s|^(INSTALL_LIB=).*|\1 ${LUA_LIBDIR}| ; \ s|^(INSTALL_CMOD=).*|\1 ${LUA_MODLIBDIR}| ; \ s|^(INSTALL_LMOD=).*|\1 ${LUA_MODSHAREDIR}|' \ ${WRKSRC}/etc/lua.pc @${REINPLACE_CMD} -e 's,rand *(,random(,g' \ ${WRKSRC}/src/lmathlib.c @${REINPLACE_CMD} -e '/LUA_ROOT/s|/usr/local|${PREFIX}|' \ ${WRKSRC}/src/luaconf.h post-build: @${RM} -f ${WRKSRC}/test/lua ${WRKSRC}/test/luac do-install: # Programs. ${MKDIR} ${STAGEDIR}${LUA_BINDIR} .for f in ${LUA_BIN} ${INSTALL_PROGRAM} ${WRKSRC}/src/${f} ${STAGEDIR}${LUA_BINDIR} ${LN} -sf ${LUA_SUBDIR}/${f} ${STAGEDIR}${PREFIX}/bin/${f}-${LUA_VER} .endfor # Include files. ${MKDIR} ${STAGEDIR}${LUA_INCDIR} .for f in ${LUA_INC} ${INSTALL_DATA} ${WRKSRC}/src/${f} ${STAGEDIR}${LUA_INCDIR} .endfor # Libraries. ${MKDIR} ${STAGEDIR}${LUA_LIBDIR} ${INSTALL_DATA} ${WRKSRC}/src/liblua.a ${STAGEDIR}${LUA_LIBDIR} ${INSTALL_PROGRAM} ${WRKSRC}/src/liblua.so \ ${STAGEDIR}${LUA_LIBDIR}/liblua-${LUA_VER}.so.${LUA_VER_SH} @${LN} -sf liblua-${LUA_VER}.so.${LUA_VER_SH} ${STAGEDIR}${LUA_LIBDIR}/liblua.so @${LN} -sf ${LUA_SUBDIR}/liblua-${LUA_VER}.so.${LUA_VER_SH} \ ${STAGEDIR}${PREFIX}/lib @${LN} -sf liblua-${LUA_VER}.so.${LUA_VER_SH} \ ${STAGEDIR}${PREFIX}/lib/liblua-${LUA_VER}.so # Manual pages. .for f in ${LUA_MAN} ${INSTALL_MAN} ${WRKSRC}/doc/${f} \ ${STAGEDIR}${PREFIX}/man/man1/${f:C/.1$//}-${LUA_VER}.1 .endfor # Documentation. ${MKDIR} ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR}/etc ${MKDIR} ${STAGEDIR}${DOCSDIR}/test ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html *.gif ${STAGEDIR}${DOCSDIR} .for f in ${LUA_ETC} ${INSTALL_DATA} ${WRKSRC}/etc/${f} ${STAGEDIR}${DOCSDIR}/etc .endfor .for f in ${LUA_TEST} ${INSTALL_DATA} ${WRKSRC}/test/${f} ${STAGEDIR}${DOCSDIR}/test .endfor # lua.pc ${INSTALL_DATA} ${WRKSRC}/etc/lua.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/lua-${LUA_VER}.pc # Module directories. ${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR} ${MKDIR} ${STAGEDIR}${LUA_MODSHAREDIR} .include ption> FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/palm
Commit message (Expand)AuthorAgeFilesLines
* - fix small typos in COMMENTeadler2011-11-151-1/+1
* Mark as broken on powerpc: does not compile.linimon2011-11-111-0/+4
* - Remove WITH_FBSD10_FIX, is no longer neededmiwi2011-11-091-1/+0
* Standardize WWW: tags a bit more:dougb2011-11-071-1/+2
* - Fix build on FreeBSD 10miwi2011-10-301-0/+1
* The vast majority of pkg-descr files had the following format when theydougb2011-10-241-3/+0
* Remove more tags from pkg-descr files fo the form:dougb2011-10-243-11/+1
* - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)amdmi32011-09-248-13/+8
* 2012-09-20 www/ruby-http-access: Deprecated upstream, please use www/rubygem-...bapt2011-09-2221-2607/+0
* - Track dependencies after databases/gdbm updategabor2011-09-121-2/+2
* Chase libnotify, libproxy and webkit-gtk2 shlib changes, and fix build where ...kwm2011-08-242-2/+13
* Remove USE_GNOME=gnometarget from ports. It has been a empty keyword sincekwm2011-08-126-6/+5
* - Adjust WWW line with link to new author's sitefluffy2011-08-041-1/+1
* Deprecate some ports where I can't find distfiles and upstreambapt2011-08-032-0/+6
* Now that the Java 1.3 and Java 1.4 ports are deprecated and will expire soon,linimon2011-07-212-2/+2
* - kick MD5miwi2011-07-021-1/+0
* - Update to 1.8.1pav2011-06-234-15/+16
* Remove unmaintain expired ports from palmbapt2011-05-0222-1047/+0
* Remove most expired ports:rene2011-04-196-60/+0
* - Mark BROKEN: does not compilepav2011-03-271-0/+2
* - Get Rid MD5 supportmiwi2011-03-1938-42/+0
* - Mark ports that have been broken for six month or more, or never compiled onpav2011-03-171-11/+5
* Deprecate unmaintained ports from palm where upstream disapear and/orbapt2011-03-144-0/+12
* Add -I${LOCALBASE}/include to CFLAGS. [1] Sort pkg-plist.gerald2011-01-263-12/+11
* Reset ijliao@FreeBSD.org due to maintainer-timeouts and long absence.linimon2010-12-285-7/+4
* Use the $SRC_BASE Makevar instead of hard-coding.linimon2010-12-171-2/+2
* Sync to new bsd.autotools.mkade2010-12-044-4/+4
* Convert LDCONFIG_DIRS to USE_LDCONFIG.makc2010-06-091-3/+1
* Bounce PORTREVISION for gettext-related ports. Have fun, ya'll.ade2010-05-316-6/+6
* Presenting GNOME 2.30.1 for FreeBSD. The offical release notes for thiskwm2010-05-111-2/+2
* - fix option WITH_PNGdinoex2010-03-301-0/+6
* - update to 1.4.1dinoex2010-03-2812-11/+12
* - Chase x11-toolkits/fltk updategahr2010-03-241-1/+1
* Plugin for JPilot (jpilot.org) to download pictures, photos and videos fromamdmi32010-03-194-0/+50
* - Add backup mirror (looks like project site is down)miwi2010-03-101-1/+1
* - Update to 0.12.5miwi2010-03-102-4/+4
* - update to jpeg-8dinoex2010-02-0510-7/+10
* - Convert to DOCSDIRmiwi2010-02-032-4/+4
* - Remove unneeded dependencies which is in perl-5.8.9 distkuriyama2010-01-261-2/+1
* - Fix sorting and minor cleanups in category Makefilesamdmi32010-01-201-1/+1
* - remove broken/expired ports@ portspgollucci2010-01-1818-919/+0
* - Convert NOMANCOMPRESS to NO_MANCOMPRESS to sync with srcmiwi2009-12-291-1/+1
* For ports maintained by ports@FreeBSD.org, remove names and/ordougb2009-12-215-9/+1
* This port has been broken for 3+ months, thuspav2009-12-081-0/+2
* Presenting GNOME 2.28.1 for FreeBSD. The official release notes for thismarcus2009-11-293-4/+7
* - Fix build on 6.xavl2009-10-171-2/+2
* - Remove the patch which is required for upcoming GNOME 2.28 onlyavl2009-10-121-76/+0
* - Update to 0.14avl2009-10-122-6/+6
* - Update to 0.3avl2009-10-123-6/+93
* - Update to 0.14avl2009-10-122-5/+6
* - Forgot to include bsd.port.pre.mk and bsd.port.post.mk.avl2009-10-121-1/+3
* - Fix .if conditionavl2009-10-121-1/+1
* - Update to 0.14avl2009-10-124-13/+41
* - Update to 0.14avl2009-10-122-4/+4
* - Update to 0.14avl2009-10-127-34/+40
* - Update to 0.14avl2009-10-122-4/+4
* - Fix build with custom PREFIXavl2009-10-121-1/+1
* - Fix build with custom PREFIXavl2009-10-121-1/+1
* - Update to 0.12.4amdmi32009-09-094-15/+20
* - Update to 0.44.1fluffy2009-09-032-6/+6
* - Switch SourceForge ports to the new File Release System: categories startin...amdmi32009-08-2214-24/+14
* Mark BROKEN: does not build.erwin2009-08-031-0/+1
* -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.mezz2009-08-034-4/+4
* - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-319-2/+9
* - Update boost to 1.39pav2009-07-281-1/+1
* - Disable optimizations, they cause segfaults on runtimepav2009-07-281-2/+2
* - Mark BROKEN on amd64/8pav2009-07-261-0/+1
* - Update to 1.6.2amdmi32009-07-102-4/+4
* - Unbreak on -current.wxs2009-07-091-6/+27
* Change MAINTAINER on my ports to my FreeBSD email addressavl2009-05-295-5/+5
* Mark BROKEN on 8.x: does not build.erwin2009-05-271-0/+4
* - Reset maintainermiwi2009-05-053-3/+3
* - Add patch to fix functionality on FreeBSD 7.xamdmi32009-04-222-1/+16
* - Fix build on CURRENT with new USB stackamdmi32009-04-021-0/+15
* - Fix indexmiwi2009-04-011-0/+1
* - Allow to build with MAKE_JOBS_SAFEmiwi2009-04-013-3/+8
* - Fix build with new USB2miwi2009-03-261-0/+2
* - Update to 0.13miwi2009-03-212-5/+4
* - Update to 0.13miwi2009-03-212-4/+4
* - Update to 0.13.1miwi2009-03-213-16/+4
* - Update to 0.13miwi2009-03-212-5/+4
* - Update to 0.13.1miwi2009-03-212-5/+9
* - Chase libusb20 rename in r189585.stas2009-03-102-2/+7
* Update to 2.0.17.marcus2009-03-015-9/+8
* - Update to 5.1.0r3tabthorpe2009-03-012-5/+20
* - Old MASTER_SITES are dead, switch to newer oneswxs2009-02-253-18/+7
* - Update to 0.2.2miwi2009-02-203-24/+4
* - Pass maintainership to submittertabthorpe2009-02-133-3/+3
* 2009-01-19 games/emacs-chess: has been broken for more than 6 monthsmiwi2009-02-047-128/+0
* - Use GNOME macro instead of ${MASTER_SITE_GNOME}, removearaujo2009-02-021-2/+1
* - Update to 0.2.1amdmi32009-01-154-5/+30
* - Update to 0.13.amdmi32009-01-158-236/+18
* - Remove conditional checks for FreeBSD 5.x and olderpav2009-01-071-3/+0
* - Update to 1.6.1amdmi32009-01-033-13/+7
* - Set for expiration in one month: has been broken for more than 6 monthspav2008-12-201-0/+2
* 2008-10-19 x11-wm/flwm: Project is dead, and uses obsolete version of fltkmiwi2008-12-0814-236/+0
* - Update to 0.12.3pav2008-12-044-24/+27
* - Remove py-wbxml from run-time dependencies listmiwi2008-11-231-1/+1
* - Update to 1.6.0miwi2008-11-095-25/+18
* - Speedup build phase.miwi2008-10-152-3/+7
* - Speedup build phase.miwi2008-10-152-3/+7
* Fix CATEGORIES in slave palm/py-synce-librapi2 and palm/py-synce-librra.miwi2008-10-122-2/+2
* SynCE is a project for connecting to devices running Windows CE or Pocket PC.miwi2008-10-056-0/+240
* - Fix manpage installmiwi2008-09-111-2/+2
* Fix an obvious typo.linimon2008-09-081-1/+1
* SynCE is a project for connecting to devices running Windows CE or Pocket PC.miwi2008-09-085-0/+41
* SynCE is a project for connecting to devices running Windows CE or Pocket PC.miwi2008-09-085-0/+40
* - Fixes issues with incorrectly handledmiwi2008-09-081-3/+4
* - Remove empty filespav2008-08-261-0/+0
* Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.rafan2008-08-213-3/+0
* Conversion from (now defunct) autoconf-2.61 to autoconf-2.62ade2008-08-201-1/+1
* - Update to 0.12miwi2008-08-209-556/+80
* - Connect synce-gvfs to the buildmiwi2008-08-181-0/+1
* - Update to 0.1miwi2008-08-18