mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
61cfa1c26b
sqrt() is only defined since C99: /tmp/ccn0UwwD.o:(.text+0x1cc): undefined reference to `sqrt' MFH: 2020Q3 (fix build blanket)
34 lines
731 B
Makefile
34 lines
731 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= qr
|
|
DISTVERSION= g20200216
|
|
CATEGORIES= textproc graphics
|
|
|
|
MAINTAINER= vulcan@wired.sh
|
|
COMMENT= Generate textual QR codes using terminal
|
|
|
|
LICENSE= UNLICENSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libqrencode.so:graphics/libqrencode
|
|
TEST_DEPENDS= ${LOCALBASE}/share/fonts/freefont-ttf/FreeMono.ttf:x11-fonts/freefont-ttf \
|
|
autom4te:devel/autoconf \
|
|
convert:graphics/ImageMagick6 \
|
|
zbarimg:graphics/zbar
|
|
|
|
USES= gmake
|
|
USE_CSTD= c99
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= Y2Z
|
|
GH_TAGNAME= 20713de
|
|
|
|
MAKE_ARGS= LIBS="-I${LOCALBASE}/include -L${LOCALBASE}/lib -lqrencode -lm"
|
|
TEST_TARGET= test
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|