1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/graphics/libqrencode/Makefile
Vanilla I. Shu 073d1e7b5b 1: Upgrade to 3.4.4.
2: USES=libtool to drop .la
3: INSTALL_TARGET=install-strip.
2014-08-01 03:25:36 +00:00

37 lines
866 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= libqrencode
PORTVERSION= 3.4.4
CATEGORIES= graphics
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
LICENSE= LGPL21
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png
USES= pathfix pkgconfig libtool
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include
PLIST_FILES= bin/qrencode \
include/qrencode.h \
lib/libqrencode.so \
lib/libqrencode.so.3 \
lib/libqrencode.so.3.4.4 \
libdata/pkgconfig/libqrencode.pc \
man/man1/qrencode.1.gz
post-patch:
@${REINPLACE_CMD} -e 's,libpng12,libpng,' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '9s|$$| ${PTHREAD_LIBS}|' ${WRKSRC}/libqrencode.pc.in
.include <bsd.port.mk>