mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
a6d5e870b4
Obtained from: pav@
31 lines
692 B
Makefile
31 lines
692 B
Makefile
# New ports collection makefile for: lua-iconv
|
|
# Date created: 04 Dec 2009
|
|
# Whom: vanilla@
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= iconv
|
|
PORTVERSION= 6
|
|
CATEGORIES= converters
|
|
MASTER_SITES= http://luaforge.net/frs/download.php/4181/
|
|
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= vanilla@FreeBSD.org
|
|
COMMENT= Iconv binding for Lua 5
|
|
|
|
WRKSRC= ${WRKDIR}/lua-${PORTNAME}-${PORTVERSION}
|
|
USE_LUA?= 5.1
|
|
USE_GNOME= pkgconfig
|
|
USE_ICONV= yes
|
|
|
|
PLIST_FILES= %%LUA_MODLIBDIR%%/iconv.so
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%INCDIR%%|-I${PREFIX}/include|;s|%%LIBDIR%%|-L${PREFIX}/lib|' ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/iconv.so ${LUA_MODLIBDIR}
|
|
|
|
.include <bsd.port.mk>
|