blob: ba624e954171b47e92100fbc755fa73d361a7b3e (
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
|
# $FreeBSD$
PORTNAME= ebsynth
PORTVERSION= 0.0.0.20190510
CATEGORIES= graphics
MAINTAINER= FreeBSD@ShaneWare.biz
COMMENT= Example-based Image Synthesis and Style Transfer
LICENSE= PD
LIB_DEPENDS= libomp.so:devel/openmp
USES= compiler:c++11-lang localbase
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>
|