mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
1: Update to 3.9.0
2: add LICENSE_FILE. 3: switch to github.
This commit is contained in:
parent
0f1750e469
commit
4bb7f98537
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=435212
@ -2,36 +2,35 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libqrencode
|
||||
PORTVERSION= 3.4.4
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 3.9.0
|
||||
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
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
LIB_DEPENDS= libpng.so:graphics/png
|
||||
|
||||
USES= pathfix pkgconfig libtool
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= fukuchi
|
||||
GH_TAGNAME= e3410bf
|
||||
|
||||
USES= cmake iconv pathfix pkgconfig
|
||||
USE_LDCONFIG= yes
|
||||
GNU_CONFIGURE= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
|
||||
CMAKE_ARGS= -DBUILD_SHARED_LIBS=ON
|
||||
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|$$| -lpthread|' ${WRKSRC}/libqrencode.pc.in
|
||||
@${SED} -i -e 's|share\/man\/man1|man\/man1|' \
|
||||
${WRKSRC}/CMakeLists.txt
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,3 @@
|
||||
SHA256 (qrencode-3.4.4.tar.gz) = e794e26a96019013c0e3665cb06b18992668f352c5553d0a553f5d144f7f2a72
|
||||
SIZE (qrencode-3.4.4.tar.gz) = 468788
|
||||
TIMESTAMP = 1488428047
|
||||
SHA256 (qrencode-3.9.0_GH0.tar.gz) = 732ecb203b498107b3c6bac1a978a9a88e1eaacf04ae831712193623f9914fde
|
||||
SIZE (qrencode-3.9.0_GH0.tar.gz) = 182687
|
||||
|
Loading…
Reference in New Issue
Block a user