blob: 90f10314f1e2c8f0a3c96533cdc41870fd0c4c3e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
PORTNAME= qr
DISTVERSION= g20200216
CATEGORIES= textproc graphics
MAINTAINER= lcook@FreeBSD.org
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>
|