sthen 8bc05a4642 switch from GH_TAGNAME to DISTNAME+MASTER_SITES to switch to the proper
uploaded release tarball rather than an on-the-fly generated file which is
subject to change.
2018-02-27 12:02:17 +00:00

44 lines
971 B
Makefile
Executable File

# $OpenBSD: Makefile,v 1.10 2018/02/27 12:02:17 sthen Exp $
COMMENT= 2D barcodes / DataMatrix creation tool
V= 0.3.0
DISTNAME= iec16022-$V
EXTRACT_SUFX= .tar.xz
REVISION= 1
SHARED_LIBS += iec16022 3.0 # unknown
CATEGORIES= graphics
HOMEPAGE= http://rdoeffinger.github.io/
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
WANTLIB = c iconv intl popt z
MASTER_SITES= https://github.com/rdoeffinger/iec16022/releases/download/v$V/
LIB_DEPENDS= devel/popt
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
AUTOCONF_VERSION= 2.69
AUTOMAKE_VERSION= 1.15
BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS} \
devel/libtool
post-patch:
cd ${WRKSRC}; AUTOCONF_VERSION=${AUTOCONF_VERSION} \
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} ./autogen.sh
pre-test:
sed -i 's,/bin/bash,/bin/sh,g' ${WRKSRC}/test/testsuite.sh
.include <bsd.port.mk>