# ex:ts=8
# Ports collection makefile for:	libqrencode
# Date created:			Dec 14, 2006
# Whom:				ijliao
#
# $FreeBSD: ports/graphics/libqrencode/Makefile,v 1.9 2008/01/26 01:12:48 vanilla Exp $
#

PORTNAME=	libqrencode
PORTVERSION=	2.0.0
PORTREVISION=	0
CATEGORIES=	graphics
MASTER_SITES=	http://megaui.net/fukuchi/works/qrencode/
DISTNAME=	qrencode-${PORTVERSION}

MAINTAINER=	ijliao@FreeBSD.org
COMMENT=	A C library for encoding data in a QR Code symbol

LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png

USE_GETOPT_LONG=	yes
USE_GNOME=	gnometarget gnomehack pkgconfig
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib"
CFLAGS+=	-I${LOCALBASE}/include
USE_LDCONFIG=	yes

MAN1=		qrencode.1

PLIST_FILES=	bin/qrencode \
		include/qrencode.h \
		lib/libqrencode.so \
		lib/libqrencode.so.2 \
		libdata/pkgconfig/libqrencode.pc

.include <bsd.port.mk>
