freebsd-ports/graphics/libqrencode/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

39 lines
833 B
Makefile

# ex:ts=8
# Ports collection makefile for: libqrencode
# Date created: Dec 14, 2006
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= libqrencode
PORTVERSION= 3.1.1
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://megaui.net/fukuchi/works/qrencode/
DISTNAME= qrencode-${PORTVERSION}
MAINTAINER= vanilla@FreeBSD.org
COMMENT= A C library for encoding data in a QR Code symbol
LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png
USE_GNOME= gnomehack pkgconfig
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include
USE_LDCONFIG= yes
MAN1= qrencode.1
PLIST_FILES= bin/qrencode \
include/qrencode.h \
lib/libqrencode.la \
lib/libqrencode.so \
lib/libqrencode.so.3 \
libdata/pkgconfig/libqrencode.pc
post-patch:
@${REINPLACE_CMD} -e 's,libpng12,libpng,' ${WRKSRC}/configure
.include <bsd.port.mk>