diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2016-05-19 18:17:24 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2016-05-19 18:17:24 +0000 |
commit | 1ffb73a8cd673a057593ba92be647b28d490542b (patch) | |
tree | 3d09b3d22034e3bd9b79eabe2dc3b65842bdbacc /www/faup/Makefile | |
parent | 17a83d498d6a762d7afa8781e539f2465159c0cb (diff) | |
download | ports-1ffb73a8cd673a057593ba92be647b28d490542b.tar.gz ports-1ffb73a8cd673a057593ba92be647b28d490542b.zip |
Notes
Diffstat (limited to 'www/faup/Makefile')
-rw-r--r-- | www/faup/Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/www/faup/Makefile b/www/faup/Makefile index 82143d46668a..82c06446a83b 100644 --- a/www/faup/Makefile +++ b/www/faup/Makefile @@ -2,9 +2,10 @@ # $FreeBSD$ PORTNAME= faup -PORTVERSION= 1.4.20150118 +PORTVERSION= 1.5 +DISTVERSIONPREFIX= v CATEGORIES= www devel -MASTER_SITES= LOCAL/antoine +MASTER_SITES= GH LOCAL/antoine MAINTAINER= antoine@FreeBSD.org COMMENT= Fast URL decoder library @@ -16,7 +17,6 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USE_GITHUB= yes GH_ACCOUNT= stricaud -GH_TAGNAME= af9e5db USES= cmake:outsource lua USE_LDCONFIG= yes @@ -27,10 +27,11 @@ PORTDOCS= * OPTIONS_DEFINE= DOCS post-patch: - @${REINPLACE_CMD} -e "s/5.1/${LUA_VER}/g" -e \ - "s/51/${LUA_VER_STR}/g" ${WRKSRC}/cmake/FindLua51.cmake - @${REINPLACE_CMD} -e "s/LUA51_FOUND/LUA${LUA_VER_STR}_FOUND/g" \ - ${WRKSRC}/CMakeLists.txt ${WRKSRC}/src/lib/CMakeLists.txt \ + @${REINPLACE_CMD} "s,LUA_VERSION,LUA_VERSION_STRING, ; \ + s,pkg_check_modules(LUA lua>=5.1),FIND_PACKAGE(Lua REQUIRED), ; \ + s,LUA_INCLUDE_DIRS,LUA_INCLUDE_DIR," \ + ${WRKSRC}/CMakeLists.txt \ + ${WRKSRC}/src/lib/CMakeLists.txt \ ${WRKSRC}/src/tools/CMakeLists.txt post-install: |