naddy ebf751b927 Update gettext to 0.20.1.
Follow the upstream recommendations for packagers and switch to
multi-packages:
devel/gettext       -> devel/gettext,-runtime
devel/gettext-tools -> devel/gettext,-tools
(new)                  devel/gettext,-textstyle
2019-05-20 22:15:00 +00:00

28 lines
547 B
Makefile

# $OpenBSD: Makefile,v 1.15 2019/05/20 22:15:12 naddy Exp $
COMMENT= convert text strings to printed bars
DISTNAME= barcode-0.99
CATEGORIES= graphics
REVISION= 1
# GPLv3+
PERMIT_PACKAGE_CDROM= Yes
WANTLIB = c iconv intl m paper
MASTER_SITES= ${MASTER_SITE_GNU:=barcode/}
LIB_DEPENDS= devel/gettext,-runtime \
print/libpaper
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
ac_cv_func_calloc_0_nonnull=yes
post-install:
rm ${PREFIX}/bin/sample
.include <bsd.port.mk>