freebsd-ports/graphics/libqrencode/Makefile

35 lines
815 B
Makefile
Raw Normal View History

2013-03-09 12:30:29 +01:00
# Created by: ijliao
# $FreeBSD$
PORTNAME= libqrencode
2013-08-13 13:38:53 +02:00
PORTVERSION= 3.4.3
2012-10-16 16:03:02 +02:00
PORTREVISION= 0
CATEGORIES= graphics
2011-11-30 15:01:42 +01:00
MASTER_SITES= http://fukuchi.org/works/qrencode/
DISTNAME= qrencode-${PORTVERSION}
MAINTAINER= vanilla@FreeBSD.org
COMMENT= C library for encoding data in a QR Code symbol
2012-06-01 07:26:28 +02:00
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
2013-04-23 12:47:02 +02:00
USES= pathfix pkgconfig
2012-10-16 16:03:02 +02:00
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include
PLIST_FILES= bin/qrencode \
include/qrencode.h \
2009-06-10 05:41:56 +02:00
lib/libqrencode.la \
lib/libqrencode.so \
lib/libqrencode.so.3 \
2013-09-24 18:38:37 +02:00
libdata/pkgconfig/libqrencode.pc \
man/man1/qrencode.1.gz
2010-03-29 05:15:59 +02:00
post-patch:
@${REINPLACE_CMD} -e 's,libpng12,libpng,' ${WRKSRC}/configure
2012-04-06 18:26:27 +02:00
@${REINPLACE_CMD} -e '9s|$$| ${PTHREAD_LIBS}|' ${WRKSRC}/libqrencode.pc.in
2010-03-29 05:15:59 +02:00
.include <bsd.port.mk>