svn commit: r331207 - in head/devel/lutok: . files

Alan Somers asomers at FreeBSD.org
Mon Oct 21 23:10:51 UTC 2013


Author: asomers (src committer)
Date: Mon Oct 21 23:10:50 2013
New Revision: 331207
URL: http://svnweb.freebsd.org/changeset/ports/331207

Log:
  Update to version 0.3.  Don't create the empty directory /usr/tests/lutok.
  
  PR:		183088
  Submitted by:	Julio Merino <julio at meroh.net>
  Reviewed by:	asomers
  Approved by:	bdrewery

Deleted:
  head/devel/lutok/files/
Modified:
  head/devel/lutok/Makefile
  head/devel/lutok/distinfo
  head/devel/lutok/pkg-plist

Modified: head/devel/lutok/Makefile
==============================================================================
--- head/devel/lutok/Makefile	Mon Oct 21 23:09:11 2013	(r331206)
+++ head/devel/lutok/Makefile	Mon Oct 21 23:10:50 2013	(r331207)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	lutok
-PORTVERSION=	0.2
+PORTVERSION=	0.3
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 
@@ -29,6 +29,12 @@ CONFIGURE_ARGS+=	--without-doxygen
 # TODO: install the tests, once FreeBSD has a system for ports to install tests
 CONFIGURE_ARGS+=	--without-atf
 
+# Force the use of the lua version we have chosen via USE_LUA.  If we allow
+# lutok's configure script search for one using pkgconfig files, it might pick
+# a different version.
+CONFIGURE_ARGS+=	LUA_CFLAGS="-I${LUA_INCDIR}"
+CONFIGURE_ARGS+=	LUA_LIBS="-L${LUA_LIBDIR} -llua -lm"
+
 MAKE_FLAGS+=	examplesdir=${EXAMPLESDIR}
 .if ! ${PORT_OPTIONS:MDOCS}
 MAKE_FLAGS+=	doc_DATA=
@@ -40,7 +46,7 @@ MAKE_FLAGS+=	examples_DATA=
 PORTDOCS=	AUTHORS COPYING NEWS README html
 PORTEXAMPLES=	Makefile bindings.cpp hello.cpp interpreter.cpp raii.cpp
 
-PLIST_SUBST+=	TESTS="@comment "
+PLIST_SUB+=	TESTS="@comment "
 
 post-patch: .SILENT
 	@${REINPLACE_CMD} -e 's|@pkgconfigdir@|${PREFIX}/libdata/pkgconfig|' \

Modified: head/devel/lutok/distinfo
==============================================================================
--- head/devel/lutok/distinfo	Mon Oct 21 23:09:11 2013	(r331206)
+++ head/devel/lutok/distinfo	Mon Oct 21 23:10:50 2013	(r331207)
@@ -1,2 +1,2 @@
-SHA256 (lutok-0.2.tar.gz) = df6f175fdd417ff830ec46509816a40b92fec816de726e815b4ae4f7fea405bd
-SIZE (lutok-0.2.tar.gz) = 492333
+SHA256 (lutok-0.3.tar.gz) = 32d8e823432560dae3606094f1203cfab0f23c889440cc7b92a1739a68c2369e
+SIZE (lutok-0.3.tar.gz) = 523296

Modified: head/devel/lutok/pkg-plist
==============================================================================
--- head/devel/lutok/pkg-plist	Mon Oct 21 23:09:11 2013	(r331206)
+++ head/devel/lutok/pkg-plist	Mon Oct 21 23:10:50 2013	(r331207)
@@ -9,9 +9,9 @@ include/lutok/test_utils.hpp
 lib/liblutok.a
 lib/liblutok.la
 lib/liblutok.so
-lib/liblutok.so.1
+lib/liblutok.so.2
 libdata/pkgconfig/lutok.pc
- at exec mkdir -p %D/tests/lutok
- at dirrm tests/lutok
- at dirrmtry tests
+%%TESTS%%@exec mkdir -p %D/tests/lutok
+%%TESTS%%@dirrm tests/lutok
+%%TESTS%%@dirrmtry tests
 @dirrm include/lutok


More information about the svn-ports-all mailing list