blob: 2bc39255fbff26cfa1edd3238c2e483814d364c7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# 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>
|