sthen b454abc552 uodate to iec16022-0.3.1
patch away use of -Wl,--no-undefined, sadly this is broken with OpenBSD's
toolchain for functions in libc
2022-06-11 09:34:24 +00:00

35 lines
722 B
Makefile
Executable File

COMMENT= 2D barcodes / DataMatrix creation tool
V= 0.3.1
DISTNAME= iec16022-$V
EXTRACT_SUFX= .tar.xz
SHARED_LIBS += iec16022 3.0 # unknown
CATEGORIES= graphics
HOMEPAGE= http://rdoeffinger.github.io/
MAINTAINER= Stuart Henderson <stu.ports@spacehopper.org>
# GPLv2+
PERMIT_PACKAGE= Yes
WANTLIB = c iconv intl popt z
MASTER_SITES= https://github.com/rdoeffinger/iec16022/releases/download/v$V/
LIB_DEPENDS= devel/popt
CONFIGURE_STYLE=autoreconf
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
AUTOCONF_VERSION= 2.69
AUTOMAKE_VERSION= 1.15
AUTORECONF= ./autogen.sh
pre-test:
sed -i 's,/bin/bash,/bin/sh,g' ${WRKSRC}/test/testsuite.sh
.include <bsd.port.mk>