# ex:ts=8
# New ports collection makefile for:	siconv
# Date created:			Mar 27, 2001
# Whom:				Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD: ports/converters/siconv/Makefile,v 1.5 2003/03/07 05:57:59 ade Exp $
#

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

LIB_DEPENDS=	iconv.3:${PORTSDIR}/converters/libiconv

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>
