mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
e5688543b0
lang/gcc5 will expire in ~1 month. If someone still uses lang/gcc48 they should backport C++11 fix instead. QA on GCC architecuters is currently limited to powerpc64 which uses GCC_DEFAULT. PR: 193528
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# Created by: Yuri Victorovich <yuri@rawbw.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= hiptext
|
|
PORTVERSION= 0.0.s20160621
|
|
PORTREVISION= 12
|
|
CATEGORIES= graphics
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Tool for rendering images and videos inside terminals
|
|
|
|
LICENSE= NONE
|
|
|
|
BUILD_DEPENDS= ragel:devel/ragel
|
|
LIB_DEPENDS= libgflags.so:devel/gflags \
|
|
libglog.so:devel/glog \
|
|
libpng.so:graphics/png \
|
|
libswscale.so:multimedia/ffmpeg \
|
|
libfreetype.so:print/freetype2
|
|
TEST_DEPENDS= googletest>=1.7.0:devel/googletest
|
|
RUN_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= jart
|
|
GH_TAGNAME= f89b44f
|
|
|
|
USES= compiler:c++11-lib gmake jpeg localbase
|
|
CPPFLAGS+= -I${LOCALBASE}/include/freetype2
|
|
MAKE_ENV= GTEST_DIR="${LOCALBASE}" \
|
|
TARGET_ARCH=""
|
|
TEST_TARGET= check
|
|
|
|
PLIST_FILES= bin/hiptext
|
|
|
|
post-extract:
|
|
@${RM} -r ${WRKSRC}/gtest
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|"DejaVuSansMono.ttf"|"${LOCALBASE}/share/fonts/dejavu/DejaVuSansMono.ttf"|' \
|
|
${WRKSRC}/font.cc
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/hiptext ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|