freebsd-ports/graphics/ebsynth/Makefile
Jan Beich e1d56a9db2 Drop dependency on devel/openmp
- Drop if devel/llvm* was used as a substitute

Approved by:	yuri, rene (earlier version)
Differential Revision:	https://reviews.freebsd.org/D23020
2020-03-08 21:56:36 +00:00

29 lines
632 B
Makefile

# $FreeBSD$
PORTNAME= ebsynth
PORTVERSION= 0.0.0.20190510
PORTREVISION= 1
CATEGORIES= graphics
MAINTAINER= FreeBSD@ShaneWare.biz
COMMENT= Example-based Image Synthesis and Style Transfer
LICENSE= PD
USES= compiler:c++11-lang
USE_GITHUB= yes
GH_ACCOUNT= jamriska
GH_TAGNAME= 2f5c97c0c21a
PLIST_FILES= bin/ebsynth
do-build:
@(cd ${BUILD_WRKSRC} && ${CXX} src/ebsynth.cpp \
src/ebsynth_cpu.cpp src/ebsynth_nocuda.cpp \
-DNDEBUG -O3 -fopenmp -Iinclude -I${LOCALBASE}/include \
-L${LOCALBASE}/lib -std=c++11 -o ebsynth)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ebsynth ${STAGEDIR}${LOCALBASE}/bin
.include <bsd.port.mk>