# Created by: Emanuel Haupt # $FreeBSD: head/graphics/iec16022/Makefile 445132 2017-07-06 09:56:13Z ehaupt $ PORTNAME= iec16022 PORTVERSION= 0.3.0 DISTVERSIONPREFIX= v CATEGORIES= graphics MAINTAINER= ehaupt@FreeBSD.org COMMENT= Create 2D barcodes, also known as DataMatrix LICENSE= GPLv2 LIB_DEPENDS= libpopt.so:devel/popt USE_GITHUB= yes GH_ACCOUNT= rdoeffinger GNU_CONFIGURE= yes USE_LDCONFIG= yes USES= autoreconf gmake libtool pathfix pkgconfig CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib -fPIC INSTALL_TARGET= install-strip post-patch: @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/iec16022.c \ ${WRKSRC}/iec16022ecc200.c ${WRKSRC}/reedsol.c ${WRKSRC}/image.c @${REINPLACE_CMD} -e '/-Wno-unused-result/d' ${WRKSRC}/Makefile.am .include