1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/converters/lua-iconv/Makefile
Tijl Coosemans 6ead27eb95 Remove libiconv.so.3 compatibility link that was added in r374303 to
prevent massive PORTREVISION bumps.  Bump dependent ports that have not
been bumped since.
2016-12-08 19:23:24 +00:00

32 lines
722 B
Makefile

# Created by: vanilla@
# $FreeBSD$
PORTNAME= iconv
PORTVERSION= 7
PORTREVISION= 1
CATEGORIES= converters
MASTER_SITES= GHC
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
DISTNAME= lua-${PORTNAME}-${PORTVERSION}
MAINTAINER= vanilla@FreeBSD.org
COMMENT= Iconv binding for Lua 5
USES= pkgconfig iconv lua
USE_GITHUB= yes
GH_ACCOUNT= ittner
GH_PROJECT= lua-${PORTNAME}
PLIST_FILES= %%LUA_MODLIBDIR%%/iconv.so
CFLAGS+= `pkgconf --cflags lua-${LUA_VER}` -I${LOCALBASE}/include
MAKE_ARGS= LUABIN=${LUA_CMD} CFLAGS="${CFLAGS}"
LDFLAGS= -shared ${ICONV_LIB} -L${LOCALBASE}/lib
CFLAGS_amd64= -fPIC
do-install:
@${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR}
${INSTALL_LIB} ${WRKSRC}/iconv.so ${STAGEDIR}${LUA_MODLIBDIR}
.include <bsd.port.mk>