mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
073d1e7b5b
2: USES=libtool to drop .la 3: INSTALL_TARGET=install-strip.
37 lines
866 B
Makefile
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>
|