Date: Fri, 10 Jan 2014 08:22:53 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r339320 - head/lang/lua52 Message-ID: <201401100822.s0A8MrTt095961@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Fri Jan 10 08:22:53 2014 New Revision: 339320 URL: http://svnweb.freebsd.org/changeset/ports/339320 Log: Add a .pc file to lua52 PR: ports/180786 Submitted by: jmmv Modified: head/lang/lua52/Makefile head/lang/lua52/pkg-plist Modified: head/lang/lua52/Makefile ============================================================================== --- head/lang/lua52/Makefile Fri Jan 10 08:12:49 2014 (r339319) +++ head/lang/lua52/Makefile Fri Jan 10 08:22:53 2014 (r339320) @@ -3,6 +3,7 @@ PORTNAME= lua PORTVERSION= 5.2.3 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= http://www.lua.org/ftp/ PKGNAMESUFFIX= 52 @@ -15,6 +16,8 @@ LICENSE= MIT LUA_VER= 5.2 USES= pkgconfig readline USE_LDCONFIG= yes +SUB_FILES= lua-${LUA_VER}.pc +SUB_LIST= LUA_VERSION=${PORTVERSION} # Overriding __MAKE_CONF makes sure that we don't re-parse # /etc/make.conf during do-build, which would jeopardize the build @@ -53,6 +56,8 @@ post-patch: ${WRKSRC}/src/luaconf.h post-install: + @${MV} ${WRKDIR}/lua-${LUA_VER}.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblua-${LUA_VER}.so @${MV} ${STAGEDIR}${PREFIX}/man/man1/lua.1 \ ${STAGEDIR}${PREFIX}/man/man1/lua52.1 @${MV} ${STAGEDIR}${PREFIX}/man/man1/luac.1 \ Modified: head/lang/lua52/pkg-plist ============================================================================== --- head/lang/lua52/pkg-plist Fri Jan 10 08:12:49 2014 (r339319) +++ head/lang/lua52/pkg-plist Fri Jan 10 08:22:53 2014 (r339320) @@ -7,6 +7,7 @@ include/lua52/luaconf.h include/lua52/lualib.h lib/liblua-5.2.a lib/liblua-5.2.so +libdata/pkgconfig/lua-5.2.pc man/man1/lua52.1.gz man/man1/luac52.1.gz @dirrmtry %%DATADIR%%/5.2
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401100822.s0A8MrTt095961>