Changeset View
Changeset View
Standalone View
Standalone View
textproc/qr/Makefile
PORTNAME= qr | PORTNAME= qr | ||||
DISTVERSION= g20200216 | DISTVERSION= g20200216 | ||||
CATEGORIES= textproc graphics | CATEGORIES= textproc graphics | ||||
MAINTAINER= lcook@FreeBSD.org | MAINTAINER= lcook@FreeBSD.org | ||||
COMMENT= Generate textual QR codes using terminal | COMMENT= Generate textual QR codes using terminal | ||||
LICENSE= UNLICENSE | LICENSE= UNLICENSE | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE | LICENSE_FILE= ${WRKSRC}/LICENSE | ||||
LIB_DEPENDS= libqrencode.so:graphics/libqrencode | LIB_DEPENDS= libqrencode.so:graphics/libqrencode | ||||
TEST_DEPENDS= ${LOCALBASE}/share/fonts/freefont-ttf/FreeMono.ttf:x11-fonts/freefont-ttf \ | TEST_DEPENDS= ${LOCALBASE}/share/fonts/freefont-ttf/FreeMono.ttf:x11-fonts/freefont-ttf \ | ||||
autom4te:devel/autoconf \ | autom4te:devel/autoconf \ | ||||
convert:graphics/ImageMagick6 \ | |||||
zbarimg:graphics/zbar | zbarimg:graphics/zbar | ||||
USES= gmake | USES= gmake magick:6,test | ||||
USE_CSTD= c99 | USE_CSTD= c99 | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= Y2Z | GH_ACCOUNT= Y2Z | ||||
GH_TAGNAME= 20713de | GH_TAGNAME= 20713de | ||||
MAKE_ARGS= LIBS="-I${LOCALBASE}/include -L${LOCALBASE}/lib -lqrencode -lm" | MAKE_ARGS= LIBS="-I${LOCALBASE}/include -L${LOCALBASE}/lib -lqrencode -lm" | ||||
TEST_TARGET= test | TEST_TARGET= test | ||||
PLIST_FILES= bin/${PORTNAME} | PLIST_FILES= bin/${PORTNAME} | ||||
post-install: | post-install: | ||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} | ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |