2013-03-09 12:30:29 +01:00
|
|
|
# Created by: ijliao
|
2006-12-14 03:53:29 +01:00
|
|
|
# $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
|
2006-12-14 03:53:29 +01:00
|
|
|
CATEGORIES= graphics
|
2011-11-30 15:01:42 +01:00
|
|
|
MASTER_SITES= http://fukuchi.org/works/qrencode/
|
2006-12-14 03:53:29 +01:00
|
|
|
DISTNAME= qrencode-${PORTVERSION}
|
|
|
|
|
2008-05-01 15:28:50 +02:00
|
|
|
MAINTAINER= vanilla@FreeBSD.org
|
2014-06-13 09:36:27 +02:00
|
|
|
COMMENT= C library for encoding data in a QR Code symbol
|
2006-12-14 03:53:29 +01:00
|
|
|
|
2012-06-01 07:26:28 +02:00
|
|
|
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
|
2006-12-14 03:53:29 +01:00
|
|
|
|
2013-04-23 12:47:02 +02:00
|
|
|
USES= pathfix pkgconfig
|
2012-10-16 16:03:02 +02:00
|
|
|
USE_LDCONFIG= yes
|
2006-12-14 03:53:29 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2006-12-14 03:53:29 +01:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
|
|
|
|
PLIST_FILES= bin/qrencode \
|
|
|
|
include/qrencode.h \
|
2009-06-10 05:41:56 +02:00
|
|
|
lib/libqrencode.la \
|
2006-12-14 03:53:29 +01:00
|
|
|
lib/libqrencode.so \
|
2008-05-01 15:28:50 +02:00
|
|
|
lib/libqrencode.so.3 \
|
2013-09-24 18:38:37 +02:00
|
|
|
libdata/pkgconfig/libqrencode.pc \
|
|
|
|
man/man1/qrencode.1.gz
|
2006-12-14 03:53:29 +01:00
|
|
|
|
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
|
|
|
|
2006-12-14 03:53:29 +01:00
|
|
|
.include <bsd.port.mk>
|