# ex:ts=8
# New ports collection makefile for:	siconv
# Date created:			Mar 27, 2001
# Whom:				Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	siconv
PORTVERSION=	0.2
PORTREVISION=	1
CATEGORIES=	converters
MASTER_SITES=	http://www.technocage.com/~caskey/siconv/download/

MAINTAINER=	ijliao@FreeBSD.org
COMMENT=	Convert data from one character set to another

USE_ICONV=	yes
PLIST_FILES=	bin/siconv

do-build:
	${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib -o ${WRKSRC}/siconv ${WRKSRC}/siconv.c -liconv

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/siconv ${PREFIX}/bin

.include <bsd.port.mk>