Edit

IABSD.fr/ports/graphics/libqrencode/Makefile

Branch :

  • Show log

    Commit

  • Author : espie
    Date : 2023-09-26 11:39:01
    Hash : 8fd74949
    Message : MASTER_SITES -> SITES

  • graphics/libqrencode/Makefile
  • COMMENT=		library for encoding data in a QR Code symbol
    
    DISTNAME=		qrencode-4.1.1
    PKGNAME=		lib${DISTNAME}
    
    SHARED_LIBS +=  qrencode             2.1      # 4.0
    
    CATEGORIES=		graphics
    
    HOMEPAGE=		https://fukuchi.org/works/qrencode/
    
    # LGPLv2.1+
    PERMIT_PACKAGE=	Yes
    
    SITES=			https://fukuchi.org/works/qrencode/
    
    WANTLIB += c m png pthread z
    
    LIB_DEPENDS=		graphics/png
    
    # only needed for tests
    BUILD_DEPENDS=		converters/libiconv \
    			devel/sdl2
    
    CONFIGURE_STYLE=	gnu
    CONFIGURE_ARGS+=	--with-tools \
    			--with-tests
    CONFIGURE_ENV+=		LIBS=-pthread \
    			png_CFLAGS="`pkg-config --cflags libpng`" \
    			png_LIBS="`pkg-config --libs libpng`"
    
    do-test:
    	cd ${WRKSRC}/tests/ && ./test_all.sh
    
    .include <bsd.port.mk>