aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libqrencode/Makefile
blob: f649299240ec2d1b57c2dc9521804f9e0ab7d5df (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
31
32
33
34
# ex:ts=8
# Ports collection makefile for:    libqrencode
# Date created:         Dec 14, 2006
# Whom:             ijliao
#
# $FreeBSD$
#

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

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

.include <bsd.port.mk>